Repository navigation
Simulation + mapping scripts layout cleanup - #127
Merged
Merged
Conversation
Sync M&L with main
Sync M&L with main
- Missing IMU orientation is now an error, since LIO-SAM needs it. - Configs are validated on load: unknown keys, missing required keys (including bias_correlation_time and orientation.correlation_time, which no longer default to 1 s), wrong types and wrong units. - Raw bags must have /clock and /tf_static, with each sensor frame under the vehicle frame; a 0.1 s lidar tick or a slow IMU is an error. Missing ground truth still only warns.
Add CARLA bag filter to mimic kart LiDAR and IMU
Add LIO-SAM paper-bag params and updated setup docs
Ml/dynamic ros topic
Ml/carla bag script
Ml/bag replay map save script merged to M&L branch (after approval)
Stop LIO-SAM from stealing the lidar_link TF frame
LIO-SAM params + launch for the CARLA sensor set
Ml/map carla script
Update SETUP.md and README.md
autoware ndt + map loader install
…+ projection loaders)
NDT map loader launch
… split up map_carla.sh
HamzaKababji
approved these changes
Nov 29, 2026
HamzaKababji
left a comment
Member
There was a problem hiding this comment.
Looks good, the split makes sense
thanks for cleaning it up chat
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Reorganizes
simulation/into folders and splitsscripts/map_carla.shso each file has one job. No behaviour changes.simulation/common/: code both steps use (carla_frames.py,sensor_config.py)recorder/: code onlyrecord_bag.pyuses (route.py,carla_sensors.py,bag_writer.py, pluscarla_connection.py, which was split out ofcarla_frames.py)record_bag.py/filter_bag.pystay at the top as the two entry points; imports updatedREADME.md(overview),recorder/,FILTER.md,common/,config/,tests/. Nothing was dropped; it was moved.scripts/lib/preflight.sh(new): setup checks other scripts cansource(source_ros,require_pkg,require_python_module,warn_low_disk,stop_leftovers,wait_for_exit)summarize_run.py(new): the end-of-run summary, which used to be a Python heredoc insidemap_carla.shmap_carla.sh: now just glue (flags → checks → params → record → LIO-SAM → summary), with comments explaining each part and why it's bash. evo is unchanged; that gets its own PR.scripts/README.mdhas a new Mapping tableSmall fixes
SETUP.md/map_carla.sh: the examplemap_carla.sh Town02 --shortwas missing--map, and Town02 crashes CARLA 0.9.16, so it now says--map Town01 --shortfilter_bag.pymessages, the YAML comments,src/mapping/config/lio_sam_carla.yamlandsrc/mapping/README.mdTesting
python3 -m pytest simulation/tests: 29 passedmap_carla.sh --dry-run(with--mapand with--bag) prints the same commands as beforeset -uis restored after sourcing ROSsummarize_run.pyoutput is identical to the old heredoc on the same resultsmap_carla.shrun withrun_lio_sam.pyreplaced by a stand-in, so LIO-SAM didn't actually run: the success path prints the summary; the failure path exits 1 with the hint;--paper-imustill patches the 4 IMU values