
User Manual LR-16F
OMEN-16F-202012
26
Appendix G:ROS
This appendix will explain how to use ROS1 to obtain and visualize OLE-
LiDAR data.
G.1 Install software
1.Download and install Ubunutu 16.04 operating system. ROS1.0 driver can run on trusty,
xenial, bionic version of Ubuntu operating system
2.Install and test the basic functions of ROS1 Indigo according to the link
(http://wiki.ros.org/indigo/Installation/Ubuntu).
3.Download and install libpcap-dev.
Note:
The operating environment of the driver is ROS1.0 version. If you need ROS2.0
version, please contact the technical staff of OLEI.
The appendix demonstrates the driver construction and operation under ROS1.0
version.
G.2 Construction
1. Create a workspace in the ubuntu system where the ROS environment is installed
> mkdir -p ole3d_ws/src
2. Unzip the driver folder 'src' ROS to ole2d_ws
>cp src ole2d_ws
3. Install “depend”
>rosdep install --from-paths src --ignore-src --rosdistro=${ROS_DISTRO} -y
4. Compile
>chmod -R 777 src
>catkin_make
Note: Before compiling, ask chmod to grant executable permissions under the src folder.
G.3 Operation
1. Configure source
>source devel/setup.bash
2. Open a new terminal and run roscore
>roscore
3. Check and connect lidar
The default factory IP of lidar: 192.168.1.100. It will send UDP package to 192.168.1.10:2368
Therefore, the local static IP : 192.168.1.10 needs to be configured, Subnet mask:
255.255.255.0
4. Run the launch script in the terminal where the source is currently configured
>roslaunch ole_pointcloud LR16F_points.launch