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: README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -194,6 +194,12 @@ Inside the link entity in your model, add a custom sensor:
194
194
<pattern_preset>OS1 64</pattern_preset>
195
195
<pattern_preset>Pandar64</pattern_preset>
196
196
<pattern_preset>Pandar40P</pattern_preset>
197
+
<pattern_preset>Livox Avia</pattern_preset>
198
+
<pattern_preset>Livox Horizon</pattern_preset>
199
+
<pattern_preset>Livox Mid40</pattern_preset>
200
+
<pattern_preset>Livox Mid70</pattern_preset>
201
+
<pattern_preset>Livox Mid360</pattern_preset>
202
+
<pattern_preset>Livox Tele15</pattern_preset>
197
203
```
198
204
**Note:** Before launching the simulation it is required to set`RGL_PATTERNS_DIR` environment variable with the path to pattern presets directory (`lidar_patterns` from repository).
if (!LidarPatternLoader::Load(sdf, lidarPattern)) {
76
+
if (!LidarPatternLoader::Load(sdf, lidarPattern, lidarPatternSampleSize)) {
77
+
returnfalse;
78
+
}
79
+
80
+
if ((lidarPattern.size() % lidarPatternSampleSize) != 0) {
81
+
gzerr << "Total pattern size (" << lidarPattern.size() << ") must be a multiple of the sample size (" << lidarPatternSampleSize << "). Disabling plugin.\n";
0 commit comments