ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
In kinetic, the following udev rule should do the job after you installed the package urg_node
. Note that the paths in the udev rule below have to be changed for other ROS distributions.
SUBSYSTEMS=="usb", KERNEL=="ttyACM[0-9]*", ACTION=="add", ATTRS{idVendor}=="15d1", ATTRS{idProduct}=="0000", MODE="666", PROGRAM="source /opt/ros/kinetic/setup.bash; /opt/ros/kinetic/lib/urg_node/getID /dev/%k q", SYMLINK+="sensors/hokuyo_%c", GROUP="dialout"
2 | No.2 Revision |
In kinetic, the following udev rule should do the job after you installed the package urg_node
. Note that the paths in the udev rule below have to be changed for other ROS distributions.
SUBSYSTEMS=="usb", KERNEL=="ttyACM[0-9]*", ACTION=="add", ATTRS{idVendor}=="15d1", ATTRS{idProduct}=="0000", MODE="666",
PROGRAM="sourcePROGRAM="/bin/bash -c 'source /opt/ros/kinetic/setup.bash; /opt/ros/kinetic/lib/urg_node/getID /dev/%kq",q'", SYMLINK+="sensors/hokuyo_%c", GROUP="dialout"