Page 2
RS-LiDAR-16 User’s Manual Revision History Revision Content Time Edit Initial release 2017-03-01 Fill inthe content according to RS-LiDAR-16 1.0 2017-05-10 hardware. Modify the relatioship between laser channel and 2017-06-13 vertical angle Update the content according to RS-LiDAR-16 2.0 2017-07-17 hardware...
Page 5
C.7 RS-LiDAR-16 Factory Firmware Parameters Setting..................42 C.8 RSView Data Port............................43 C.10 Fault Diagnosis............................45 C.9 Firmware Online Update..........................44 Appendix D ▪ RS-LiDAR-16 ROS Package......................... 47 D.1 Prerequisite..............................47 D.2 Install RS-LiDAR-16 ROS Package........................ 47 D.3 Configure PC IP address..........................47 D.5 View the recorded pcap file offline......................
Page 6
RS-LiDAR-16 User’s Manual Terminologies MSOP Main Data Stream Output Protocol DIFOP Device Info Output Protocol UCWP User Configuration Write Protocol Azimuth Horizontal angle of each laser firing Timestamp The marker that records the system time Header The starting part of the protocol packet...
RS-LiDAR-16 User’s Manual Congratulations on your purchase of a RS-LiDAR-16 Real-Time 3D LiDAR Sensor. Please read carefully before operating the product. Wish you a pleasurable product experience with RS-LiDAR-16. 1 Safety Notices To reduce the risk of electric shock and to avoid violating the warranty, do not open sensor body.
RS-LiDAR-16 User’s Manual 2 Introduction RS-LiDAR-16, launched by RoboSense, is the first of its kind in China, world leading 16-beam miniature LiDAR product. Its main applications are in autonomous driving, robots environment perception and UAV mapping. RS-LiDAR-16, as a solid-state hybrid LiDAR, integrates 16 laser/detector pairs mounted in a compact housing.
RS-LiDAR-16 User’s Manual 4 Connections 4.1 Power RS-LiDAR-16 can operate with 9 to 32 volt power. But standard 12 volt power is suggested. RS-LiDAR-16 requires 9 watts (typical) of power while operating. 4.2 Electrical Configuration RS-LiDAR-16 comes with an integral cable(power/data) that is permanently attached to the sensor and terminates at a standard SH1.1.25 wiring terminal.
Page 11
Interface BOX. (As shown in Figure 3.) Figure 3 Interface BOX Note: When RS-LiDAR-16 connects its grounding system with an external system, the external power supply system should share the same grounding system with that of the GPS.
1290 byte long, and consists of a 1248 byte payload and a 42 byte header. The IP address and port number of RS-LiDAR-16 is set in the factory as shown in the Table 2, but can be changed by the user as needed.
Value is recorded by the encoder. The zero position on the encoder indicates the zero degree of azimuth value on RS-LiDAR-16. In one data block, there are 32 sets of laser data indicating two sequence of the 16 laser firings, however only every-other encoder angle is reported for alternate firing sequences.
RS-LiDAR-16 User’s Manual Endif; // Perform the interpolation Azimuth[2]:=Azimuth[1]+((Azimuth[3]-Azimuth[1])/2); // Correct for any rollover over from 359.99° to 0° If (Azimuth[2]>360) Then Azimuth[2]:= Azimuth[2]-360; Endif 5.1.2.3 Channel Data Channel data contains 3 bytes, with the upper 2 bytes store distance information, and the lower 1 byte contains reflectivity data.
RS-LiDAR-16 User’s Manual 5.2 DIFOP I/O type:device output, computer read. Default port number is 7788. DIFOP is a protocol that reports and outputs only device information including the device serial number, firmware version, driver compatibility, internet setting, calibration data, electrical machine setting and operation status, fault detection information to users.
Page 18
The Tail is 0x0F,0xF0. Statement: RS-LiDAR-16 doesn’t RTC system to support operation while power is off. In the case of no GPS or GPS signal, it is imperative to write time into the device through a computer, or it will use a default system time for clock.
Pin GND provide the ground connection for GPS module. The GPS module should set to 9600bps baud rate, 8 bit data bit, no parity and 1 stop bit. RS-LiDAR-16 only read the GPSRMC message from GPS module., the GPSMRC message format is shown as below: $GPRMC,<1>,<2>,<3>,<4>,<5>,<6>,<7>,<8>,<9>,<10>,<11>,<12>*hh...
When using multiple RS-LiDAR-16 sensors in proximity to one another, users may observe interference between them due to one sensor picking up a reflection intended for another. To minimize this interference, RS-LiDAR-16 provides a phase-locking feature that enables the user to control where the lase firings overlap.
8.2 Point Cloud Presentation In a circular arena, as the RS-LiDAR-16 rotates, the scanning path of the 16 laser beams plots 16 conical scanning surfaces with 8 face upward and 8 face downward, and the point cloud produced are the section line between...
Page 23
Figure 10. Figure 9 Contour lines plotted on X, Z coordinates Figure 10 RS-LiDAR-16 Scanning Illustration The hyperbolas contour lines phenomenon can also be explain by transforming polar coordinates into orthogonal coordinates. As shown in Figure 11, we deduced the function of a hyperbolas ...
Figure 12 RS-LiDAR-16 Laser Channels and Vertical Angles RS-LiDAR-16 has a vertical field of view of -15 ° to +15 ° with a eventful interval of 2 degrees. The 16 laser heads also called as 16 channels. The laser channels and their designated vertical angles are as shown in the Table 8.
Page 25
RS-LiDAR-16 User’s Manual Every sequence of 16 laser firings consumes 50us.
Reflectivity therefore is an important information for LiDAR to distinguish objects. RS-LiDAR-16 reports reflectivity values from 0 to 255 with 255 being the reported reflectivity for an ideal reflector. Diffuse reflection reports values from 0 to 100, with the weakest reflectivity reported from black objects and strongest reflectivity reported from white object.
RS-LiDAR-16 User’s Manual 11 Trouble Shooting This section provides detail on how to troubleshoot your sensor. Problem Resolution Interface Verify the power connection and polarity doesn’t light or blink Verify the power supply satisfy the requirement (at least 2A @ 12V) ...
Page 28
RS-LiDAR-16 User’s Manual Are excessive broadcast packets from another service being seen by the sensor? This can slow the sensor down. Is the computer fast enough to keep up with the packet flow coming from the sensor? ...
RS-LiDAR-16 User’s Manual Appendix A ▪ Point Time Calculate In a MSOP packet, there are 12 blocks, each block has two sequence for the whole 16 laser firings, so in a MOSP packet, there are 24 groups for the whole 16 laser firings. All sixteen lasers are fired and recharged every 50.0µs.
RS-LiDAR-16 User’s Manual Appendix B ▪ Information Registers Here are definitions and more details on information registers as mentioned in Section 5. B.1 Motor(MOT_SPD) Motor Speed(2 bytes in total) Byte No. byte1 byte2 Function MOTOR Register description: (1)This register is used to set the rotation direction and rotation speed.
RS-LiDAR-16 User’s Manual B.3 Motor Phase Offset (MOT_PHASE) Motor Phase Offset(2bytes in total) Byth No. byte1 byte2 Function MOT_PHASE Register description: It can be used to adjust the phase offset of the motor with the PPS together. The value can be set from 0 to 360.
RS-LiDAR-16 User’s Manual Register description: (1)The storage format of corrected pitch data adopts big endian format. (2)LSB = 0.0001° (2) The value of the pitch is unsigned integer. Channel 1 to Channel 8 pitches downwards, channel 9 to channel 16 pitches upwards.
RS-LiDAR-16 User’s Manual LiDAR internal timestamp is synchronizing the UTC. bit3~bit7 Reserved (5) The reset are used for debug, they are not opened. B.12ASCII code in GPSRMC Packet GPSRMC register reserve 86byte, it can store the whole GPSRMC message from GPS module in to the register in ASCII code.
The installation path should not contain any Chinese character. C.3 Set up Network As mentioned in the RS-LiDAR-16 User’s Manual, the default IP address of the computer should be set as...
English characters and should include all three csv files (angle.csv, ChannelNum.csv, curves.csv). You can find the configuration files folder named “configuration_data” in the U disk in the RS-LiDAR-16 package box or you can ask the RoboSense support to get the files. The path contains the configuration files should not contain any Chinese character.
2. A Choose Output File dialog will pop up. Navigate to where you want the file to be saved and click the Save button (Fig C-5). RSView begins writing packets to your pcap file. (Note: RS-LiDAR-16 sensors generate a lot of data.
RS-LiDAR-16 User’s Manual Fig C-5 RSView Record Saving Dialog 3. Recording will continue until the Record button is clicked again, which stops the recording and closes the pcap file. C.6 Replay Captured Sensor Data from PCAP File To replay (or examine) a pcap file, open it with RSView. You can press Play to let it run, or scrub through the data frames with the Scrub slider.
Page 41
RS-LiDAR-16 User’s Manual Fig C-7 Select the PCAP file The Sensor Configuration dialog will pop-up. Select your sensor configuration folder and click OK. 4. Press Play to replay/pause the data stream. Use the Scrub slider tool (it looks like an old-fashioned volume slider) to move back and forth through the data frames.
Page 42
RS-LiDAR-16 User’s Manual Fig C-10 RSView Data Point Table 7. Click Show only selected elements in the Spreadsheet (Fig C-11). Since no points are selected yet, the table will be empty. Fig C-11 RSView Show Only Selected Elements 8. Click the Select All Points tool. This turns your mouse into a point selection tool(Fig C-12).
RSView provide a tool which integrates UCWP function. We can use this tool to modify Rotation Speed, Network and Time in the RS-LiDAR-16 factory firmware 1. We need connect RS-LiDAR-16 to the PC and confirm we can view the real time data. Then click Tools > RS-LiDAR Information.
RS-LiDAR-16 ports number by modify the 2 parameters in C.7 section, we need configure the RSView Data Port first or we will see nothing in the RSView. If we do not know the RS-LiDAR-16 ports configuration, we can use Wireshark to capture the packets to check the Dst Port.
Fig C-17 Data Port Setting C.9 Firmware Online Update Before begin firmware online update, we need make sure the RS-LiDAR-16 is working normally, that means we can view the Pointcloud and get LiDAR information in RSVIEW. Click Tools > Online Update , we can select the top board firmware update and bottom board firmware update as shown in Figure C-18.
Fig C-20 Online Update Successful C.10 Fault Diagnosis Before begin firmware online update, we need make sure the RS-LiDAR-16 is working normally, that means we Click Tools > Fault Diagnosis,the Fault Diagnosis window will pop up. Then we can click Start button to can view the Pointcloud and get LiDAR information in RSVIEW.
D.3 Configure PC IP address For the default RS-LiDAR-16 firmware, it is configured the “192.168.1.200” as its own IP address, and the “192.168.1.102” as its destination PC IP address. So we need set the PC static IP as “192.168.1.102” and the net mask as “255.255.255.0”, while the gateway address is not necessary.
RS-LiDAR-16 User’s Manual 3. Open a new terminal: rviz Set the Fixed Frame to "rslidar". Add a Pointcloud2 type and set the topic to "rslidar_points": D.5 View the recorded pcap file offline We can also use the ros_rslidar ROS package to view the recorded .pcap data.
Page 50
RS-LiDAR-16 User’s Manual <param name="channel_path" value="$(find rslidar_pointcloud)/data/rs_lidar_16/ChannelNum.csv" /> </node> </launch> 2. Open an teminal: cd ~/catkin_ws source devel/setup.bash roslaunch rslidar_pointcloud rs_lidar_16.launch 3. Open a new terminal and run: rviz...
RS-LiDAR-16 User’s Manual Appendix F LiDAR mechanical installation suggestion Please make sure the platform surface used for mount LiDAR is smooth as possible. Please make sure the locating pin on the mount surface do exceed 4mm high. The material of the mount platform is suggested to be aluminum alloy in order to thermolysis.
Appendix G How to Distinguish the Port Number of MSOP and DIFOP Packets According to the Chapter 5, RS-LiDAR-16 outputs MSOP packets and DIFOP packets. We can use the Wireshark software to filter the MSOP packets or DIFOP packets so that we can know which port number the packets send to.
Need help?
Do you have a question about the RS-LiDAR-16 and is the answer not in the manual?
Questions and answers