Hokuyo LIDAR - ut-ims-robotics/tutorials GitHub Wiki

Table of Contents

Info

TESTED ON ROS: Indigo
TESTED ON HARDWARE PLATFORMS: Hokuyo URG-04LX-UG01
PACKAGES: http://wiki.ros.org/hokuyo_node

Issues

Port opening failure, permission denied

1) Check if the device is even recognied as a serial device:

 $ ls -l /dev/ttyACM*
  
 Typical output:
 crw-rw---- 1 root dialout 166, 0 veebr  6 12:34 /dev/ttyACM0
 crw-rw---- 1 root dialout 166, 1 veebr  6 12:49 /dev/ttyACM1
 

2) Give permissions

 $ sudo usermod -a -G dialout yourUserNameHere
 

3) Logout

More than 1 serial device connected - hokuyo_node cannot find the right device

Specify the port where Hokuyo is connected

 $ rosrun hokuyo_node hokuyo_node _port:=/dev/ttyACM1
⚠️ **GitHub.com Fallback** ⚠️