To start using the Hokuyo URG-04LX-UG01, we have to install the drivers.
Download the package from the repository and build the package from the source since ROS distribution does not contain the pre-built binary package:
$ cd ~/catkin_ws/src$ git clone git clone https://github.com/ros-drivers/driver_common.git$ git clone https://github.com/ros-drivers/hokuyo_node.git$ cd ..$ catkin_make
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.