Skip to content

Commit 153d83c

Browse files
fix lidars in ROSBot prefabs (o3de#588)
Signed-off-by: Jan Hanca <[email protected]>
1 parent d0b9f7e commit 153d83c

File tree

2 files changed

+14
-31
lines changed

2 files changed

+14
-31
lines changed

Gems/RosRobotSample/Assets/ROSBot_slamtec.prefab

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -801,24 +801,13 @@
801801
},
802802
"lidarCore": {
803803
"lidarConfiguration": {
804-
"lidarModelName": "CustomLidar2D",
804+
"lidarModelName": "Slamtec RPLIDAR S1",
805805
"lidarImplementation": "Scene Queries",
806806
"LidarParameters": {
807-
"Name": "CustomLidar2D",
808-
"Layers": 1,
809-
"Points per layer": 924,
810-
"Min horizontal angle": -180.0,
811-
"Max horizontal angle": 180.0,
812-
"Min vertical angle": 0.0,
813-
"Max vertical angle": 0.0,
814-
"Min range": 0.0,
815-
"Max range": 100.0,
816-
"Enable Noise": true,
817-
"Noise Parameters": {
818-
"Angular noise standard deviation": 0.0,
819-
"Distance noise standard deviation base": 0.019999999552965164,
820-
"Distance noise standard deviation slope": 0.0010000000474974513
821-
}
807+
"Name": "Slamtec RPLIDAR S1",
808+
"Points per layer": 921,
809+
"Min range": 0.10000000149011612,
810+
"Max range": 40.0
822811
},
823812
"IgnoredLayerIndices": [
824813
1
@@ -864,4 +853,4 @@
864853
]
865854
}
866855
}
867-
}
856+
}

Gems/RosRobotSample/Assets/ROSbot_velodyne.prefab

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -668,23 +668,17 @@
668668
},
669669
"lidarCore": {
670670
"lidarConfiguration": {
671-
"lidarModelName": "CustomLidar",
671+
"lidarModelName": "Velodyne Puck (VLP-16)",
672672
"lidarImplementation": "Scene Queries",
673673
"LidarParameters": {
674-
"Name": "CustomLidar",
675-
"Layers": 24,
676-
"Points per layer": 924,
677-
"Min horizontal angle": -180.0,
678-
"Max horizontal angle": 180.0,
679-
"Min vertical angle": -35.0,
680-
"Max vertical angle": 35.0,
681-
"Min range": 0.0,
682-
"Max range": 100.0,
674+
"Name": "Velodyne Puck (VLP-16)",
675+
"Layers": 16,
676+
"Points per layer": 1800,
677+
"Min vertical angle": 15.0,
678+
"Max vertical angle": -15.0,
683679
"Enable Noise": true,
684680
"Noise Parameters": {
685-
"Angular noise standard deviation": 0.0,
686-
"Distance noise standard deviation base": 0.009999999776482582,
687-
"Distance noise standard deviation slope": 0.0010000000474974513
681+
"Distance noise standard deviation base": 0.029999999329447746
688682
}
689683
},
690684
"IgnoredLayerIndices": [
@@ -731,4 +725,4 @@
731725
]
732726
}
733727
}
734-
}
728+
}

0 commit comments

Comments
 (0)