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/intro/hiding_parameters_intro.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
# Introduction to hiding parameters
1
+
# Introduction to hidden parameters
2
2
3
-
In order to make the config file as simple as possible, we hide some of the parameters and give them a default value in the program. This document show you the use of those hiding parameters and you can decide whether to add them back or not.
3
+
In order to make the config file as simple as possible, we selectively hide some of the parameters and give them a default value in the program. If not added to ```config.yaml```, the default values will be used. This document explains the meanings of these these hidden parameters.
4
4
5
5
6
6
@@ -55,13 +55,13 @@ lidar:
55
55
56
56
- ```angle_path```-- The path of the angle.csv. For latest version of LiDARs, this parameter can be ignored.
57
57
- ```split_frame_mode```-- The mode to split the LiDAR frames. Default value is ```1```.
58
-
- 1 -- Spliting frames depends on the cut_angle
59
-
- 2 -- Spliting frames depends on a fixed number of packets
60
-
- 3 -- Spliting frames depends on num_pkts_split
58
+
- 1 -- Spliting frames depending on the cut_angle
59
+
- 2 -- Spliting frames depending on a fixed number of packets
60
+
- 3 -- Spliting frames depending on num_pkts_split
61
61
- ```cut_angle```-- The angle(degree) to split frames. Only be used when ```split_frame_mode = 1```. The default value is ```0```.
62
62
- ```num_pkts_split```-- The number of packets in one frame. Only be used when ```split_frame_mode = 3```.
63
63
- ```wait_for_difop```-- If set to false, the driver will not wait for difop packet and send out the point cloud immediately. The default value is ```true```.
64
64
- ```saved_by_rows```-- The default point cloud is stored in **column major order**, which means if there is a point msg.point_cloud_ptr->at(i) , the next point on the same ring should be msg.point_cloud_ptr->at(i+msg.height). If this parameter is set to ```true``` , the point cloud will be stored in **row major order**.
65
65
- ```multi_cast_address```-- If use multi-cast function, this parameter need to be set correctly. For more details, please refer to [Multi-Cast](../howto/how_to_use_multi_cast_function.md)
66
66
67
-
- ```x, y, z, roll, pitch, yaw ```-- The parameters to do cooridiante transformation. If the coordinate transformation function is enabled in driver core, the output point cloud will be auto transformed based on these parameters. For more details, please refer to [Coordinate Transformation](../howto/how_to_use_coordinate_transformation.md)
67
+
- ```x, y, z, roll, pitch, yaw ```-- The parameters to do cooridiante transformation. If the coordinate transformation function is enabled in driver core, the output point cloud will be transformed based on these parameters. For more details, please refer to [Coordinate Transformation](../howto/how_to_use_coordinate_transformation.md)
Copy file name to clipboardExpand all lines: doc/intro/parameter_intro.md
+11-10
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,16 @@
1
1
# Parameters Introduction
2
2
3
-
There is only one configure file ```config.yaml```, which is stored in ```rslidar_sdk/config```. The config.yaml can be divided into two parts, the common part and the lidar part . *In multi-LiDARs case, the parameters in common part will be shared by all LiDARs, while the parameters in lidar part need to be adjust for each LiDAR.*
3
+
There is only one configure file ```config.yaml```, which is stored in ```rslidar_sdk/config```. The ```config.yaml``` can be divided into two parts, the common part and the lidar part .
4
4
5
-
**The config.yaml is very strict to indentation! Please make sure the indentation is not changed when adjusting the parameters!**
5
+
*In multi-LiDARs case, the parameters in common part will be shared by all LiDARs, while the parameters in lidar part need to be adjust for each LiDAR.*
6
+
7
+
**config.yaml is indentation sensitive! Please make sure the indentation is not changed when adjusting the parameters!**
6
8
7
9
8
10
9
11
## 1 Common
10
12
11
-
This part is used to decide the source of LiDAR data, and whether to send out the result or not.
13
+
This part is used to decide the source of LiDAR data, and whether to publish point clouds or not.
12
14
13
15
```yaml
14
16
common:
@@ -39,8 +41,7 @@ common:
39
41
- true -- The lidar packets will be sent to ROS or ROS2.
40
42
41
43
42
-
43
-
*Since the ROS packet message type is robosense self-defined type, you can't directly echo the topic through ROS. Mostly the packets are only used to record offline bag because the size is much smaller than point cloud.*
44
+
*Since the ROS packet message is of a customized message type, you can't directly echo the topic through ROS. Mostly the packets are only used to record offline bag because the size is much smaller than point cloud.*
44
45
45
46
- send_point_cloud_ros
46
47
@@ -58,7 +59,7 @@ common:
58
59
- true -- The lidar point cloud will be sent out as protobuf message through ethernet in UDP protocal.
59
60
60
61
61
-
*We suggest sending packets through ethernet by protobuf rather than point cloud because point cloud size is too larger and it may take up a lot of bandwidth.*
62
+
*We suggest sending packets rather than point clouds through ethernet by protobuf because point cloud size is too large which may take up a lot of bandwidth.*
62
63
63
64
- pcap_path
64
65
@@ -68,7 +69,7 @@ common:
68
69
69
70
## 2 lidar
70
71
71
-
This part need to be adjust according to different LiDAR (in multi-LiDARs case).
72
+
This part needs to be adjusted for every LiDAR seperately (in multi-LiDARs case).
72
73
73
74
```yaml
74
75
lidar:
@@ -126,9 +127,9 @@ lidar:
126
127
127
128
## 3 Example
128
129
129
-
Here are two example configure files for one LiDAR and three LiDAR configure files. Please adjust the specific parameters according to your own case.
130
+
Here are two examples. The first configure file is for single LiDAR case and second is used for the case where there are 3 LiDARs. Please adjust the specific parameters according to your own case.
130
131
131
-
- Online connect one LiDAR & Send point cloud to ROS
132
+
- Online connection to single LiDAR & Send point cloud to ROS
132
133
133
134
```yaml
134
135
common:
@@ -164,7 +165,7 @@ lidar:
164
165
packet_send_ip: 127.0.0.1
165
166
```
166
167
167
-
- Online connect three LiDARs & Send point cloud to ROS
168
+
- Online connection to three LiDARs & Send point cloud to ROS
0 commit comments