Install
$ sudo apt-get install ros-%DISTro%-hokuyo-node
Configuring the Hokuyo
$ ls -l /dev/ttyACM0
$ sudo chmod a+rw /dev/ttyACM0
Starting a roscore
$ roscore
Running the hokuyo_node
$ rosrun hokuyo_node hokuyo_node
Viewing the data
$ rosrun rviz rviz -d `rospack find hokuyo_node`/hokuyo_test.vcg
配置如下圖: