ur_modern_driver icon indicating copy to clipboard operation
ur_modern_driver copied to clipboard

Assertion failed due to BinParser

Open mjpatell opened this issue 4 years ago • 6 comments

Hello,

I am controlling UR10 robot using ros_control. While launching ur_modern_driver with ros component, I am getting following error from BinParser.

.../ur_modern_driver/bin_parser.h:89: T BinParser::peek() [with T = long unsigned int]: Assertion `buf_pos_ + sizeof(T) <= buf_end_' failed.

I run my urdf and controller configuration in the simulation and it works fine without having any error (universal_robot package). I used same configuration for ur_modern_driver and could not able to launch successfully.

I am using kinetic as ros_distro and same branches from ur_modern_driver and universal_robot.

Is there anything wrong, I configured? or Is anyone facing same problem and solve it?

Thank you.

mjpatell avatar Jun 24 '20 10:06 mjpatell

Please tell us which controller series you have.

CB2, CB3 or e-Series?

Also:

I run my urdf and controller configuration in the simulation and it works fine without having any error (universal_robot package).

this is nice, but not something really useful.

There is nothing in the driver which is affected by anything in ur_gazebo.

gavanderhoorn avatar Jun 24 '20 11:06 gavanderhoorn

Hello,

Thank you for prompt reply. I am using CB2 with UR10 robot.

mjpatell avatar Jun 24 '20 11:06 mjpatell

Which system software version?

gavanderhoorn avatar Jun 24 '20 11:06 gavanderhoorn

Hello, That was my mistake as I build workspace with catkin build instead of catkin_make as mention on README.md. Is this a really issue?

mjpatell avatar Jul 03 '20 06:07 mjpatell

Hello, That was my mistake as I build workspace with catkin build instead of catkin_make as mention on README.md. Is this a really issue?

No.

That should not have any effect.

You still haven't told us the system software version.

gavanderhoorn avatar Jul 03 '20 14:07 gavanderhoorn

Hello, I am facing the same Issue. I am using a UR5 with a CB1 and Polyscope 1.5.7849 with Ubuntu 16.04 and ros-kinetic.

Is it possible that this has sth to do with ur_msgs, as this package is now included in the new ur_robot_driver and a dependency of ur_modern_driver?

Do you have a Idea where the problem could be? @ipa-mjp: Did you solve your problem?

Thanks for your help <3

Edit: The problem has something to do, when you installl the ur_driver before the ur_modern_driver.

ghost avatar Nov 20 '20 15:11 ghost