ERROR with ROS and ABB robot

asked 2017-11-08 10:13:56 -0600

Ahmad gravatar image

hi I'm using a simulated IRB2400 robot on robotstudio. I've installed the ABB ROS server on the controller and have a communication between both PCs one Ubuntu running ROS-kinetic and the other is Windows running ABB ROS server. when I'm launching

roslaunch robot_interface.launch robot_ip:=192.168.1.1 [J23_coupled:=false]

OR

roslaunch robot_interface_download_irb2400.launch robot_ip:=192.168.1.1

or any other launch file related to irb2400 or abb_driver each time I got the same errors:

Buffer is smaller than requested byteSize.

Failed to unload message joint: 8 from data[0]

Failed to unload joint data

Failed to initialize joint message

any help with these errors as I'm still new to ROS, I'm able to ping from each PC to the other correctly.

edit retag flag offensive close merge delete

Comments

Some thing to check seeing as you're uring RobotStudio on Windows: make sure that RobotStudio is allowed through the Windows firewall, and allowed to accept external connections. I've seen problems with that before.

gvdhoorn gravatar image gvdhoorn  ( 2017-11-08 13:18:00 -0600 )edit

I was able to solve these error by changing the "MAX_NUM_JOINTS" to 10 instead of 20 in simple_message/include/simple_message/joint_data.h The problem now I want to use Moveit and RVIZ to control the robot motion and see the ouput in robotstudio simulation. I don't know how to do this part

Ahmad gravatar image Ahmad  ( 2017-11-08 14:37:08 -0600 )edit

I was able to solve these error by changing the "MAX_NUM_JOINTS" to 10 instead of 20 in simple_message/include/simple_message/joint_data.h

why did you change it in the first place? You cannot change that value without updating the RAPID code at the same time.

gvdhoorn gravatar image gvdhoorn  ( 2017-11-08 14:41:59 -0600 )edit

If you've resolved your issue, please post it as an answer below and accept your own answer.

gvdhoorn gravatar image gvdhoorn  ( 2017-11-08 14:42:16 -0600 )edit

Also: you have quite some questions open, and some answered. Could you please go back to your old questions and see whether some of them have been answered? If so, tick the checkmark to the left of the answer to mark your question as answered.

Thanks.

gvdhoorn gravatar image gvdhoorn  ( 2017-11-08 14:42:51 -0600 )edit