Ask Your Question

Remove and insert dynamixel

asked 2012-05-17 12:06:40 -0500

Hansg91 gravatar image


I am currently using some custom dynamixel controller, but was looking into ways so that when I remove and re-insert the USB cable of the dynamixels, it would automatically reconnect. At the moment it gives a fatal error when removing the USB cable. I saw there was a dynamixel_motor package in ROS, is such a thing possible with this package? If it is, then I will take the trouble of replacing my current custom controller with the ROS package.

Another solution is adding respawn="true" in the launch file for my controller, but since there is no wait time in this respawn and the node gives a fatal error immediately when no dynamixel is connected, it 'spams' the spawning of this node. I would rather have it spare the CPU and try once every second.

Any ideas?

ps. I am asking cause I want a setup where I just have to switch on a laptop, upstart scripts launch all necessary nodes and motors are automatically initialized and re-initialized if inserted again.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-05-18 07:56:58 -0500

arebgun gravatar image

dynamixel_motor stack currently doesn't support automatic restart when the USB dongle is reinserted. I also thought that a feature like that might be useful, but I never had the time to really think about how it would be implemented. In short, dynamixel_motor stack won't solve you problem at this time.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-05-17 12:06:40 -0500

Seen: 155 times

Last updated: May 18 '12