Skip to content

Commit bc13fe5

Browse files
committed
doc: update doc
1 parent 6a83ae7 commit bc13fe5

10 files changed

+2
-126
lines changed

doc/howto/how_to_offline_decode_pcap.md

-8
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
This document will show you how to decode pcap bag and send point cloud to ROS. Please make sure you have read the LiDAR user-guide and [Intro to parameters](doc/intro/parameter_intro.md) before reading this document.
66

7-
8-
97
## 2 Steps
108

119
### 2.1 Get the data port number & ip address
@@ -30,8 +28,6 @@ Send point cloud to ROS so set ```send_point_cloud_ros = true```.
3028

3129
Make sure the ```pcap_path``` is correct.
3230

33-
34-
3531
### 2.3 Set up the lidar-driver part of the config file
3632

3733
```yaml
@@ -52,8 +48,6 @@ Set the ```lidar_type``` to your LiDAR type.
5248

5349
Set the ```msop_port``` and ```difop_port``` to your LiDAR's port number.
5450

55-
56-
5751
### 2.4 Set up the lidar-ros part of the config file
5852

5953
```yaml
@@ -65,8 +59,6 @@ ros:
6559

6660
Set the ```ros_send_point_cloud_topic``` to the topic you want to send.
6761

68-
69-
7062
### 2.5 Run
7163

7264
Run the program.

doc/howto/how_to_offline_decode_pcap_cn.md

-10
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,12 @@
44

55
​ 本文档将展示如何解码pcap包并发送点云数据到ROS。 在阅读本文档之前,请确保已阅读雷达用户手册和 [参数简介](../intro/parameter_intro.md)
66

7-
8-
97
## 2 步骤
108

119
### 2.1 获取数据端口号
1210

1311
​ 首先根据雷达用户手册连接雷达并设置好您的电脑的IP地址。此时应该已知雷达的msop端口号和difop端口号,默认值为```msop-6699, difop-7788```。 如果不清楚上述内容,请查看雷达用户手册。
1412

15-
16-
1713
### 2.2 设置参数文件的common部分
1814

1915
```yaml
@@ -32,8 +28,6 @@ common:
3228

3329
​ 请确保路径```pcap_path``` 是正确的。
3430

35-
36-
3731
### 2.3 设置参数文件的 lidar-driver部分
3832

3933
```yaml
@@ -55,8 +49,6 @@ lidar:
5549

5650
​ 设置 ```msop_port``` 和 ```difop_port``` 为雷达数据端口号。
5751

58-
59-
6052
### 2.4设置配置文件的lidar-ros部分
6153

6254
```yaml
@@ -68,8 +60,6 @@ ros:
6860

6961
​ 将 ```ros_send_point_cloud_topic``` 设置为发送点云的话题。
7062

71-
72-
7363
#### 2.5 运行
7464

7565
​ 运行程序。

doc/howto/how_to_online_send_point_cloud_ros.md

-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
# How to online connect lidar and send point cloud to ROS
22

3-
4-
53
## 1 Introduction
64

75
This document will show you how to online connect a LiDAR and send point cloud to ROS. Please make sure you have read the LiDAR user-guide and [Intro to parameters](../intro/parameter_intro.md) before reading this document.
86

9-
10-
117
## 2 Steps
128

139
### 2.1 Get the data port number
@@ -30,8 +26,6 @@ Since the message come from the LiDAR, set ```msg_source = 1```.
3026

3127
Send point cloud to ROS so set ```send_point_cloud_ros = true```.
3228

33-
34-
3529
### 2.3 Set up the lidar-driver part of the config file
3630

3731
```yaml
@@ -55,8 +49,6 @@ Set the ```lidar_type``` to your LiDAR type.
5549

5650
Set the ```msop_port``` and ```difop_port``` to your LiDAR's port number.
5751

58-
59-
6052
### 2.4 Set up the lidar-ros part of the config file
6153

6254
```yaml
@@ -68,8 +60,6 @@ ros:
6860

6961
Set the ```ros_send_point_cloud_topic``` to the topic you want to send.
7062

71-
72-
7363
### 2.5 Run
7464

7565
Run the program.

doc/howto/how_to_online_send_point_cloud_ros_cn.md

-10
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,12 @@
44

55
​ 本文档描述了如何在线连接雷达并发送点云数据到ROS。在阅读本文档之前, 请确保已经阅读过雷达用户手册和[参数简介](../intro/parameter_intro.md)
66

7-
8-
97
## 2 步骤
108

119
### 2.1 获取数据端口号
1210

1311
​ 首先根据雷达用户手册连接雷达并设置好您的电脑的IP地址。此时应该已知雷达的msop端口号和difop端口号,默认值为```msop-6699, difop-7788```。 如果不清楚上述内容,请查看雷达用户手册。
1412

15-
16-
1713
### 2.2 设置参数文件的common部分
1814

1915
```yaml
@@ -30,8 +26,6 @@ common:
3026

3127
​ 将点云发送到ROS以查看,因此设置 ```send_point_cloud_ros = true``` 。
3228

33-
34-
3529
### 2.3 设置参数文件的 lidar-driver部分
3630

3731
```yaml
@@ -54,8 +48,6 @@ lidar:
5448

5549
​ 设置 ```msop_port``` 和 ```difop_port``` 为雷达数据端口号。
5650

57-
58-
5951
### 2.4设置配置文件的lidar-ros部分
6052

6153
```yaml
@@ -67,8 +59,6 @@ ros:
6759

6860
​ 将 ```ros_send_point_cloud_topic``` 设置为发送点云的话题。
6961

70-
71-
7262
### 2.5 运行
7363

7464
​ 运行程序。

doc/howto/how_to_record_and_offline_decode_rosbag.md

+1-15
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
# How to record and decode rosbag
22

3-
4-
53
## 1 Introduction
64

75
This document will show you how to record and decode rosbag. Please make sure you have read the LiDAR user-guide and [Intro to parameters](../intro/parameter_intro.md) before reading this document.
86

9-
10-
117
## 2 Record
128

139
### 2.1 Send packet to ROS
@@ -28,8 +24,6 @@ common:
2824
2925
In order to record packets, set ```send_packet_ros = true```.
3026

31-
32-
3327
### 2.2 Record according to the topic
3428

3529
```yaml
@@ -45,9 +39,7 @@ User can also adjust the packets topic by adjust the ```ros_send_packet_topic```
4539
rosbag record /rslidar_packets /rslidar_packets_difop -O bag
4640
```
4741

48-
**Note: If you set send_packet_ros = true, both two kinds of packets will be send to ROS. And you must record both of these two kinds of packets.**
49-
50-
42+
**If you set send_packet_ros = true, both two kinds of packets will be send to ROS. And you must record both of these two kinds of packets.**
5143

5244
## 3 Offline Decode
5345

@@ -69,8 +61,6 @@ Since the packets message come from the ROS, set ```msg_source = 2```.
6961

7062
We want to send point cloud to ROS so set ```send_point_cloud_ros = true```.
7163

72-
73-
7464
### 3.2 Set up the lidar-driver part of the config file
7565

7666
```yaml
@@ -89,8 +79,6 @@ lidar:
8979

9080
Set the ```lidar_type``` to your LiDAR type.
9181

92-
93-
9482
### 3.3 Set the lidar-ros part of the config file
9583

9684
```yaml
@@ -102,8 +90,6 @@ ros:
10290

10391
Set up the ```ros_recv_packet_topic``` to the ```msop``` topic in the rosbag.
10492

105-
106-
10793
### 3.4 Run
10894

10995
Run the program & play rosbag.

doc/howto/how_to_record_and_offline_decode_rosbag_cn.md

+1-11
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
​ 本文档将展示如何记录与解码rosbag。 在阅读这本文档之前请先阅读雷达用户手册与[参数简介](../intro/parameter_intro.md)
66

7-
8-
97
## 2 录包
108

119
### 2.1 将packet发送至ROS
@@ -41,9 +39,7 @@ ros:
4139
rosbag record /rslidar_packets /rslidar_packets_difop -O bag
4240
```
4341

44-
**注意:如果将send_packet_ros设置为true,则两种数据包都将发送到ROS。 录包时必须同时记录这两种数据。**
45-
46-
42+
**如果将send_packet_ros设置为true,则两种数据包都将发送到ROS。 录包时必须同时记录这两种数据。**
4743

4844
## 3 离线解码
4945

@@ -65,8 +61,6 @@ common:
6561

6662
​ 将点云发送到ROS,因此设置 ```send_point_cloud_ros = true```。
6763

68-
69-
7064
### 3.2 设置配置文件的lidar-driver部分
7165

7266
```yaml
@@ -85,8 +79,6 @@ lidar:
8579

8680
​ 将 ```lidar_type``` 设置为LiDAR类型 。
8781

88-
89-
9082
### 3.3 设置配置文件的lidar-ros部分
9183

9284
```yaml
@@ -98,8 +90,6 @@ ros:
9890

9991
​ 将 ```ros_recv_packet_topic``` 设置为rosbag中的```msop```数据的话题。
10092

101-
102-
10393
### 3.4 运行
10494

10595
​ 运行程序并播放rosbag。

doc/howto/how_to_use_multi_lidars.md

-14
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,12 @@
44

55
This document will show you how to send out multi-LiDARs point cloud with only one driver running. Theoretically, one driver can decoder unlimited number of LiDARs at the same time. For convenient, we will use three LiDARs as an example. Please make sure you have read the LiDAR user-guide and [Intro to parameters](../intro/parameter_intro.md) before reading this document.
66

7-
8-
97
## 2 Online connect with multi-LiDARs
108

119
### 2.1 Get the data port number
1210

1311
Please follow the instructions in LiDAR user-guide to connect the LiDAR and set up your computer's ip address. At this time, you should have already known msop port number and difop port number for each LiDAR. If you have no idea about what it is, please check the LiDAR user-guide first.
1412

15-
16-
1713
### 2.2 Set up the common part of the config file
1814

1915
```yaml
@@ -30,8 +26,6 @@ Since the message come from the LiDAR, set ```msg_source = 1```.
3026

3127
Send point cloud to ROS so set ```send_point_cloud_ros = true```.
3228

33-
34-
3529
### 2.3 Set up the lidar part of the config file
3630

3731
```yaml
@@ -113,14 +107,10 @@ Set ```msop_port``` and ```difop_port``` for each LiDAR.
113107

114108
Set ```ros_send_point_cloud_topic``` for each LiDAR.
115109

116-
117-
118110
### 2.4 Run
119111

120112
Run the demo.
121113

122-
123-
124114
## 3 Offline use rosbag with multi-LiDARs
125115

126116
### 3.1 Set up the common part of the config file
@@ -139,8 +129,6 @@ Since the packets message come from the ROS, set ```msg_source = 2```.
139129

140130
We want to send point cloud to ROS so set ```send_point_cloud_ros = true```.
141131

142-
143-
144132
### 3.2 Set up the lidar part of the config file
145133

146134
```yaml
@@ -222,8 +210,6 @@ Set the ```ros_recv_packet_topic``` for each LiDAR which need to corresbond to t
222210

223211
Set ```ros_send_point_cloud_topic``` for each LiDAR.
224212

225-
226-
227213
### 3.3 Run
228214

229215
Run the program & play rosbag.

doc/howto/how_to_use_multi_lidars_cn.md

-14
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,12 @@
44

55
​ 本文档将展示如何在仅运行一个驱动程序的情况解析并发送多台雷达的点云。理论上,一个驱动可以同时解码无限数量的雷达。为了方便起见,本文档将会使用三个雷达作为示例。在阅读本文档之前, 请确保已经阅读过雷达用户手册和[参数简介](../intro/parameter_intro.md)
66

7-
8-
97
## 2 在线解析多雷达
108

119
### 2.1 获取数据端口号
1210

1311
​ 首先将三个雷达与计算机正确连接,此时应已知每个LiDAR的msop端口号 与 difop端口号。 如果不清楚上述内容,请查看雷达用户手册。
1412

15-
16-
1713
### 2.2 设置参数文件的common部分
1814

1915
```yaml
@@ -30,8 +26,6 @@ common:
3026

3127
​ 将点云发送到ROS以查看,因此设置 ```send_point_cloud_ros = true``` 。
3228

33-
34-
3529
### 2.3 设置配置文件中的lidar部分
3630

3731
```yaml
@@ -113,14 +107,10 @@ lidar:
113107

114108
​ 为每个雷达设置点云发送的话题```ros_send_point_cloud_topic```。
115109

116-
117-
118110
### 2.4 运行
119111

120112
​ 运行程序。
121113

122-
123-
124114
## 3 离线解析多雷达rosbag
125115

126116
### 3.1 设置配置文件中的common部分
@@ -139,8 +129,6 @@ common:
139129

140130
​ 将点云发送到ROS,因此设置 ```send_point_cloud_ros = true```。
141131

142-
143-
144132
### 3.2 设置配置文件中的lidar部分
145133

146134
```yaml
@@ -222,8 +210,6 @@ lidar:
222210

223211
​ 为每个雷达设置点云发送的话题```ros_send_point_cloud_topic```。
224212

225-
226-
227213
### 3.3 运行
228214

229215
​ 运行程序并播放rosbag。

0 commit comments

Comments
 (0)