sim: dia hinh 3D -- doc va san cao tu model vslam_terrain_*, robot di tren mat san, LiDAR tia 3D, ground truth 6-DoF, world slope_test (5 doc 5-30 do)

This commit is contained in:
trung09122002
2026-10-03 18:31:13 +07:00
parent be2aa17e3e
commit 26ee1a3b72
27 changed files with 2373 additions and 37 deletions

View File

@@ -0,0 +1,22 @@
# cot 0.4 x 0.4 x 1.0 m, day o goc model. Dat tren san cao 1.5 m: z the gioi 1.5..2.5,
# NGOAI dai z tuyet doi [0.05, 1.2] cu nhung TRONG dai tinh tu san cuc bo.
v -0.200 -0.200 0.000
v 0.200 -0.200 0.000
v 0.200 0.200 0.000
v -0.200 0.200 0.000
v -0.200 -0.200 1.000
v 0.200 -0.200 1.000
v 0.200 0.200 1.000
v -0.200 0.200 1.000
f 1 2 3
f 1 3 4
f 5 6 7
f 5 7 8
f 1 2 6
f 1 6 5
f 3 4 8
f 3 8 7
f 2 3 7
f 2 7 6
f 4 1 5
f 4 5 8

View File

@@ -0,0 +1,9 @@
<?xml version="1.0"?>
<sdf version="1.6"><model name="pillar_upper"><static>true</static><link name="l">
<visual name="visual"><geometry><mesh>
<uri>model://pillar_upper/meshes/pillar.obj</uri>
</mesh></geometry></visual>
<collision name="collision"><geometry><mesh>
<uri>model://pillar_upper/meshes/pillar.obj</uri>
</mesh></geometry></collision>
</link></model></sdf>

View File

@@ -0,0 +1,22 @@
# mat ban 0.8 x 0.6 x 0.05 m o do cao 0.70..0.75 m. Mat tren huong LEN nhung
# KHONG phai dia hinh: phai la vat can, va san duoi no van la 0.
v -0.400 -0.300 0.700
v 0.400 -0.300 0.700
v 0.400 0.300 0.700
v -0.400 0.300 0.700
v -0.400 -0.300 0.750
v 0.400 -0.300 0.750
v 0.400 0.300 0.750
v -0.400 0.300 0.750
f 1 2 3
f 1 3 4
f 5 6 7
f 5 7 8
f 1 2 6
f 1 6 5
f 3 4 8
f 3 8 7
f 2 3 7
f 2 7 6
f 4 1 5
f 4 5 8

View File

@@ -0,0 +1,9 @@
<?xml version="1.0"?>
<sdf version="1.6"><model name="table_slab"><static>true</static><link name="l">
<visual name="visual"><geometry><mesh>
<uri>model://table_slab/meshes/slab.obj</uri>
</mesh></geometry></visual>
<collision name="collision"><geometry><mesh>
<uri>model://table_slab/meshes/slab.obj</uri>
</mesh></geometry></collision>
</link></model></sdf>

View File

@@ -0,0 +1,21 @@
# Fixture dia hinh: san duoi z=0 (x -4..0), doc 10 do len 1.5 m (x 0..8.5069),
# san tren z=1.5 (x 8.5069..12.5069). y -1.5..1.5. Z-UP, met. Ten model bat dau
# bang vslam_terrain_ nen bo mo phong coi day la SAN, khong phai vat can.
v -4.00000 -1.50000 0.00000
v 0.00000 -1.50000 0.00000
v 0.00000 1.50000 0.00000
v -4.00000 1.50000 0.00000
f 1 2 3
f 1 3 4
v 0.00000 -1.50000 0.00000
v 8.50692 -1.50000 1.50000
v 8.50692 1.50000 1.50000
v 0.00000 1.50000 0.00000
f 5 6 7
f 5 7 8
v 8.50692 -1.50000 1.50000
v 12.50692 -1.50000 1.50000
v 12.50692 1.50000 1.50000
v 8.50692 1.50000 1.50000
f 9 10 11
f 9 11 12

View File

@@ -0,0 +1,9 @@
<?xml version="1.0"?>
<sdf version="1.6"><model name="vslam_terrain_ramp"><static>true</static><link name="l">
<visual name="visual"><geometry><mesh>
<uri>model://vslam_terrain_ramp/meshes/ramp.obj</uri>
</mesh></geometry></visual>
<collision name="collision"><geometry><mesh>
<uri>model://vslam_terrain_ramp/meshes/ramp.obj</uri>
</mesh></geometry></collision>
</link></model></sdf>

View File

@@ -0,0 +1,21 @@
<?xml version="1.0"?>
<!-- Fixture dia hinh 3D: MOT doc 10 do noi san z = 0 voi san cao 1.5 m.
- vslam_terrain_ramp: dia hinh (ten bat dau bang vslam_terrain_) -> SAN.
- pillar_upper: cot dung TREN san cao (z 1.5..2.5). Dai z tuyet doi cu
[0.05, 1.2] se bo no; tinh tu san cuc bo thi no la vat can.
- table_slab: mat ban huong len o 0.70 m. Khong phai dia hinh -> vat can,
va robot khong duoc "leo" len no. -->
<sdf version="1.6"><world name="ramp">
<model name="vslam_terrain_ramp_1"><include>
<uri>model://vslam_terrain_ramp</uri><static>true</static>
<pose>0 0 0 0 0 0</pose>
</include></model>
<model name="pillar_upper_1"><include>
<uri>model://pillar_upper</uri><static>true</static>
<pose>10.5 0 1.5 0 0 0</pose>
</include></model>
<model name="table_slab_1"><include>
<uri>model://table_slab</uri><static>true</static>
<pose>-2.5 1.0 0 0 0 0</pose>
</include></model>
</world></sdf>