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

Revision history [back]

click to hide/show revision 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"

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 PROGRAM="/bin/bash -c 'source /opt/ros/kinetic/setup.bash; /opt/ros/kinetic/lib/urg_node/getID /dev/%k q", q'", SYMLINK+="sensors/hokuyo_%c", GROUP="dialout"