ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Abdu's profile - activity

2019-11-29 13:30:20 -0500 commented question ur modern driver ur5 PolyScope 3.10

did you make it work ? I am at the same step now, I can link ur5 with moveit but still have issue with the controller. I

2019-07-24 15:29:23 -0500 commented question How do I attach a Barrett Hand to a UR5 arm?

have you got what you want?

2019-05-20 02:03:37 -0500 marked best answer arbotix_ros can not detect servos via arbotix-m controller

Hi all I am using ros indigo and ubuntu 14.04. I have Phantomx Pincher arm connected to the computer via FTDI USB cable.

I clone arbotix_ros and I did catkin_make properly.

BUT I can not detect my servos (dynamixel ax-12a) thru arbotix-m, I am getting the following output,

anyone can help me please ??

I even tried arbotix_gui I got the window but the servos don't move.

    imr@IMR-PC:~$ sudo chmod 777 /dev/ttyUSB0    
    [sudo] password for imr: 
     imr@IMR-PC:~$ arbotix_terminal
     ArbotiX Terminal --- Version 0.1
    Copyright 2011 Vanadium Labs LLC
        >>  ls
    .... .... .... .... .... .... .... .... .... 
    .... .... .... .... .... .... .... .... .... 
    >>  ls
    .... .... .... .... .... .... .... .... ....
    .... .... .... .... .... .... .... .... ....
2019-05-20 01:52:32 -0500 marked best answer Difficulties in visual tracking in Ros-by-example book

Hi Rossers

I am stack over the flow, I need help plz, I don't know where I am mistaken.

I have Phantomx pincher robotic arm (with 5 dynamixel 12ax servos) connected with arbotix-m board, I am using ros indigo.

I am following this ros-by-example tutorial and this repo. In order to control the first servo (id = 1) based on the motion of coloured object that should be detected by webcam. I want the servo's id 1 rotate when the object is not in the centre of x-axis. For now, I want to get one servo rotating first, then I will consider y-axis for another servo.

The tutorial explains how to control the motion of the pan and tilt head servos. I am trying to consider the pan servo with my first servo.

I did the following :-

1- To get the video stream and detect the object based on colour and send the topic /roi which contains object's position.

roslaunch rbx1_vision usb_cam.launch
roslaunch rbx1_vision camshift.launch

2- To fire up the arbotix-m,

roslaunch rbx1_dynamixels arbotix.launch

I can also see the arm in rviz, and I can move the servo (id 1) individually rostopic pub -1 /head_pan_joint/command std_msgs/Float64 -- 1.0, it moves in rviz as well, it means there's real connection with the actual arm.

3- To launch the head tracking node (which should be my first servo tracking node, since I consider the pan_head_joint is my servo id 1). This video shows the demo for the tutorial work.

roslaunch rbx1_dynamixels head_tracker.launch

I got this out put

[INFO] [WallTime: 1508448519.996313] Waiting for joint controllers services...

When I run rostopic info /head_pan_joint/command I can see head_pan_joint is already ok.

imr@IMR-PC:~$ rostopic info /head_pan_joint/command 
Type: std_msgs/Float64

Publishers: 
 * /head_tracker (http://localhost:38610/)

Subscribers: 
 * /arbotix (http://localhost:41637/)

And my first servo is not moving, I do not know where I am mistaken, what to check with the third step as I mentioned above, I guess there's some thing wrong there. Please tell me !!

2019-05-06 09:03:21 -0500 commented question UR5 visual servoing

@reallllljy watch this video you can notice they attach a camera at the end of the arm, you can use normal webcam with u

2019-05-05 19:26:07 -0500 commented question UR5 visual servoing

@reallllljy I am not sure what do u mean, but I simply placed it at the end-effector of the manipulator.

2019-03-01 12:37:56 -0500 marked best answer How to use ViSP example for visual servoing ?

Hi ROSSER

I have been struggling for a while with this issue,

I want to do visual servoing with real UR5 arm, I can control UR5 with ur_modern_driver properly and I can use visp_auto_tracker to detect the QR-code and publish the pose. Until now, everything works fine with ROS indigo.

I prepared a ROS node that can subscribe to the published pose, but I do not know how to use PBVS or IBVS (ViSPexamples) ???, and then publish the velocity to the UR5 driver ???. I can run this PBVS-example alone (which can calculate the errors and camera velocity) but I don't know how to feed it with my real QR-code. I also spent time with pioneer-example, but this is only for mobile robot, I couldn't use it for UR5 arm. I mean, it gives linear and angular velocity, but I need the position and orientation for the end-effector of the UR5.

The part the I am stuck is, I don't know how to feed PBVS-example with my real QR-code (see below) in order to calculate camera velocity based on my real input.

Thanks in advance

This is my ROS node

//c++ example to subscribe to an QR-code's pose that is published by visp_auto_tracker

#include <vector>

#include "ros/ros.h"
#include "geometry_msgs/PoseStamped.h"

std::vector<geometry_msgs::PoseStamped::ConstPtr> poses;

void handle_poses(const geometry_msgs::PoseStamped::ConstPtr& msg)
{
  ROS_INFO_STREAM("Position X " << msg->pose.position.x);
  ROS_INFO_STREAM("Position Y: " << msg->pose.position.y);
      ROS_INFO_STREAM("Position Z: " << msg->pose.position.z);

  ROS_INFO_STREAM("Orientation X: " << msg->pose.orientation.x);
  ROS_INFO_STREAM("Orientation Y: " << msg->pose.orientation.y);
  ROS_INFO_STREAM("Orientation Z: " << msg->pose.orientation.z);
  ROS_INFO_STREAM("Orientation W: " << msg->pose.orientation.w);
  // Use the msg object here to access the pose elements,
  // like msg->pose.pose.position.x
  poses.push_back(msg);
}

int main(int argc, char **argv)
{
  ros::init(argc, argv, "listenerccp");

  ros::NodeHandle n;

  ros::Subscriber sub = n.subscribe("/visp_auto_tracker/object_position",
    1000, handle_poses);

  ros::spin();

  return 0;
} '
2018-12-05 15:16:02 -0500 marked best answer Suddenly get catkin_make error

I am new in ROS, I am using ros kinetic and ubuntu 16.04, I am working with kinect v2, I was trying to install ORK

then I got error when I did catkin_make, now I already delete what I installed but I am still getting same error with catkin_make,

any one can help me please ?

abdulrahman@abdulrahman-ThinkPad-X230-Tablet:~/catkin_ws$ catkin_makeBase path: /home/abdulrahman/catkin_ws
Source space: /home/abdulrahman/catkin_ws/src
Build space: /home/abdulrahman/catkin_ws/build
Devel space: /home/abdulrahman/catkin_ws/devel
Install space: /home/abdulrahman/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/abdulrahman/catkin_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/abdulrahman/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/abdulrahman/catkin_ws/devel;/opt/ros/kinetic
-- This workspace overlays: /home/abdulrahman/catkin_ws/devel;/opt/ros/kinetic
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/abdulrahman/catkin_ws/build/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.6
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 17 packages in topological order:
-- ~~  - camera_umd (metapackage)
-- ~~  - freenect_launch
-- ~~  - freenect_stack
-- ~~  - iai_kinect2 (metapackage)
-- ~~  - openni2_launch
-- ~~  - kinect2_registration
-- ~~  - jpeg_streamer
-- ~~  - openni_launch
-- ~~  - freenect_camera
-- ~~  - openni_camera
-- ~~  - find_object_2d
-- ~~  - kinect2_bridge
-- ~~  - kinect2_calibration
-- ~~  - kinect2_viewer
-- ~~  - denso_gui
-- ~~  - usb_cam
-- ~~  - uvc_camera
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin metapackage: 'camera_umd'
-- ==> add_subdirectory(camera_umd-master/camera_umd)
-- +++ processing catkin package: 'freenect_launch'
-- ==> add_subdirectory(freenect_stack/freenect_launch)
-- +++ processing catkin package: 'freenect_stack'
-- ==> add_subdirectory(freenect_stack/freenect_stack)
-- +++ processing catkin metapackage: 'iai_kinect2'
-- ==> add_subdirectory(iai_kinect2/iai_kinect2)
-- +++ processing catkin package: 'openni2_launch'
-- ==> add_subdirectory(openni2_launch)
-- +++ processing catkin package: 'kinect2_registration'
-- ==> add_subdirectory(iai_kinect2/kinect2_registration)
CMake Error at /home/abdulrahman/catkin_ws/devel/share/rosconsole/cmake/rosconsoleConfig.cmake:106 (message):
  Project 'rosconsole' specifies
  '/home/abdulrahman/catkin_ws/src/ros_comm/tools/rosconsole/include' as an
  include dir, which is not found.  It does neither exist as an absolute
  directory nor in
  '/home/abdulrahman/catkin_ws/src/ros_comm/tools/rosconsole//home/abdulrahman/catkin_ws/src/ros_comm/tools/rosconsole/include'.
  Ask the maintainer 'Dirk Thomas <dthomas@osrfoundation.org>' to fix it.
Call Stack (most recent call first):
  /opt/ros/kinetic/share/roscpp/cmake/roscppConfig.cmake:165 (find_package)
  /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package)
  iai_kinect2/kinect2_registration/CMakeLists.txt:25 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/abdulrahman/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/abdulrahman/catkin_ws/build/CMakeFiles/CMakeError.log".
Makefile:13926: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
abdulrahman@abdulrahman-ThinkPad-X230-Tablet:~/catkin_ws$

Edit:

abdulrahman@abdulrahman-ThinkPad-X230-Tablet:~/catkin_ws$ catkin_make Base path: /home/abdulrahman/catkin_ws Source space: /home/abdulrahman/catkin_ws/src Build space: /home/abdulrahman/catkin_ws/build Devel space: /home/abdulrahman/catkin_ws/devel Install space: /home/abdulrahman/catkin_ws/install ####

Running command: "cmake /home/abdulrahman/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/abdulrahman/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/abdulrahman/catkin_ws/install -G Unix Makefiles" in "/home/abdulrahman/catkin_ws/build"

#### -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler ... (more)

2018-10-04 23:03:28 -0500 received badge  Favorite Question (source)
2018-09-12 09:29:55 -0500 answered a question ImportError: No module named moveit_commander

I am on indigo I also got ImportError: No module named moveit_commander I solved by sudo apt-get install ros

2018-09-10 01:21:55 -0500 received badge  Taxonomist
2018-07-10 10:02:50 -0500 received badge  Nice Answer (source)
2018-07-09 13:56:41 -0500 marked best answer catkin_make erorr, I have removed some un-used files then I got trouble with catkin_make any one can help me plz

abdulrahman@abdulrahman-ThinkPad-X230-Tablet:~/catkin_ws$ catkin_make Base path: /home/abdulrahman/catkin_ws Source space: /home/abdulrahman/catkin_ws/src Build space: /home/abdulrahman/catkin_ws/build Devel space: /home/abdulrahman/catkin_ws/devel Install space: /home/abdulrahman/catkin_ws/install ####

Running command: "cmake /home/abdulrahman/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/abdulrahman/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/abdulrahman/catkin_ws/install -G Unix Makefiles" in "/home/abdulrahman/catkin_ws/build"

#### -- Using CATKIN_DEVEL_PREFIX: /home/abdulrahman/catkin_ws/devel -- Using CMAKE_PREFIX_PATH: /opt/ros/kinetic -- This workspace overlays: /opt/ros/kinetic -- Using PYTHON_EXECUTABLE: /usr/bin/python -- Using Debian Python package layout -- Using empy: /usr/bin/empy -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /home/abdulrahman/catkin_ws/build/test_results -- Found gtest sources under '/usr/src/gtest': gtests will be built -- Using Python nosetests: /usr/bin/nosetests-2.7 -- catkin 0.7.6 -- BUILD_SHARED_LIBS is on -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- ~~ traversing 22 packages in topological order: -- ~~ - camera_umd (metapackage) -- ~~ - freenect_launch -- ~~ - freenect_stack -- ~~ - iai_kinect2 (metapackage) -- ~~ - image_common (metapackage) -- ~~ - openni2_launch -- ~~ - camera_calibration_parsers -- ~~ - kinect2_registration -- ~~ - image_transport -- ~~ - camera_info_manager -- ~~ - jpeg_streamer -- ~~ - openni_launch -- ~~ - polled_camera -- ~~ - freenect_camera -- ~~ - openni_camera -- ~~ - find_object_2d -- ~~ - kinect2_bridge -- ~~ - kinect2_calibration -- ~~ - kinect2_viewer -- ~~ - denso_gui -- ~~ - usb_cam -- ~~ - uvc_camera -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- +++ processing catkin metapackage: 'camera_umd' -- ==> add_subdirectory(camera_umd-master/camera_umd) -- +++ processing catkin package: 'freenect_launch' -- ==> add_subdirectory(freenect_stack/freenect_launch) -- +++ processing catkin package: 'freenect_stack' -- ==> add_subdirectory(freenect_stack/freenect_stack) -- +++ processing catkin metapackage: 'iai_kinect2' -- ==> add_subdirectory(iai_kinect2/iai_kinect2) -- +++ processing catkin metapackage: 'image_common' -- ==> add_subdirectory(image_common/image_common) -- +++ processing catkin package: 'openni2_launch' -- ==> add_subdirectory(openni2_launch) -- +++ processing catkin package: 'camera_calibration_parsers' -- ==> add_subdirectory(image_common/camera_calibration_parsers) -- Boost version: 1.58.0 -- Found the following Boost libraries: -- filesystem -- python -- system -- +++ processing catkin package: 'kinect2_registration' -- ==> add_subdirectory(iai_kinect2/kinect2_registration) -- Could NOT find OpenCL (missing: OpenCL_LIBRARY OpenCL_INCLUDE_DIR) -- CPU based depth registration enabled -- OpenCL based depth registration disabled -- +++ processing catkin package: 'image_transport' -- ==> add_subdirectory(image_common/image_transport) -- Boost version: 1.58.0 -- +++ processing catkin package: 'camera_info_manager' -- ==> add_subdirectory(image_common/camera_info_manager) -- Boost version: 1.58.0 -- +++ processing catkin package: 'jpeg_streamer' -- ==> add_subdirectory(camera_umd-master/jpeg_streamer) -- Boost version: 1.58.0 -- Found the following Boost libraries: -- system -- thread -- chrono -- date_time -- atomic -- +++ processing catkin package: 'openni_launch' -- ==> add_subdirectory(openni_launch) -- +++ processing catkin package: 'polled_camera' -- ==> add_subdirectory(image_common/polled_camera) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- polled_camera: 0 messages, 1 services -- +++ processing catkin package: 'freenect_camera' -- ==> add_subdirectory(freenect_stack/freenect_camera) CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package): Could not find a package configuration file provided by "diagnostic_updater" with any of the following names:

diagnostic_updaterConfig.cmake
diagnostic_updater-config.cmake

Add the installation prefix of "diagnostic_updater" to CMAKE_PREFIX_PATH or set "diagnostic_updater_DIR" to a directory containing one of the above files. If "diagnostic_updater" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): freenect_stack/freenect_camera/CMakeLists.txt:3 (find_package)

-- Could not find the required component 'diagnostic_updater'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found. CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package): Could not find a package configuration file provided by "diagnostic_updater" with any of the following names:

diagnostic_updaterConfig.cmake
diagnostic_updater-config.cmake

Add the installation prefix of "diagnostic_updater" to CMAKE_PREFIX_PATH or set "diagnostic_updater_DIR" to a directory containing one of the above files. If "diagnostic_updater" provides a separate development package or SDK, be ... (more)

2018-07-09 13:55:51 -0500 received badge  Famous Question (source)
2018-07-09 13:17:27 -0500 received badge  Teacher (source)
2018-07-09 11:05:07 -0500 edited answer Finding Forward and Inverse Kinematics of Manipulator

Hey Basically, Kinematics explain the motion representation of the joint frame of the manipulator without considering

2018-07-09 11:03:53 -0500 edited answer Finding Forward and Inverse Kinematics of Manipulator

Hey Basically, Kinematics explain the motion representation of the joint frame of the manipulator without considering

2018-07-09 11:03:28 -0500 answered a question Finding Forward and Inverse Kinematics of Manipulator

Hey Basically, Kinematics explain the motion representation of the joint frame of the manipulator without considering

2018-06-29 16:42:44 -0500 commented answer rqt rqt_graph rqt_plot does't work Segmentation fault (core dumped)

I tried your solution on ubuntu 16 with ors kinetic, but the issue still there

2018-06-05 08:44:05 -0500 commented answer How to use ViSP example for visual servoing ?

@KARIM, NO I haven't done it yet, I was busy with something else. I could only run visp object tracker and publish a tar

2018-05-06 11:56:07 -0500 edited question roscore and roslaunch fail on Ubuntu 16.04 & ROS kinetic

roscore and roslaunch fail / ROS kinetic Hi I have the following issue I tried to uninstall ros, and install it again,

2018-05-06 11:55:32 -0500 edited question roscore and roslaunch fail on Ubuntu 16.04 & ROS kinetic

roscore and roslaunch fail / ROS kinectic Hi I have the following issue I tried to uninstall ros, and install it again,

2018-05-06 11:54:59 -0500 asked a question roscore and roslaunch fail on Ubuntu 16.04 & ROS kinetic

roscore and roslaunch fail / ROS kinectic Hi I have the following issue I tried to uninstall ros, and install it again,

2018-04-27 09:04:22 -0500 commented answer UR5 visual servoing

Thanks, How do I send the end-effector based on the object pose (that i get from look_at_pose), is there any example.??

2018-04-27 08:24:52 -0500 commented answer UR5 visual servoing

Thanks for your explanation, I understand what you said. Do you have any example of visual servoing for 6DOF manipulator

2018-04-25 16:23:45 -0500 commented answer UR5 visual servoing

I am stuck in the way of implementing marker's pose into the correct example, I am trying with this example PBVS, but I

2018-04-25 16:23:21 -0500 commented answer UR5 visual servoing

I am stuck in the way of implementing marker's pose into the correct example, I am trying with this example PBVS, but I

2018-04-25 16:22:27 -0500 commented answer UR5 visual servoing

I am stuck in the way of implementing marker's pose to the correct example, I am trying with this example PBVS, but I do

2018-04-25 16:17:20 -0500 commented answer UR5 visual servoing

What I did so far, I publish the maker's pose as a ROS topic and I create another node to subscribe to this marker's pos

2018-04-25 16:12:34 -0500 commented answer UR5 visual servoing

Thanks for sharing your answer, I want to do the basic level of visual servoing / object tracking with real UR5 6DOF arm

2018-04-25 09:54:55 -0500 received badge  Famous Question (source)
2018-04-25 08:54:00 -0500 edited question UR5 visual servoing

UR5 visual servoing Hi 1- I can control UR5 arm in rviz and gazebo and everything works fine. 2- I use vision_visp to

2018-04-24 10:16:57 -0500 edited answer MoveItSimpleControllerManager: Action client not connected: /follow_joint_trajectory

I usually run the following, do u get same issue if you add limited:=true roslaunch ur_gazebo ur5.launch roslaunch ur5

2018-04-24 10:15:26 -0500 commented answer MoveItSimpleControllerManager: Action client not connected: /follow_joint_trajectory

oh, ok, then ur_modern_driver is only used for real ur5, thx letting me know.

2018-04-24 08:21:39 -0500 commented answer MoveItSimpleControllerManager: Action client not connected: /follow_joint_trajectory

could you please tell me how do u move ur5 with only launching roslaunch ur_gazebo ur5.launch I understand that u still

2018-04-23 15:55:55 -0500 commented answer MoveItSimpleControllerManager: Action client not connected: /follow_joint_trajectory

but how to use motion planning, how do u move ur5??!!

2018-04-23 13:30:25 -0500 answered a question MoveItSimpleControllerManager: Action client not connected: /follow_joint_trajectory

You probably get the wrong package, use this https://github.com/ThomasTimm/ur_modern_driver and then run the following c

2018-04-23 13:23:35 -0500 commented answer hsky_ur5_moveit gazebo inertial not stable

What if you need to use the laser with ur5 altogether, then you need to figure out the inertial problem?

2018-04-23 13:19:56 -0500 commented answer UR5 zero position and ROS zero position different

can I ask you how do send specific positions for ur5 joints. ??

2018-02-19 19:20:24 -0500 received badge  Famous Question (source)
2018-02-07 11:11:05 -0500 commented answer How to use ViSP example for visual servoing ?

I checked the example but I don't know yet how to implemented with ros. my concern right now is to run any visual servoi

2018-02-06 14:19:38 -0500 received badge  Notable Question (source)
2018-02-06 08:59:17 -0500 commented answer How to use ViSP example for visual servoing ?

Thank you for your reply, @Hansondon I only want to make ur5 move when the web-cam camera is attached on the end-effecto

2018-02-04 19:32:29 -0500 received badge  Popular Question (source)
2018-02-04 15:17:54 -0500 received badge  Notable Question (source)
2018-02-04 12:55:32 -0500 commented answer Error: cannot launch node of type [message_to_tf/message_to_tf]: can't locate node [message_to_tf] in package [message_to_tf]

I have same issue, I created a package and added .cpp file, then, I did catkin_make and sourced it properly. The executa