-
Notifications
You must be signed in to change notification settings - Fork 718
nav tooling
I guess we need to store goal placement so that we can replay kronkav exactly?
TODO: can we run IRL kronknav in parallel with recording? (so that we have nice bug report if it fails)
TODO: just 2D go2 lidar/global map + kronknav + Dan trajectory
I guess we need to store goal placement so that we can replay kronkav exactly?
https://github.com/dimensionalOS/dimos/blob/main/dimos/mapping/utils/cli/dataset_validation.md
we need this to improve the algo, a user can bugreport a bad nav, then we can replay, change the code, improve
TODO: I guess sensor data + point clicks should be enough to reproduce
uv run maturin develop --uv --release -m dimos/mapping/ray_tracing/rust/Cargo.toml && uv run maturin develop --uv --release -m dimos/navigation/nav_3d/mls_planner/rust/Cargo.tomluv run python -m dimos.navigation.nav_3d.mls_planner.utils.plan_rrd ~/recordings/china_office_pointlio_sensor.db --robot-height 0.4 --lidar-stream pointlio_lidar --odom-stream pointlio_odom- Record mid360 with PCAP enabled, see the
go2_mid360.mddoc (in dimos) - Use
pcap_to_db.pyto generate alternative lidar/odom outcomes - renders to rerun
You can see/edit the default Point-LIO config here.
python -m dimos.hardware.sensors.lidar.pointlio.scripts.pcap_to_db --pcap mid360_shake_stairs/mid360_shake_stairs.pcap --db stairs.dbwill open up rerun with aggregated map + odom path create a new db file with the pointlio stream
generate a global map from this via
dimos map global --lidar pointlio_lidar --pgo-tol=0 --no-carve
The module aliases the synthetic IPs onto lo0, which needs sudo. A tty-less
worker can't prompt, so set up the interface by hand, then pass
--no-network-setup:
sudo ifconfig lo0 alias 192.168.1.5 netmask 255.255.255.0
sudo ifconfig lo0 alias 192.168.1.155 netmask 255.255.255.0
sudo route -n add -host 224.1.1.5 -interface lo0
sudo route -n add -host 255.255.255.255 -interface lo0
python -m dimos.hardware.sensors.lidar.pointlio.scripts.pcap_to_db \
--pcap "$PCAP" --no-network-setup