You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/howto/how_to_offline_decode_pcap.md
-8
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,6 @@
4
4
5
5
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.
6
6
7
-
8
-
9
7
## 2 Steps
10
8
11
9
### 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```.
30
28
31
29
Make sure the ```pcap_path``` is correct.
32
30
33
-
34
-
35
31
### 2.3 Set up the lidar-driver part of the config file
36
32
37
33
```yaml
@@ -52,8 +48,6 @@ Set the ```lidar_type``` to your LiDAR type.
52
48
53
49
Set the ```msop_port``` and ```difop_port``` to your LiDAR's port number.
54
50
55
-
56
-
57
51
### 2.4 Set up the lidar-ros part of the config file
58
52
59
53
```yaml
@@ -65,8 +59,6 @@ ros:
65
59
66
60
Set the ```ros_send_point_cloud_topic``` to the topic you want to send.
Copy file name to clipboardExpand all lines: doc/howto/how_to_online_send_point_cloud_ros.md
-10
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,9 @@
1
1
# How to online connect lidar and send point cloud to ROS
2
2
3
-
4
-
5
3
## 1 Introduction
6
4
7
5
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.
8
6
9
-
10
-
11
7
## 2 Steps
12
8
13
9
### 2.1 Get the data port number
@@ -30,8 +26,6 @@ Since the message come from the LiDAR, set ```msg_source = 1```.
30
26
31
27
Send point cloud to ROS so set ```send_point_cloud_ros = true```.
32
28
33
-
34
-
35
29
### 2.3 Set up the lidar-driver part of the config file
36
30
37
31
```yaml
@@ -55,8 +49,6 @@ Set the ```lidar_type``` to your LiDAR type.
55
49
56
50
Set the ```msop_port``` and ```difop_port``` to your LiDAR's port number.
57
51
58
-
59
-
60
52
### 2.4 Set up the lidar-ros part of the config file
61
53
62
54
```yaml
@@ -68,8 +60,6 @@ ros:
68
60
69
61
Set the ```ros_send_point_cloud_topic``` to the topic you want to send.
Copy file name to clipboardExpand all lines: doc/howto/how_to_record_and_offline_decode_rosbag.md
+1-15
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,9 @@
1
1
# How to record and decode rosbag
2
2
3
-
4
-
5
3
## 1 Introduction
6
4
7
5
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.
8
6
9
-
10
-
11
7
## 2 Record
12
8
13
9
### 2.1 Send packet to ROS
@@ -28,8 +24,6 @@ common:
28
24
29
25
In order to record packets, set ```send_packet_ros = true```.
30
26
31
-
32
-
33
27
### 2.2 Record according to the topic
34
28
35
29
```yaml
@@ -45,9 +39,7 @@ User can also adjust the packets topic by adjust the ```ros_send_packet_topic```
45
39
rosbag record /rslidar_packets /rslidar_packets_difop -O bag
46
40
```
47
41
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.**
51
43
52
44
## 3 Offline Decode
53
45
@@ -69,8 +61,6 @@ Since the packets message come from the ROS, set ```msg_source = 2```.
69
61
70
62
We want to send point cloud to ROS so set ```send_point_cloud_ros = true```.
71
63
72
-
73
-
74
64
### 3.2 Set up the lidar-driver part of the config file
75
65
76
66
```yaml
@@ -89,8 +79,6 @@ lidar:
89
79
90
80
Set the ```lidar_type``` to your LiDAR type.
91
81
92
-
93
-
94
82
### 3.3 Set the lidar-ros part of the config file
95
83
96
84
```yaml
@@ -102,8 +90,6 @@ ros:
102
90
103
91
Set up the ```ros_recv_packet_topic``` to the ```msop``` topic in the rosbag.
Copy file name to clipboardExpand all lines: doc/howto/how_to_use_multi_lidars.md
-14
Original file line number
Diff line number
Diff line change
@@ -4,16 +4,12 @@
4
4
5
5
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.
6
6
7
-
8
-
9
7
## 2 Online connect with multi-LiDARs
10
8
11
9
### 2.1 Get the data port number
12
10
13
11
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.
14
12
15
-
16
-
17
13
### 2.2 Set up the common part of the config file
18
14
19
15
```yaml
@@ -30,8 +26,6 @@ Since the message come from the LiDAR, set ```msg_source = 1```.
30
26
31
27
Send point cloud to ROS so set ```send_point_cloud_ros = true```.
32
28
33
-
34
-
35
29
### 2.3 Set up the lidar part of the config file
36
30
37
31
```yaml
@@ -113,14 +107,10 @@ Set ```msop_port``` and ```difop_port``` for each LiDAR.
113
107
114
108
Set ```ros_send_point_cloud_topic``` for each LiDAR.
115
109
116
-
117
-
118
110
### 2.4 Run
119
111
120
112
Run the demo.
121
113
122
-
123
-
124
114
## 3 Offline use rosbag with multi-LiDARs
125
115
126
116
### 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```.
139
129
140
130
We want to send point cloud to ROS so set ```send_point_cloud_ros = true```.
141
131
142
-
143
-
144
132
### 3.2 Set up the lidar part of the config file
145
133
146
134
```yaml
@@ -222,8 +210,6 @@ Set the ```ros_recv_packet_topic``` for each LiDAR which need to corresbond to t
222
210
223
211
Set ```ros_send_point_cloud_topic``` for each LiDAR.
0 commit comments