
RS-Ruby Users’ Manual
30
Appendix C RS-Ruby
ROS
Package
This appendix describes how to use ROS to acquiring and visualizing the
measuring data from RS-Ruby.
C.1 Software Installation
1. Download and Install Ubuntu 16.04 OS.
2. Please refer the link (
http://wiki.ros.org/kinetic/Installation
) to install the ROS Kinetic .
3. Download and install libpcap-dev.
C.2 Compile RS-Ruby ROS Package
1. Create a workspace for ROS:
cd ~
mkdir -p catkin_ws/src
2. Copy the corresponding ros_rslidar_package into the ROS workspace under the path:
~/catkin_ws/src.
The
latest
ros_rslidar
driver
can
be
downloaded
from
https://github.com/RoboSense-LiDAR/ros_rslidar or contact Robosense support.
3. Build
:
cd ~/catkin_ws
catkin_make
4. Place the configuration file of corresponding LiDAR into PC from USB stick:
The configuration_data is in the USB stick shipped with the LiDAR. Copy the launch file
into specified folder. This path can be customized.
For example: rslidar_pointcloud/data/rs_ruby
C.3 Configure PC IP address
For the default RS-Ruby firmware, static IP address of PC is configured to
“192.168.1.102”, submask: “255.255.255.0”, gateway doesn’t need to configure.
After configuring the static IP, it can be examined in CMD with code ifconfig.
C.4 Display of the real-time data
1. Connect the RS-Ruby to PC via twister pair wire with RJ45 connector, power on it, then
wait for PC cognizing LiDAR.
2. An example launch file has been provided under path: rslidar_pointcloud/launch, in
order to starting the node that can be run to visualize the real-time point cloud data. Open
a terminal with a location as shown as below:
cd ~/catkin_ws
source devel/setup.bash
roslaunch rslidar_pointcloud rs_ruby.launch
3. Open a new terminal:
rviz
Содержание RS-Ruby
Страница 1: ...RS Ruby Users Manual 1...
Страница 38: ...RS Ruby Users Manual 33 Appendix D Dimension Figure D 1 Dimension of Ruby...
Страница 41: ...RS Ruby Users Manual 36...