Skip to content

feat(autoware_carla_interface): add light weight sensor config#12525

Open
mitsudome-r wants to merge 4 commits intoautowarefoundation:mainfrom
mitsudome-r:feat/add-light-weight-carla-config
Open

feat(autoware_carla_interface): add light weight sensor config#12525
mitsudome-r wants to merge 4 commits intoautowarefoundation:mainfrom
mitsudome-r:feat/add-light-weight-carla-config

Conversation

@mitsudome-r
Copy link
Copy Markdown
Member

@mitsudome-r mitsudome-r commented Apr 30, 2026

Description

Adds an optional light-weight sensor configuration for autoware_carla_interface to make CARLA simulation usable on machines with limited GPU/CPU resources.

  • New use_light_weight_sensor_mapping launch argument (default False). When True, the launch file selects config/sensor_mapping_light_weight.yaml and skips the image_transport republish nodes for the disabled cameras and the multi_camera_combiner node.
  • The light-weight mapping uses a single front camera (CAM_FRONT, 120° FOV, 1080x720) instead of the default 6-camera 360° setup, and lowers LiDAR/camera frequency to 10 Hz. LiDAR/IMU/GNSS configuration is otherwise unchanged.
  • README updated with a new "Light-Weight Sensor Mapping" subsection and parameter table entries.
  • SensorKitLoader now logs a warning when it falls back to the source-tree default sensor mapping path, to make the fallback visible during debugging.

Related links

Parent Issue:

How was this PR tested?

  • Launched e2e_simulator.launch.xml with simulator_type:=carla and use_light_weight_sensor_mapping:=True, confirmed only CAM_FRONT is published and multi_camera_combiner is not started.
  • Launched the same with use_light_weight_sensor_mapping:=False (default) and confirmed all 6 cameras and the combiner still come up as before.
  • Verified LiDAR, IMU, and GNSS topics are published in both modes.

Notes for reviewers

The default behavior is unchanged — use_light_weight_sensor_mapping defaults to False and the existing sensor_mapping.yaml is selected. Reviewers who don't use the flag should see no functional difference.

Interface changes

None.

Effects on system behavior

None.

@github-actions github-actions Bot added type:documentation Creating or refining documentation. (auto-assigned) component:simulation Virtual environment setups and simulations. (auto-assigned) labels Apr 30, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 30, 2026

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

@mitsudome-r mitsudome-r marked this pull request as ready for review May 6, 2026 13:12
@mitsudome-r mitsudome-r requested a review from maxime-clem as a code owner May 6, 2026 13:12
@mitsudome-r mitsudome-r force-pushed the feat/add-light-weight-carla-config branch from 2c50aff to 9fa63f4 Compare May 6, 2026 13:13
@mitsudome-r mitsudome-r added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label May 6, 2026
Copy link
Copy Markdown
Contributor

@maxime-clem maxime-clem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested with both use_light_weight_sensor_mapping:=False and use_light_weight_sensor_mapping:=True and in both cases Autoware could correctly localize.

mitsudome-r and others added 4 commits May 7, 2026 18:43
Signed-off-by: Ryohsuke Mitsudome <ryohsuke.mitsudome@tier4.jp>
Signed-off-by: Ryohsuke Mitsudome <ryohsuke.mitsudome@tier4.jp>
Signed-off-by: Ryohsuke Mitsudome <ryohsuke.mitsudome@tier4.jp>
@mitsudome-r mitsudome-r force-pushed the feat/add-light-weight-carla-config branch from 9fa63f4 to f222d0e Compare May 7, 2026 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component:simulation Virtual environment setups and simulations. (auto-assigned) run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) type:documentation Creating or refining documentation. (auto-assigned)

Projects

Status: To Triage

Development

Successfully merging this pull request may close these issues.

2 participants