ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Remove and insert dynamixel

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

Hansg91 gravatar image

Hi,

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
0

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

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

Question Tools

Stats

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

Seen: 260 times

Last updated: May 18 '12