Remove and insert dynamixel
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.