slam,odometry,perception: di tren doc (G4, slam.yaml slope.enabled, mac dinh tat) -- z robot = tich -ds*sin(pitch IMU) kep phang < 1.5 do va neo vao ban do (HeightEstimator), odometry ngang, scan cho SLAM bu nghieng + bo tia cham san/doc theo ban do do cao tu depth (ScanLeveler, ElevationMap), z/roll/pitch luu vao node + do thi z 1-D + mat san theo node (height_map), voxel dat o z that va vat can tinh tu san cuc bo, xoa tuong gia LiDAR tren doc noi camera da thay mat san, web z uoc luong, --sim-imu-hz

This commit is contained in:
trung09122002
2026-10-04 00:03:02 +07:00
parent 6735b53423
commit f064dcf3ec
32 changed files with 1799 additions and 10 deletions

View File

@@ -115,6 +115,19 @@ Dinh vi lai tu dong: dat robot o cho khac, **khong** cho pose ban dau.
--slam-reloc --slam-reloc-auto 2>&1 | tee logs/sim_reloc.log
```
Di tren doc: bat `slope.enabled: true` trong `slam.yaml` (xem ghi chu khoi `slope:`).
World thu `slope_test.world` co 5 lan doc 5/10/15/20/30 do noi hai mat bang chenh 1.5 m.
`--sim-imu-hz 100` cho IMU mo phong giong WT61PC sau khi doi 115200 baud.
```sh
./build/app/vslam_node --sim --sim-gl --sim-imu-hz 100 --world resources/worlds/slope_test.world \
--x 6.4 --y 4.0 --yaw 1.5708 --max-speed 0.3 --token t \
--slam --slam-db "slope_{stamp}.db" --slam-mode mapping 2>&1 | tee logs/sim_slope.log
```
Web hien `z uoc luong` canh `z that`. Robot that: **doi WT61PC sang 115200 baud / 100 Hz
va dat `mcu.baud: 115200` truoc khi bat** -- IMU 10 Hz cho sai ~19 cm moi doc 1.5 m (sim).
### Robot that (Jetson)
```sh