Can I interrupt the UR5 movement/trajectory?

asked 2015-07-29 05:57:46 -0500

vighter gravatar image

Hello, I am working with an older Version of the UR5 with CB1 Version 1.5.7849 and ROS Indigo.

I would like to perform a continuous move of one axis in one direction as long as I have a signal from a sensor. When the signal turns off, the robot should stop.

My problem with this is, that ROS always (?) requires an end-point of the trajectory. To handle that problem, I thought about performing a 360° spin of that one axis and stop the robot during execution of the path. Can I do that? Like to remove the last X waypoints of the trajectory? Something like a safety stop, but without turning the robot in safety mode. Thanks in advance, Veit

edit retag flag offensive close merge delete

Comments

Could you specify which (if any) driver components you are using?

gvdhoorn gravatar image gvdhoorn  ( 2015-07-29 06:47:10 -0500 )edit

what do you mean by that? im currently controlling the UR5 through move_group if thats what you're asking.

vighter gravatar image vighter  ( 2015-07-29 07:14:10 -0500 )edit

How are you interfacing with your CB1 control box? Which ROS component do you use for that?

gvdhoorn gravatar image gvdhoorn  ( 2015-07-29 07:29:12 -0500 )edit

I installed the following packages: universal_robot, rviz, moveit,

the UR package connects to the robot via ethernet.

vighter gravatar image vighter  ( 2015-07-29 09:46:19 -0500 )edit