Using abb_driver to send a joint trajectory to a virtual IRB2600 on RobotStudio
Hi everyone,
I'm trying to have a virtual IRB2600 run on RobotStudio (v2020.1 64 bits) perform a joint trajectory thanks to the ROS abb_driver package (using ROS melodic on Ubuntu).
I followed the instructions given in abb_driver tutorials (http://wiki.ros.org/abb_driver, http://wiki.ros.org/abb/Tutorials) and it seems to works correctly : at least, joint states are correctly received on the ROS PC upon the topic /joint_states (confirmed with 'rostopic echo' command) when I move links on RobotStudio PC.
The "/motion_download_interface" node is running (confirmed with 'rosnode list' command and ROS_INFO msg on the screen of the ROS PC ), it subscribes to the "/joint_path_command" topic (confirmed with 'rostopic info' command). I wrote a python script (inspired by http://wiki.ros.org/ROS/Tutorials/Wri...) that publishes a JointTrajectory msg on that same topic (confirmed with 'rostopic echo' command). But "/motion_download_interface" node seems to ignore it (no ROS_INFO msg on screen saying "Receiving joint trajectory message" as expected according to source code in http://docs.ros.org/kinetic/api/indus... (line 133).
Would you please help find what is missing and how to fix it ? Thanks in advance, best regards ! Here-under is the command and console info. The launch file is given also (see after the verbatim of the console, it comes from the orginal abb_driver package, I just added a call to yaml file that gives the name of the joints 'rob1_1', 'rob1_2'... since in the urdf robot_description, http://wiki.ros.org/abb_irb2600_support , joints are named 'joint_1','joint_2' ).
jonathan@ROS-Ubuntu:~/WIP/test_ws$ roslaunch abb_driver robot_interface.launch robot_ip:=192.168.1.28 --screen
... logging to /home/jonathan/.ros/log/fa13eac8-dbd5-11ea-b6a8-74dfbfc383e1/roslaunch-ROS-Ubuntu-11962.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://ROS-Ubuntu:44685/
SUMMARY
PARAMETERS
/J23_coupled: False
/controller_joint_names: ['rob1_1', 'rob1_...
/robot_description: <?xml version="1....
/robot_ip_address: 192.168.1.28
/rosdistro: melodic
/rosversion: 1.14.7
NODES
/
joint_trajectory_action (industrial_robot_client/joint_trajectory_action)
motion_download_interface (abb_driver/motion_download_interface)
robot_state (abb_driver/robot_state)
ROS_MASTER_URI=http://localhost:11311
process[robot_state-1]: started with pid [11977]
process[motion_download_interface-2]: started with pid [11978]
process[joint_trajectory_action-3]: started with pid [11979]
[ INFO] [1597152272.686230412]: Added message handler for message type: 0
[ INFO] [1597152272.688071569]: Robot state connecting to IP address: '192.168.1.28:11002'
[ INFO] [1597152272.688757197]: Adding rob1_1 to list parameter
[ INFO] [1597152272.688794961]: Adding rob1_2 to list parameter
[ INFO] [1597152272.688836581]: Adding rob1_3 to list parameter
[ INFO] [1597152272.688865491]: Adding rob1_4 to list parameter
[ INFO] [1597152272.688893494]: Adding rob1_5 to list parameter
[ INFO] [1597152272.688916966]: Adding rob1_6 to list parameter
[ INFO] [1597152272.688960781]: Found user-specified joint names in 'controller_joint_names': [rob1_1, rob1_2, rob1_3, rob1_4, rob1_5, rob1_6]
[ INFO] [1597152272.695712283]: Connected to server
[ INFO] [1597152272.695786253]: Initializing message manager with default comms fault handler
[ INFO] [1597152272.695834132]: Default communications fault handler successfully initialized
[ INFO] [1597152272.695871523]: Initializing message manager
[ INFO] [1597152272.695913117]: Added message handler for message type: 1
[ INFO] [1597152272.698848773]: Added message handler for message type: 10 ...
Please always link to packages and tutorials you are using and reading. Otherwise we need to search ourselves, and we cannot be (absolutely) sure we find the same things you do.