ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
On the host running rosserial
, ROS is not responsible for "finding" the linux /dev/[somehing] device. The author of the ROS launch file must create entries on the ros-parameter-server specifying a linux device name and a baudrate.
For USB, creating the linux device in /dev is typically done with a udev
rule. You must install this rule before you insert the usb device and before the ROS launch file is executed. This new udev rule will be triggered when your specific USB-device is inserted, and then udev
will create a fixed linux /dev name that you specify in the rule e.g. /dev/arduino
For this to work, the name in the udev rule has to exactly match the device name you specify in your ROS launch file.