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

Revision history [back]

If your device works with hokuyo_node, you can certainly keep using it. urg_node provides support for newer devices.

You can setup ubuntu to assign device names consistently using udev rules. This and this section shows an example rule for each node.

Create a root file as the root user, such as sudo nano /etc/udev/rules.d/50-hokuo.rules (the number doesn't matter), and paste in one of the rules above. The rule will call a getID executable installed by the node into your ros installation, which pulls the serial number from the device, and then that is used for naming.

Once you've put the rule into the right place, unplug your device, call sudo udevadm control --reload-rules; sudo service udev restart;, and then plug your device back in. Now if you ls -l | grep hokuyo you should see the device name with the serial number appended.