Skip to content

Fix a crash in single-argument mode, add param dumping - #537

Merged
JanuszBedkowski merged 1 commit into
MapsHD:mainfrom
adamdbrw:fix/headless-argv-and-default-params
Sep 23, 2026
Merged

JanuszBedkowski merged 1 commit into
MapsHD:mainfrom
adamdbrw:fix/headless-argv-and-default-params

Conversation

@adamdbrw

Copy link
Copy Markdown
Contributor

Running lidar_odometry_step_1 <input_folder> read argv[3], which does not exist, so the results path was garbage. It now saves into the next free <input_folder>/lio_result_N, like the GUI, and exits with an error if the folder holds no Mandeye data.

lidar_odometry_step_1 --dump-default-params <file.toml> writes the default parameters to a file and exits, so you can edit them and run headless without opening the GUI. The help text lists both options.

…p-default-params

Running `lidar_odometry_step_1 <input_folder>` read argv[3], which does not exist,
so the results path was garbage. It now saves into the next free
`<input_folder>/lio_result_N`, like the GUI, and exits with an error if the
folder holds no Mandeye data.

`lidar_odometry_step_1 --dump-default-params <file.toml>` writes the default
parameters to a file and exits, so you can edit them and run headless without
opening the GUI. The help text lists both options.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@JanuszBedkowski
JanuszBedkowski merged commit da5c379 into MapsHD:main Sep 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants