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

Use this udev rule:

# Hokuyos
SUBSYSTEMS=="usb", KERNEL=="ttyACM[0-9]*", ATTRS{manufacturer}=="Hokuyo Data Flex for USB", ATTRS{product}=="URG-Series USB Driver", MODE="0666", GROUP="dialout", PROGRAM=="/etc/ros/run.sh hokuyo_node getID %N q", SYMLINK+="sensors/hokuyo_%c"

It's gonna need /etc/ros/run.sh, which basically is:

#!/bin/sh
. /etc/ros/setup.sh 
rosrun $@

Where /etc/ros/setup.sh is a symlink to your ROS setup.sh file in /opt/ros/???/setup.sh.