No version for distro humble showing github. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_carla_interface package from autoware_universe repo

autoware_boundary_departure_checker autoware_component_interface_specs_universe autoware_cuda_dependency_meta autoware_deprecated_boundary_departure_checker autoware_fake_test_node autoware_glog_component autoware_goal_distance_calculator autoware_grid_map_utils autoware_obstacle_proximity_checker autoware_path_distance_calculator autoware_time_utils autoware_traffic_light_compliance_checker autoware_traffic_light_recognition_marker_publisher autoware_traffic_light_utils autoware_universe_utils tier4_api_utils autoware_autonomous_emergency_braking autoware_collision_detector autoware_control_command_gate autoware_control_performance_analysis autoware_control_validator autoware_external_cmd_selector autoware_joy_controller autoware_lane_departure_checker autoware_mpc_lateral_controller autoware_obstacle_collision_checker autoware_operation_mode_transition_manager autoware_pid_longitudinal_controller autoware_predicted_path_checker autoware_pure_pursuit autoware_shift_decider autoware_smart_mpc_trajectory_follower autoware_spheric_collision_detector autoware_stop_mode_operator autoware_trajectory_follower_base autoware_trajectory_follower_node autoware_vehicle_cmd_gate autoware_tensorrt_vad autoware_control_evaluator autoware_evaluation_adapter autoware_kinematic_evaluator autoware_localization_evaluator autoware_perception_online_evaluator autoware_planning_evaluator autoware_scenario_simulator_v2_adapter autoware_diagnostic_graph_test_examples autoware_geo_pose_projector autoware_ar_tag_based_localizer autoware_landmark_manager autoware_lidar_marker_localizer autoware_localization_error_monitor autoware_pose_covariance_modifier autoware_pose_estimator_arbiter autoware_pose_initialization_requester autoware_pose_instability_detector yabloc_common yabloc_image_processing yabloc_monitor yabloc_particle_filter yabloc_pose_initializer autoware_map_tf_generator autoware_bevfusion autoware_bytetrack autoware_camera_streampetr autoware_cluster_merger autoware_compare_map_segmentation autoware_crosswalk_traffic_light_estimator autoware_detected_object_feature_remover autoware_detected_object_validation autoware_detection_by_tracker autoware_elevation_map_loader autoware_euclidean_cluster autoware_ground_segmentation autoware_ground_segmentation_cuda autoware_image_object_locator autoware_image_projection_based_fusion autoware_lidar_apollo_instance_segmentation autoware_lidar_centerpoint autoware_lidar_frnet autoware_lidar_transfusion autoware_map_based_prediction autoware_multi_object_tracker autoware_object_merger autoware_object_sorter autoware_occupancy_grid_map_outlier_filter autoware_predicted_path_postprocessor autoware_probabilistic_occupancy_grid_map autoware_ptv3 autoware_radar_fusion_to_detected_object autoware_radar_object_tracker autoware_radar_tracks_msgs_converter autoware_raindrop_cluster_filter autoware_shape_estimation autoware_simpl_prediction autoware_simple_object_merger autoware_tensorrt_bevdet autoware_tensorrt_bevformer autoware_tensorrt_classifier autoware_tensorrt_common autoware_tensorrt_plugins autoware_tensorrt_yolox autoware_tracking_object_merger autoware_traffic_light_arbiter autoware_traffic_light_category_merger autoware_traffic_light_classifier autoware_traffic_light_fine_detector autoware_traffic_light_map_based_detector autoware_traffic_light_multi_camera_fusion autoware_traffic_light_occlusion_predictor autoware_traffic_light_pipeline autoware_traffic_light_selector autoware_traffic_light_visualization perception_utils autoware_costmap_generator autoware_diffusion_planner autoware_external_velocity_limit_selector autoware_freespace_planner autoware_freespace_planning_algorithms autoware_hazard_lights_selector autoware_in_lane_mrm_planner autoware_manual_lane_change_handler autoware_minimum_rule_based_planner autoware_mission_planner_universe autoware_path_optimizer autoware_path_smoother autoware_remaining_distance_time_calculator autoware_rtc_interface autoware_scenario_selector autoware_surround_obstacle_checker autoware_trajectory_adapter autoware_trajectory_concatenator autoware_trajectory_gate autoware_trajectory_modifier autoware_trajectory_ranker autoware_trajectory_selector autoware_trajectory_validator autoware_behavior_path_avoidance_by_lane_change_module autoware_behavior_path_bidirectional_traffic_module autoware_behavior_path_direction_change_module autoware_behavior_path_dynamic_obstacle_avoidance_module autoware_behavior_path_external_request_lane_change_module autoware_behavior_path_goal_planner_module autoware_behavior_path_lane_change_module autoware_behavior_path_planner autoware_behavior_path_planner_common autoware_behavior_path_sampling_planner_module autoware_behavior_path_side_shift_module autoware_behavior_path_start_planner_module autoware_behavior_path_static_obstacle_avoidance_module autoware_behavior_velocity_blind_spot_module autoware_behavior_velocity_crosswalk_module autoware_behavior_velocity_detection_area_module autoware_behavior_velocity_intersection_module autoware_behavior_velocity_no_drivable_lane_module autoware_behavior_velocity_no_stopping_area_module autoware_behavior_velocity_occlusion_spot_module autoware_behavior_velocity_roundabout_module autoware_behavior_velocity_rtc_interface autoware_behavior_velocity_speed_bump_module autoware_behavior_velocity_template_module autoware_behavior_velocity_traffic_light_module autoware_behavior_velocity_virtual_traffic_light_module autoware_behavior_velocity_walkway_module autoware_motion_velocity_boundary_departure_prevention_module autoware_motion_velocity_dynamic_obstacle_stop_module autoware_motion_velocity_obstacle_cruise_module autoware_motion_velocity_obstacle_slow_down_module autoware_motion_velocity_obstacle_velocity_limiter_module autoware_motion_velocity_out_of_lane_module autoware_motion_velocity_road_user_stop_module autoware_motion_velocity_run_out_module autoware_planning_validator autoware_planning_validator_intersection_collision_checker autoware_planning_validator_latency_checker autoware_planning_validator_rear_collision_checker autoware_planning_validator_test_utils autoware_planning_validator_trajectory_checker autoware_bezier_sampler autoware_frenet_planner autoware_path_sampler autoware_sampler_common autoware_calibration_status_classifier autoware_cuda_pointcloud_preprocessor autoware_cuda_utils autoware_image_transport_decompressor autoware_imu_corrector autoware_pcl_extensions autoware_pointcloud_preprocessor autoware_radar_objects_adapter autoware_radar_scan_to_pointcloud2 autoware_radar_static_pointcloud_filter autoware_radar_threshold_filter autoware_radar_tracks_noise_filter autoware_carla_interface autoware_dummy_diag_publisher autoware_dummy_infrastructure autoware_dummy_traffic_light_publisher autoware_fault_injection autoware_redundancy_command_selector autoware_vehicle_door_simulator tier4_dummy_object_rviz_plugin autoware_command_mode_decider autoware_command_mode_decider_plugins autoware_command_mode_switcher autoware_command_mode_switcher_plugins autoware_command_mode_types autoware_component_state_monitor autoware_adapi_visualizers autoware_default_adapi_universe autoware_diagnostic_graph_aggregator autoware_diagnostic_graph_merger autoware_diagnostic_graph_utils autoware_driving_mode_manager autoware_duplicated_node_checker autoware_generic_service_divider autoware_hazard_status_converter autoware_mrm_comfortable_stop_operator autoware_mrm_emergency_stop_operator autoware_mrm_handler autoware_mrm_in_lane_stop_operator autoware_mrm_reset_manager autoware_mrm_steering_hold_stop_operator autoware_pipeline_latency_monitor autoware_processing_time_checker autoware_redundancy_adapi_switcher autoware_redundancy_switcher_interface autoware_redundancy_switcher_interface_plugins autoware_system_monitor autoware_topic_relay_controller autoware_topic_state_monitor autoware_velodyne_monitor autoware_accel_brake_map_calibrator autoware_external_cmd_converter autoware_raw_vehicle_cmd_converter autoware_steer_offset_estimator autoware_bag_time_manager_rviz_plugin autoware_traffic_light_rviz_plugin tier4_active_generator_rviz_plugin tier4_adapi_rviz_plugin tier4_camera_view_rviz_plugin tier4_control_mode_rviz_plugin tier4_manual_lane_change_rviz_plugin tier4_perception_rviz_plugin tier4_planning_factor_rviz_plugin tier4_state_rviz_plugin tier4_traffic_light_rviz_plugin tier4_vehicle_rviz_plugin

ROS Distro
github

Package Summary

Version 0.53.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_universe.git
VCS Type git
VCS Version main
Last Updated 2026-10-23
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The carla autoware bridge package

Maintainers

  • Muhammad Raditya GIOVANNI
  • Maxime CLEMENT
  • Masaya Kataoka
  • Bin Wang
  • Ujin Kwon

Authors

No additional authors.

autoware_carla_interface

ROS 2 / Autoware Universe bridge for CARLA simulator

Thanks to https://github.com/gezp for ROS 2 Humble support for CARLA Communication. This ros package enables communication between Autoware and CARLA for autonomous driving simulation.

Supported Environment

ubuntu ros carla autoware
22.04 humble 0.9.15 Main

Setup

Install

Prerequisites

  1. Install CARLA 0.9.15: Follow the CARLA Installation Guide

  2. Install CARLA Python Package: Install CARLA 0.9.15 ROS 2 Humble communication package

    • Option A: Install the wheel using pip
    • Option B: Add the egg file to your PYTHONPATH
  3. Download CARLA Lanelet2 Maps: Get the y-axis inverted maps from CARLA Autoware Contents

Map Setup

  1. Download the maps (y-axis inverted version) to an arbitrary location
  2. Create the map folder structure in $HOME/autoware_data/maps:
    • Rename point_cloud/Town01.pcd → $HOME/autoware_data/maps/Town01/pointcloud_map.pcd
    • Rename vector_maps/lanelet2/Town01.osm → $HOME/autoware_data/maps/Town01/lanelet2_map.osm
  3. Create $HOME/autoware_data/maps/Town01/map_projector_info.yaml with:
   projector_type: Local
   

Build

colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release

Run

  1. Run carla, change map, spawn object if you need
   cd CARLA
   ./CarlaUE4.sh -prefernvidia -quality-level=Low -RenderOffScreen
   
  1. Run Autoware with CARLA
   ros2 launch autoware_launch e2e_simulator.launch.xml \
       map_path:=$HOME/autoware_data/maps/Town01 \
       vehicle_model:=sample_vehicle \
       sensor_model:=carla_sensor_kit \
       simulator_type:=carla
   

For E2E planning with VAD:

   ros2 launch autoware_launch e2e_simulator.launch.xml \
       map_path:=$HOME/autoware_data/maps/Town01 \
       vehicle_model:=sample_vehicle \
       sensor_model:=carla_sensor_kit \
       simulator_type:=carla \
       use_e2e_planning:=true
   
  1. Set initial pose (Init by GNSS)
  2. Set goal position
  3. Wait for planning
  4. Engage

Viewing Multi-Camera View in RViz

The carla_sensor_kit includes 6 cameras providing 360-degree coverage (Front, Front-Left, Front-Right, Back, Back-Left, Back-Right). A multi-camera combiner node automatically combines all camera feeds into a single 2x3 grid view.

To view the combined camera feed in RViz:

  1. In the Displays panel (left side), click the “Add” button
  2. Select the “By topic” tab
  3. Navigate to /sensing/camera/all_cameras/image_raw
  4. Select “Image” display type
  5. Click OK

Multi-Camera View in RViz

The combined view shows all 6 cameras with labels: FL (Front-Left), F (Front), FR (Front-Right), BL (Back-Left), B (Back), BR (Back-Right).

Note: If you don’t need the multi-camera combiner (to save CPU resources), you can comment out the following line in launch/autoware_carla_interface.launch.xml:

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_carla_interface

0.53.0 (2026-09-29)

  • Merge remote-tracking branch 'origin/main' into prepare-0.53.0-changelog

  • feat(autoware_carla_interface): allow cameras to publish bgr8 (#13411) CARLA renders BGRA and fills the alpha channel with 255. Nothing downstream reads it, so publishing bgra8 spends a quarter of every camera message on a constant. Accept bgr8 as an image_encoding alongside bgra8 and mono8: it drops the alpha channel and nothing else, so a consumer that wants colour gets the same picture for three quarters of the bytes -- 4,320,000 instead of 5,760,000 for a 1600x900 frame. Unlike mono8 it costs no information, so it is the cheaper default for any colour consumer. The default stays bgra8. Claude-Session: https://claude.ai/code/session_011TMdPd8VUDxUrFtckxg2AQ Co-authored-by: Masaya Kataoka <<ms.kataoka@gmail.com>>

  • fix(autoware_carla_interface): stamp each sensor measurement with the frame it was captured on (#13408)

  • feat(autoware_carla_interface): let a sensor mapping set the CARLA capture rate (#13407)

  • feat(autoware_carla_interface): publish CARLA vehicles as ground truth detections (#13321)

    * feat(autoware_carla_interface): publish CARLA vehicles as ground truth detections Adds an opt-in parameter, publish_ground_truth_objects (default: false, no behavior change), that publishes every CARLA vehicle except the ego to /perception/object_recognition/detection/objects. This feeds the perception stack from simulator truth instead of from sensor data, so tracking and prediction keep running on the real Autoware nodes downstream. It is useful when the vehicles come from an external traffic simulator that the sensor pipeline cannot see reliably, and when the goal is to exercise planning rather than detection. Publishing happens on a world.on_tick() callback, so the objects follow CARLA's cadence rather than the sensor loop, which only turns once every sensor has delivered its frame. The poses come out of the tick snapshot, so a tick costs no round trip to the server and every object in a message belongs to one frame. A snapshot carries only ids and poses, so what never changes about an actor -whether it is a vehicle to report, its class and its size - is looked up the first time that id appears and kept; in steady state a tick asks the server for nothing. Messages carry the bridge's clock rather than snapshot.timestamp. The two count from different starts, and stamping from the snapshot puts the objects far enough ahead of /clock that the tracker's output rate collapses. Classification comes from the CARLA blueprint base_type attribute, so the mapping needs no hand maintained table of blueprint ids. Velocity is left to the tracker: publishing it would need a world to object frame rotation that is easy to get wrong, and a wrong twist is worse for prediction than no twist. Pedestrians are not covered yet.

    * chore(autoware_carla_interface): keep the ground truth publisher's comments in the file's style Shorten the docstrings to one line each, replace the multi-line rationale comments with one-liners and drop a noqa the repository's flake8 does not need. No behavior change; the rationale stays in the pull request.

    * feat(autoware_carla_interface): apply the review suggestions to the ground truth publisher Add the bus label (CARLA spells the base_type "Bus") and publish the bounding box center instead of the actor origin, as suggested in review. The suggestions were applied through the review UI without a sign-off, so they are folded into this signed commit; the content is unchanged. Co-authored-by: Mete Fatih Cırıt <<mfc@autoware.org>> Co-authored-by: Masaya Kataoka <<ms.kataoka@gmail.com>> ---------Co-authored-by: Mete Fatih Cırıt <<mfc@autoware.org>> Co-authored-by: Masaya Kataoka <<ms.kataoka@gmail.com>>

  • feat(autoware_carla_interface): add a tick follower mode for co-simul… (#13286)

  • feat(autoware_carla_interface): publish CARLA traffic-light states, matched to the map by position (#13327)

    * feat(autoware_carla_interface): publish CARLA traffic-light states, matched to the map by position Bridge the CARLA server's traffic-light states into Autoware's perception output so a CARLA closed loop can run without camera-based recognition. The key problem is associating a CARLA traffic light with an Autoware [traffic_light_group_id]{.title-ref} (a [traffic_light]{.title-ref} regulatory-element id in the lanelet2 map). Instead of assuming the CARLA OpenDRIVE signal id equals the regulatory-element id (true only for maps auto-generated from the same OpenDRIVE) or hand-writing an id table, the bridge discovers the mapping geometrically: each CARLA light head is matched to the nearest lanelet2 light head and its state is published under every regulatory element that references that head. This works for hand-authored / Vector Map Builder maps too.

File truncated at 100 lines see the full file

Launch files

  • launch/autoware_carla_interface.launch.xml
      • use_e2e_planning [default: false]
      • vehicle_model [default: sample_vehicle]
      • use_sim_time [default: true]
      • launch_config_pkg [default: autoware_launch]
      • host [default: localhost]
      • port [default: 2000]
      • timeout [default: 20]
      • ego_vehicle_role_name [default: ego_vehicle]
      • vehicle_type [default: vehicle.toyota.prius]
      • spawn_point [default: None]
      • map_path [default: ]
      • sync_mode [default: True]
      • fixed_delta_seconds [default: 0.05]
      • use_traffic_manager [default: False]
      • max_real_delta_seconds [default: 0.05]
      • tick_follower [default: False]
      • spawn_point_ground_snap [default: False]
      • spawn_point_ground_offset_z [default: 0.5]
      • initial_pose_ground_offset_z [default: 1.0]
      • force_load_world [default: False]
      • min_positive_throttle [default: 0.0]
      • min_positive_throttle_speed_threshold [default: 0.8]
      • no_rendering_mode [default: False]
      • map_origin_x [default: 0.0]
      • map_origin_y [default: 0.0]
      • publish_ground_truth_objects [default: False]
      • carla_map [default: ]
      • use_light_weight_sensor_mapping [default: False]
      • sensor_kit_name [default: carla_sensor_kit_description]
      • sensor_mapping_file [default: $(var sensor_mapping_file_default)]
      • max_wheel_steer_angle_deg [default: 0.0]
      • flatten_steering_curve [default: false]
      • wake_sleeping_physics [default: false]
      • traffic_light.publish [default: false]
      • traffic_light.force_green [default: false]
      • traffic_light.map_path [default: ]
      • traffic_light.match_distance [default: 5.0]
      • traffic_light.match_ratio [default: 0.6]
      • traffic_light.id_map [default: ]
      • input_control_cmd [default: /control/command/control_cmd]
      • input_odometry [default: /localization/kinematic_state]
      • input_steering [default: /vehicle/status/steering_status]
      • output_actuation_cmd [default: /control/command/actuation_cmd]
      • raw_vehicle_cmd_converter_config [default: $(find-pkg-share autoware_carla_interface)/config/raw_vehicle_cmd_converter.param.yaml]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_carla_interface at Robotics Stack Exchange

No version for distro jazzy showing github. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_carla_interface package from autoware_universe repo

autoware_boundary_departure_checker autoware_component_interface_specs_universe autoware_cuda_dependency_meta autoware_deprecated_boundary_departure_checker autoware_fake_test_node autoware_glog_component autoware_goal_distance_calculator autoware_grid_map_utils autoware_obstacle_proximity_checker autoware_path_distance_calculator autoware_time_utils autoware_traffic_light_compliance_checker autoware_traffic_light_recognition_marker_publisher autoware_traffic_light_utils autoware_universe_utils tier4_api_utils autoware_autonomous_emergency_braking autoware_collision_detector autoware_control_command_gate autoware_control_performance_analysis autoware_control_validator autoware_external_cmd_selector autoware_joy_controller autoware_lane_departure_checker autoware_mpc_lateral_controller autoware_obstacle_collision_checker autoware_operation_mode_transition_manager autoware_pid_longitudinal_controller autoware_predicted_path_checker autoware_pure_pursuit autoware_shift_decider autoware_smart_mpc_trajectory_follower autoware_spheric_collision_detector autoware_stop_mode_operator autoware_trajectory_follower_base autoware_trajectory_follower_node autoware_vehicle_cmd_gate autoware_tensorrt_vad autoware_control_evaluator autoware_evaluation_adapter autoware_kinematic_evaluator autoware_localization_evaluator autoware_perception_online_evaluator autoware_planning_evaluator autoware_scenario_simulator_v2_adapter autoware_diagnostic_graph_test_examples autoware_geo_pose_projector autoware_ar_tag_based_localizer autoware_landmark_manager autoware_lidar_marker_localizer autoware_localization_error_monitor autoware_pose_covariance_modifier autoware_pose_estimator_arbiter autoware_pose_initialization_requester autoware_pose_instability_detector yabloc_common yabloc_image_processing yabloc_monitor yabloc_particle_filter yabloc_pose_initializer autoware_map_tf_generator autoware_bevfusion autoware_bytetrack autoware_camera_streampetr autoware_cluster_merger autoware_compare_map_segmentation autoware_crosswalk_traffic_light_estimator autoware_detected_object_feature_remover autoware_detected_object_validation autoware_detection_by_tracker autoware_elevation_map_loader autoware_euclidean_cluster autoware_ground_segmentation autoware_ground_segmentation_cuda autoware_image_object_locator autoware_image_projection_based_fusion autoware_lidar_apollo_instance_segmentation autoware_lidar_centerpoint autoware_lidar_frnet autoware_lidar_transfusion autoware_map_based_prediction autoware_multi_object_tracker autoware_object_merger autoware_object_sorter autoware_occupancy_grid_map_outlier_filter autoware_predicted_path_postprocessor autoware_probabilistic_occupancy_grid_map autoware_ptv3 autoware_radar_fusion_to_detected_object autoware_radar_object_tracker autoware_radar_tracks_msgs_converter autoware_raindrop_cluster_filter autoware_shape_estimation autoware_simpl_prediction autoware_simple_object_merger autoware_tensorrt_bevdet autoware_tensorrt_bevformer autoware_tensorrt_classifier autoware_tensorrt_common autoware_tensorrt_plugins autoware_tensorrt_yolox autoware_tracking_object_merger autoware_traffic_light_arbiter autoware_traffic_light_category_merger autoware_traffic_light_classifier autoware_traffic_light_fine_detector autoware_traffic_light_map_based_detector autoware_traffic_light_multi_camera_fusion autoware_traffic_light_occlusion_predictor autoware_traffic_light_pipeline autoware_traffic_light_selector autoware_traffic_light_visualization perception_utils autoware_costmap_generator autoware_diffusion_planner autoware_external_velocity_limit_selector autoware_freespace_planner autoware_freespace_planning_algorithms autoware_hazard_lights_selector autoware_in_lane_mrm_planner autoware_manual_lane_change_handler autoware_minimum_rule_based_planner autoware_mission_planner_universe autoware_path_optimizer autoware_path_smoother autoware_remaining_distance_time_calculator autoware_rtc_interface autoware_scenario_selector autoware_surround_obstacle_checker autoware_trajectory_adapter autoware_trajectory_concatenator autoware_trajectory_gate autoware_trajectory_modifier autoware_trajectory_ranker autoware_trajectory_selector autoware_trajectory_validator autoware_behavior_path_avoidance_by_lane_change_module autoware_behavior_path_bidirectional_traffic_module autoware_behavior_path_direction_change_module autoware_behavior_path_dynamic_obstacle_avoidance_module autoware_behavior_path_external_request_lane_change_module autoware_behavior_path_goal_planner_module autoware_behavior_path_lane_change_module autoware_behavior_path_planner autoware_behavior_path_planner_common autoware_behavior_path_sampling_planner_module autoware_behavior_path_side_shift_module autoware_behavior_path_start_planner_module autoware_behavior_path_static_obstacle_avoidance_module autoware_behavior_velocity_blind_spot_module autoware_behavior_velocity_crosswalk_module autoware_behavior_velocity_detection_area_module autoware_behavior_velocity_intersection_module autoware_behavior_velocity_no_drivable_lane_module autoware_behavior_velocity_no_stopping_area_module autoware_behavior_velocity_occlusion_spot_module autoware_behavior_velocity_roundabout_module autoware_behavior_velocity_rtc_interface autoware_behavior_velocity_speed_bump_module autoware_behavior_velocity_template_module autoware_behavior_velocity_traffic_light_module autoware_behavior_velocity_virtual_traffic_light_module autoware_behavior_velocity_walkway_module autoware_motion_velocity_boundary_departure_prevention_module autoware_motion_velocity_dynamic_obstacle_stop_module autoware_motion_velocity_obstacle_cruise_module autoware_motion_velocity_obstacle_slow_down_module autoware_motion_velocity_obstacle_velocity_limiter_module autoware_motion_velocity_out_of_lane_module autoware_motion_velocity_road_user_stop_module autoware_motion_velocity_run_out_module autoware_planning_validator autoware_planning_validator_intersection_collision_checker autoware_planning_validator_latency_checker autoware_planning_validator_rear_collision_checker autoware_planning_validator_test_utils autoware_planning_validator_trajectory_checker autoware_bezier_sampler autoware_frenet_planner autoware_path_sampler autoware_sampler_common autoware_calibration_status_classifier autoware_cuda_pointcloud_preprocessor autoware_cuda_utils autoware_image_transport_decompressor autoware_imu_corrector autoware_pcl_extensions autoware_pointcloud_preprocessor autoware_radar_objects_adapter autoware_radar_scan_to_pointcloud2 autoware_radar_static_pointcloud_filter autoware_radar_threshold_filter autoware_radar_tracks_noise_filter autoware_carla_interface autoware_dummy_diag_publisher autoware_dummy_infrastructure autoware_dummy_traffic_light_publisher autoware_fault_injection autoware_redundancy_command_selector autoware_vehicle_door_simulator tier4_dummy_object_rviz_plugin autoware_command_mode_decider autoware_command_mode_decider_plugins autoware_command_mode_switcher autoware_command_mode_switcher_plugins autoware_command_mode_types autoware_component_state_monitor autoware_adapi_visualizers autoware_default_adapi_universe autoware_diagnostic_graph_aggregator autoware_diagnostic_graph_merger autoware_diagnostic_graph_utils autoware_driving_mode_manager autoware_duplicated_node_checker autoware_generic_service_divider autoware_hazard_status_converter autoware_mrm_comfortable_stop_operator autoware_mrm_emergency_stop_operator autoware_mrm_handler autoware_mrm_in_lane_stop_operator autoware_mrm_reset_manager autoware_mrm_steering_hold_stop_operator autoware_pipeline_latency_monitor autoware_processing_time_checker autoware_redundancy_adapi_switcher autoware_redundancy_switcher_interface autoware_redundancy_switcher_interface_plugins autoware_system_monitor autoware_topic_relay_controller autoware_topic_state_monitor autoware_velodyne_monitor autoware_accel_brake_map_calibrator autoware_external_cmd_converter autoware_raw_vehicle_cmd_converter autoware_steer_offset_estimator autoware_bag_time_manager_rviz_plugin autoware_traffic_light_rviz_plugin tier4_active_generator_rviz_plugin tier4_adapi_rviz_plugin tier4_camera_view_rviz_plugin tier4_control_mode_rviz_plugin tier4_manual_lane_change_rviz_plugin tier4_perception_rviz_plugin tier4_planning_factor_rviz_plugin tier4_state_rviz_plugin tier4_traffic_light_rviz_plugin tier4_vehicle_rviz_plugin

ROS Distro
github

Package Summary

Version 0.53.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_universe.git
VCS Type git
VCS Version main
Last Updated 2026-10-23
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The carla autoware bridge package

Maintainers

  • Muhammad Raditya GIOVANNI
  • Maxime CLEMENT
  • Masaya Kataoka
  • Bin Wang
  • Ujin Kwon

Authors

No additional authors.

autoware_carla_interface

ROS 2 / Autoware Universe bridge for CARLA simulator

Thanks to https://github.com/gezp for ROS 2 Humble support for CARLA Communication. This ros package enables communication between Autoware and CARLA for autonomous driving simulation.

Supported Environment

ubuntu ros carla autoware
22.04 humble 0.9.15 Main

Setup

Install

Prerequisites

  1. Install CARLA 0.9.15: Follow the CARLA Installation Guide

  2. Install CARLA Python Package: Install CARLA 0.9.15 ROS 2 Humble communication package

    • Option A: Install the wheel using pip
    • Option B: Add the egg file to your PYTHONPATH
  3. Download CARLA Lanelet2 Maps: Get the y-axis inverted maps from CARLA Autoware Contents

Map Setup

  1. Download the maps (y-axis inverted version) to an arbitrary location
  2. Create the map folder structure in $HOME/autoware_data/maps:
    • Rename point_cloud/Town01.pcd → $HOME/autoware_data/maps/Town01/pointcloud_map.pcd
    • Rename vector_maps/lanelet2/Town01.osm → $HOME/autoware_data/maps/Town01/lanelet2_map.osm
  3. Create $HOME/autoware_data/maps/Town01/map_projector_info.yaml with:
   projector_type: Local
   

Build

colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release

Run

  1. Run carla, change map, spawn object if you need
   cd CARLA
   ./CarlaUE4.sh -prefernvidia -quality-level=Low -RenderOffScreen
   
  1. Run Autoware with CARLA
   ros2 launch autoware_launch e2e_simulator.launch.xml \
       map_path:=$HOME/autoware_data/maps/Town01 \
       vehicle_model:=sample_vehicle \
       sensor_model:=carla_sensor_kit \
       simulator_type:=carla
   

For E2E planning with VAD:

   ros2 launch autoware_launch e2e_simulator.launch.xml \
       map_path:=$HOME/autoware_data/maps/Town01 \
       vehicle_model:=sample_vehicle \
       sensor_model:=carla_sensor_kit \
       simulator_type:=carla \
       use_e2e_planning:=true
   
  1. Set initial pose (Init by GNSS)
  2. Set goal position
  3. Wait for planning
  4. Engage

Viewing Multi-Camera View in RViz

The carla_sensor_kit includes 6 cameras providing 360-degree coverage (Front, Front-Left, Front-Right, Back, Back-Left, Back-Right). A multi-camera combiner node automatically combines all camera feeds into a single 2x3 grid view.

To view the combined camera feed in RViz:

  1. In the Displays panel (left side), click the “Add” button
  2. Select the “By topic” tab
  3. Navigate to /sensing/camera/all_cameras/image_raw
  4. Select “Image” display type
  5. Click OK

Multi-Camera View in RViz

The combined view shows all 6 cameras with labels: FL (Front-Left), F (Front), FR (Front-Right), BL (Back-Left), B (Back), BR (Back-Right).

Note: If you don’t need the multi-camera combiner (to save CPU resources), you can comment out the following line in launch/autoware_carla_interface.launch.xml:

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_carla_interface

0.53.0 (2026-09-29)

  • Merge remote-tracking branch 'origin/main' into prepare-0.53.0-changelog

  • feat(autoware_carla_interface): allow cameras to publish bgr8 (#13411) CARLA renders BGRA and fills the alpha channel with 255. Nothing downstream reads it, so publishing bgra8 spends a quarter of every camera message on a constant. Accept bgr8 as an image_encoding alongside bgra8 and mono8: it drops the alpha channel and nothing else, so a consumer that wants colour gets the same picture for three quarters of the bytes -- 4,320,000 instead of 5,760,000 for a 1600x900 frame. Unlike mono8 it costs no information, so it is the cheaper default for any colour consumer. The default stays bgra8. Claude-Session: https://claude.ai/code/session_011TMdPd8VUDxUrFtckxg2AQ Co-authored-by: Masaya Kataoka <<ms.kataoka@gmail.com>>

  • fix(autoware_carla_interface): stamp each sensor measurement with the frame it was captured on (#13408)

  • feat(autoware_carla_interface): let a sensor mapping set the CARLA capture rate (#13407)

  • feat(autoware_carla_interface): publish CARLA vehicles as ground truth detections (#13321)

    * feat(autoware_carla_interface): publish CARLA vehicles as ground truth detections Adds an opt-in parameter, publish_ground_truth_objects (default: false, no behavior change), that publishes every CARLA vehicle except the ego to /perception/object_recognition/detection/objects. This feeds the perception stack from simulator truth instead of from sensor data, so tracking and prediction keep running on the real Autoware nodes downstream. It is useful when the vehicles come from an external traffic simulator that the sensor pipeline cannot see reliably, and when the goal is to exercise planning rather than detection. Publishing happens on a world.on_tick() callback, so the objects follow CARLA's cadence rather than the sensor loop, which only turns once every sensor has delivered its frame. The poses come out of the tick snapshot, so a tick costs no round trip to the server and every object in a message belongs to one frame. A snapshot carries only ids and poses, so what never changes about an actor -whether it is a vehicle to report, its class and its size - is looked up the first time that id appears and kept; in steady state a tick asks the server for nothing. Messages carry the bridge's clock rather than snapshot.timestamp. The two count from different starts, and stamping from the snapshot puts the objects far enough ahead of /clock that the tracker's output rate collapses. Classification comes from the CARLA blueprint base_type attribute, so the mapping needs no hand maintained table of blueprint ids. Velocity is left to the tracker: publishing it would need a world to object frame rotation that is easy to get wrong, and a wrong twist is worse for prediction than no twist. Pedestrians are not covered yet.

    * chore(autoware_carla_interface): keep the ground truth publisher's comments in the file's style Shorten the docstrings to one line each, replace the multi-line rationale comments with one-liners and drop a noqa the repository's flake8 does not need. No behavior change; the rationale stays in the pull request.

    * feat(autoware_carla_interface): apply the review suggestions to the ground truth publisher Add the bus label (CARLA spells the base_type "Bus") and publish the bounding box center instead of the actor origin, as suggested in review. The suggestions were applied through the review UI without a sign-off, so they are folded into this signed commit; the content is unchanged. Co-authored-by: Mete Fatih Cırıt <<mfc@autoware.org>> Co-authored-by: Masaya Kataoka <<ms.kataoka@gmail.com>> ---------Co-authored-by: Mete Fatih Cırıt <<mfc@autoware.org>> Co-authored-by: Masaya Kataoka <<ms.kataoka@gmail.com>>

  • feat(autoware_carla_interface): add a tick follower mode for co-simul… (#13286)

  • feat(autoware_carla_interface): publish CARLA traffic-light states, matched to the map by position (#13327)

    * feat(autoware_carla_interface): publish CARLA traffic-light states, matched to the map by position Bridge the CARLA server's traffic-light states into Autoware's perception output so a CARLA closed loop can run without camera-based recognition. The key problem is associating a CARLA traffic light with an Autoware [traffic_light_group_id]{.title-ref} (a [traffic_light]{.title-ref} regulatory-element id in the lanelet2 map). Instead of assuming the CARLA OpenDRIVE signal id equals the regulatory-element id (true only for maps auto-generated from the same OpenDRIVE) or hand-writing an id table, the bridge discovers the mapping geometrically: each CARLA light head is matched to the nearest lanelet2 light head and its state is published under every regulatory element that references that head. This works for hand-authored / Vector Map Builder maps too.

File truncated at 100 lines see the full file

Launch files

  • launch/autoware_carla_interface.launch.xml
      • use_e2e_planning [default: false]
      • vehicle_model [default: sample_vehicle]
      • use_sim_time [default: true]
      • launch_config_pkg [default: autoware_launch]
      • host [default: localhost]
      • port [default: 2000]
      • timeout [default: 20]
      • ego_vehicle_role_name [default: ego_vehicle]
      • vehicle_type [default: vehicle.toyota.prius]
      • spawn_point [default: None]
      • map_path [default: ]
      • sync_mode [default: True]
      • fixed_delta_seconds [default: 0.05]
      • use_traffic_manager [default: False]
      • max_real_delta_seconds [default: 0.05]
      • tick_follower [default: False]
      • spawn_point_ground_snap [default: False]
      • spawn_point_ground_offset_z [default: 0.5]
      • initial_pose_ground_offset_z [default: 1.0]
      • force_load_world [default: False]
      • min_positive_throttle [default: 0.0]
      • min_positive_throttle_speed_threshold [default: 0.8]
      • no_rendering_mode [default: False]
      • map_origin_x [default: 0.0]
      • map_origin_y [default: 0.0]
      • publish_ground_truth_objects [default: False]
      • carla_map [default: ]
      • use_light_weight_sensor_mapping [default: False]
      • sensor_kit_name [default: carla_sensor_kit_description]
      • sensor_mapping_file [default: $(var sensor_mapping_file_default)]
      • max_wheel_steer_angle_deg [default: 0.0]
      • flatten_steering_curve [default: false]
      • wake_sleeping_physics [default: false]
      • traffic_light.publish [default: false]
      • traffic_light.force_green [default: false]
      • traffic_light.map_path [default: ]
      • traffic_light.match_distance [default: 5.0]
      • traffic_light.match_ratio [default: 0.6]
      • traffic_light.id_map [default: ]
      • input_control_cmd [default: /control/command/control_cmd]
      • input_odometry [default: /localization/kinematic_state]
      • input_steering [default: /vehicle/status/steering_status]
      • output_actuation_cmd [default: /control/command/actuation_cmd]
      • raw_vehicle_cmd_converter_config [default: $(find-pkg-share autoware_carla_interface)/config/raw_vehicle_cmd_converter.param.yaml]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_carla_interface at Robotics Stack Exchange

No version for distro kilted showing github. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_carla_interface package from autoware_universe repo

autoware_boundary_departure_checker autoware_component_interface_specs_universe autoware_cuda_dependency_meta autoware_deprecated_boundary_departure_checker autoware_fake_test_node autoware_glog_component autoware_goal_distance_calculator autoware_grid_map_utils autoware_obstacle_proximity_checker autoware_path_distance_calculator autoware_time_utils autoware_traffic_light_compliance_checker autoware_traffic_light_recognition_marker_publisher autoware_traffic_light_utils autoware_universe_utils tier4_api_utils autoware_autonomous_emergency_braking autoware_collision_detector autoware_control_command_gate autoware_control_performance_analysis autoware_control_validator autoware_external_cmd_selector autoware_joy_controller autoware_lane_departure_checker autoware_mpc_lateral_controller autoware_obstacle_collision_checker autoware_operation_mode_transition_manager autoware_pid_longitudinal_controller autoware_predicted_path_checker autoware_pure_pursuit autoware_shift_decider autoware_smart_mpc_trajectory_follower autoware_spheric_collision_detector autoware_stop_mode_operator autoware_trajectory_follower_base autoware_trajectory_follower_node autoware_vehicle_cmd_gate autoware_tensorrt_vad autoware_control_evaluator autoware_evaluation_adapter autoware_kinematic_evaluator autoware_localization_evaluator autoware_perception_online_evaluator autoware_planning_evaluator autoware_scenario_simulator_v2_adapter autoware_diagnostic_graph_test_examples autoware_geo_pose_projector autoware_ar_tag_based_localizer autoware_landmark_manager autoware_lidar_marker_localizer autoware_localization_error_monitor autoware_pose_covariance_modifier autoware_pose_estimator_arbiter autoware_pose_initialization_requester autoware_pose_instability_detector yabloc_common yabloc_image_processing yabloc_monitor yabloc_particle_filter yabloc_pose_initializer autoware_map_tf_generator autoware_bevfusion autoware_bytetrack autoware_camera_streampetr autoware_cluster_merger autoware_compare_map_segmentation autoware_crosswalk_traffic_light_estimator autoware_detected_object_feature_remover autoware_detected_object_validation autoware_detection_by_tracker autoware_elevation_map_loader autoware_euclidean_cluster autoware_ground_segmentation autoware_ground_segmentation_cuda autoware_image_object_locator autoware_image_projection_based_fusion autoware_lidar_apollo_instance_segmentation autoware_lidar_centerpoint autoware_lidar_frnet autoware_lidar_transfusion autoware_map_based_prediction autoware_multi_object_tracker autoware_object_merger autoware_object_sorter autoware_occupancy_grid_map_outlier_filter autoware_predicted_path_postprocessor autoware_probabilistic_occupancy_grid_map autoware_ptv3 autoware_radar_fusion_to_detected_object autoware_radar_object_tracker autoware_radar_tracks_msgs_converter autoware_raindrop_cluster_filter autoware_shape_estimation autoware_simpl_prediction autoware_simple_object_merger autoware_tensorrt_bevdet autoware_tensorrt_bevformer autoware_tensorrt_classifier autoware_tensorrt_common autoware_tensorrt_plugins autoware_tensorrt_yolox autoware_tracking_object_merger autoware_traffic_light_arbiter autoware_traffic_light_category_merger autoware_traffic_light_classifier autoware_traffic_light_fine_detector autoware_traffic_light_map_based_detector autoware_traffic_light_multi_camera_fusion autoware_traffic_light_occlusion_predictor autoware_traffic_light_pipeline autoware_traffic_light_selector autoware_traffic_light_visualization perception_utils autoware_costmap_generator autoware_diffusion_planner autoware_external_velocity_limit_selector autoware_freespace_planner autoware_freespace_planning_algorithms autoware_hazard_lights_selector autoware_in_lane_mrm_planner autoware_manual_lane_change_handler autoware_minimum_rule_based_planner autoware_mission_planner_universe autoware_path_optimizer autoware_path_smoother autoware_remaining_distance_time_calculator autoware_rtc_interface autoware_scenario_selector autoware_surround_obstacle_checker autoware_trajectory_adapter autoware_trajectory_concatenator autoware_trajectory_gate autoware_trajectory_modifier autoware_trajectory_ranker autoware_trajectory_selector autoware_trajectory_validator autoware_behavior_path_avoidance_by_lane_change_module autoware_behavior_path_bidirectional_traffic_module autoware_behavior_path_direction_change_module autoware_behavior_path_dynamic_obstacle_avoidance_module autoware_behavior_path_external_request_lane_change_module autoware_behavior_path_goal_planner_module autoware_behavior_path_lane_change_module autoware_behavior_path_planner autoware_behavior_path_planner_common autoware_behavior_path_sampling_planner_module autoware_behavior_path_side_shift_module autoware_behavior_path_start_planner_module autoware_behavior_path_static_obstacle_avoidance_module autoware_behavior_velocity_blind_spot_module autoware_behavior_velocity_crosswalk_module autoware_behavior_velocity_detection_area_module autoware_behavior_velocity_intersection_module autoware_behavior_velocity_no_drivable_lane_module autoware_behavior_velocity_no_stopping_area_module autoware_behavior_velocity_occlusion_spot_module autoware_behavior_velocity_roundabout_module autoware_behavior_velocity_rtc_interface autoware_behavior_velocity_speed_bump_module autoware_behavior_velocity_template_module autoware_behavior_velocity_traffic_light_module autoware_behavior_velocity_virtual_traffic_light_module autoware_behavior_velocity_walkway_module autoware_motion_velocity_boundary_departure_prevention_module autoware_motion_velocity_dynamic_obstacle_stop_module autoware_motion_velocity_obstacle_cruise_module autoware_motion_velocity_obstacle_slow_down_module autoware_motion_velocity_obstacle_velocity_limiter_module autoware_motion_velocity_out_of_lane_module autoware_motion_velocity_road_user_stop_module autoware_motion_velocity_run_out_module autoware_planning_validator autoware_planning_validator_intersection_collision_checker autoware_planning_validator_latency_checker autoware_planning_validator_rear_collision_checker autoware_planning_validator_test_utils autoware_planning_validator_trajectory_checker autoware_bezier_sampler autoware_frenet_planner autoware_path_sampler autoware_sampler_common autoware_calibration_status_classifier autoware_cuda_pointcloud_preprocessor autoware_cuda_utils autoware_image_transport_decompressor autoware_imu_corrector autoware_pcl_extensions autoware_pointcloud_preprocessor autoware_radar_objects_adapter autoware_radar_scan_to_pointcloud2 autoware_radar_static_pointcloud_filter autoware_radar_threshold_filter autoware_radar_tracks_noise_filter autoware_carla_interface autoware_dummy_diag_publisher autoware_dummy_infrastructure autoware_dummy_traffic_light_publisher autoware_fault_injection autoware_redundancy_command_selector autoware_vehicle_door_simulator tier4_dummy_object_rviz_plugin autoware_command_mode_decider autoware_command_mode_decider_plugins autoware_command_mode_switcher autoware_command_mode_switcher_plugins autoware_command_mode_types autoware_component_state_monitor autoware_adapi_visualizers autoware_default_adapi_universe autoware_diagnostic_graph_aggregator autoware_diagnostic_graph_merger autoware_diagnostic_graph_utils autoware_driving_mode_manager autoware_duplicated_node_checker autoware_generic_service_divider autoware_hazard_status_converter autoware_mrm_comfortable_stop_operator autoware_mrm_emergency_stop_operator autoware_mrm_handler autoware_mrm_in_lane_stop_operator autoware_mrm_reset_manager autoware_mrm_steering_hold_stop_operator autoware_pipeline_latency_monitor autoware_processing_time_checker autoware_redundancy_adapi_switcher autoware_redundancy_switcher_interface autoware_redundancy_switcher_interface_plugins autoware_system_monitor autoware_topic_relay_controller autoware_topic_state_monitor autoware_velodyne_monitor autoware_accel_brake_map_calibrator autoware_external_cmd_converter autoware_raw_vehicle_cmd_converter autoware_steer_offset_estimator autoware_bag_time_manager_rviz_plugin autoware_traffic_light_rviz_plugin tier4_active_generator_rviz_plugin tier4_adapi_rviz_plugin tier4_camera_view_rviz_plugin tier4_control_mode_rviz_plugin tier4_manual_lane_change_rviz_plugin tier4_perception_rviz_plugin tier4_planning_factor_rviz_plugin tier4_state_rviz_plugin tier4_traffic_light_rviz_plugin tier4_vehicle_rviz_plugin

ROS Distro
github

Package Summary

Version 0.53.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_universe.git
VCS Type git
VCS Version main
Last Updated 2026-10-23
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The carla autoware bridge package

Maintainers

  • Muhammad Raditya GIOVANNI
  • Maxime CLEMENT
  • Masaya Kataoka
  • Bin Wang
  • Ujin Kwon

Authors

No additional authors.

autoware_carla_interface

ROS 2 / Autoware Universe bridge for CARLA simulator

Thanks to https://github.com/gezp for ROS 2 Humble support for CARLA Communication. This ros package enables communication between Autoware and CARLA for autonomous driving simulation.

Supported Environment

ubuntu ros carla autoware
22.04 humble 0.9.15 Main

Setup

Install

Prerequisites

  1. Install CARLA 0.9.15: Follow the CARLA Installation Guide

  2. Install CARLA Python Package: Install CARLA 0.9.15 ROS 2 Humble communication package

    • Option A: Install the wheel using pip
    • Option B: Add the egg file to your PYTHONPATH
  3. Download CARLA Lanelet2 Maps: Get the y-axis inverted maps from CARLA Autoware Contents

Map Setup

  1. Download the maps (y-axis inverted version) to an arbitrary location
  2. Create the map folder structure in $HOME/autoware_data/maps:
    • Rename point_cloud/Town01.pcd → $HOME/autoware_data/maps/Town01/pointcloud_map.pcd
    • Rename vector_maps/lanelet2/Town01.osm → $HOME/autoware_data/maps/Town01/lanelet2_map.osm
  3. Create $HOME/autoware_data/maps/Town01/map_projector_info.yaml with:
   projector_type: Local
   

Build

colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release

Run

  1. Run carla, change map, spawn object if you need
   cd CARLA
   ./CarlaUE4.sh -prefernvidia -quality-level=Low -RenderOffScreen
   
  1. Run Autoware with CARLA
   ros2 launch autoware_launch e2e_simulator.launch.xml \
       map_path:=$HOME/autoware_data/maps/Town01 \
       vehicle_model:=sample_vehicle \
       sensor_model:=carla_sensor_kit \
       simulator_type:=carla
   

For E2E planning with VAD:

   ros2 launch autoware_launch e2e_simulator.launch.xml \
       map_path:=$HOME/autoware_data/maps/Town01 \
       vehicle_model:=sample_vehicle \
       sensor_model:=carla_sensor_kit \
       simulator_type:=carla \
       use_e2e_planning:=true
   
  1. Set initial pose (Init by GNSS)
  2. Set goal position
  3. Wait for planning
  4. Engage

Viewing Multi-Camera View in RViz

The carla_sensor_kit includes 6 cameras providing 360-degree coverage (Front, Front-Left, Front-Right, Back, Back-Left, Back-Right). A multi-camera combiner node automatically combines all camera feeds into a single 2x3 grid view.

To view the combined camera feed in RViz:

  1. In the Displays panel (left side), click the “Add” button
  2. Select the “By topic” tab
  3. Navigate to /sensing/camera/all_cameras/image_raw
  4. Select “Image” display type
  5. Click OK

Multi-Camera View in RViz

The combined view shows all 6 cameras with labels: FL (Front-Left), F (Front), FR (Front-Right), BL (Back-Left), B (Back), BR (Back-Right).

Note: If you don’t need the multi-camera combiner (to save CPU resources), you can comment out the following line in launch/autoware_carla_interface.launch.xml:

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_carla_interface

0.53.0 (2026-09-29)

  • Merge remote-tracking branch 'origin/main' into prepare-0.53.0-changelog

  • feat(autoware_carla_interface): allow cameras to publish bgr8 (#13411) CARLA renders BGRA and fills the alpha channel with 255. Nothing downstream reads it, so publishing bgra8 spends a quarter of every camera message on a constant. Accept bgr8 as an image_encoding alongside bgra8 and mono8: it drops the alpha channel and nothing else, so a consumer that wants colour gets the same picture for three quarters of the bytes -- 4,320,000 instead of 5,760,000 for a 1600x900 frame. Unlike mono8 it costs no information, so it is the cheaper default for any colour consumer. The default stays bgra8. Claude-Session: https://claude.ai/code/session_011TMdPd8VUDxUrFtckxg2AQ Co-authored-by: Masaya Kataoka <<ms.kataoka@gmail.com>>

  • fix(autoware_carla_interface): stamp each sensor measurement with the frame it was captured on (#13408)

  • feat(autoware_carla_interface): let a sensor mapping set the CARLA capture rate (#13407)

  • feat(autoware_carla_interface): publish CARLA vehicles as ground truth detections (#13321)

    * feat(autoware_carla_interface): publish CARLA vehicles as ground truth detections Adds an opt-in parameter, publish_ground_truth_objects (default: false, no behavior change), that publishes every CARLA vehicle except the ego to /perception/object_recognition/detection/objects. This feeds the perception stack from simulator truth instead of from sensor data, so tracking and prediction keep running on the real Autoware nodes downstream. It is useful when the vehicles come from an external traffic simulator that the sensor pipeline cannot see reliably, and when the goal is to exercise planning rather than detection. Publishing happens on a world.on_tick() callback, so the objects follow CARLA's cadence rather than the sensor loop, which only turns once every sensor has delivered its frame. The poses come out of the tick snapshot, so a tick costs no round trip to the server and every object in a message belongs to one frame. A snapshot carries only ids and poses, so what never changes about an actor -whether it is a vehicle to report, its class and its size - is looked up the first time that id appears and kept; in steady state a tick asks the server for nothing. Messages carry the bridge's clock rather than snapshot.timestamp. The two count from different starts, and stamping from the snapshot puts the objects far enough ahead of /clock that the tracker's output rate collapses. Classification comes from the CARLA blueprint base_type attribute, so the mapping needs no hand maintained table of blueprint ids. Velocity is left to the tracker: publishing it would need a world to object frame rotation that is easy to get wrong, and a wrong twist is worse for prediction than no twist. Pedestrians are not covered yet.

    * chore(autoware_carla_interface): keep the ground truth publisher's comments in the file's style Shorten the docstrings to one line each, replace the multi-line rationale comments with one-liners and drop a noqa the repository's flake8 does not need. No behavior change; the rationale stays in the pull request.

    * feat(autoware_carla_interface): apply the review suggestions to the ground truth publisher Add the bus label (CARLA spells the base_type "Bus") and publish the bounding box center instead of the actor origin, as suggested in review. The suggestions were applied through the review UI without a sign-off, so they are folded into this signed commit; the content is unchanged. Co-authored-by: Mete Fatih Cırıt <<mfc@autoware.org>> Co-authored-by: Masaya Kataoka <<ms.kataoka@gmail.com>> ---------Co-authored-by: Mete Fatih Cırıt <<mfc@autoware.org>> Co-authored-by: Masaya Kataoka <<ms.kataoka@gmail.com>>

  • feat(autoware_carla_interface): add a tick follower mode for co-simul… (#13286)

  • feat(autoware_carla_interface): publish CARLA traffic-light states, matched to the map by position (#13327)

    * feat(autoware_carla_interface): publish CARLA traffic-light states, matched to the map by position Bridge the CARLA server's traffic-light states into Autoware's perception output so a CARLA closed loop can run without camera-based recognition. The key problem is associating a CARLA traffic light with an Autoware [traffic_light_group_id]{.title-ref} (a [traffic_light]{.title-ref} regulatory-element id in the lanelet2 map). Instead of assuming the CARLA OpenDRIVE signal id equals the regulatory-element id (true only for maps auto-generated from the same OpenDRIVE) or hand-writing an id table, the bridge discovers the mapping geometrically: each CARLA light head is matched to the nearest lanelet2 light head and its state is published under every regulatory element that references that head. This works for hand-authored / Vector Map Builder maps too.

File truncated at 100 lines see the full file

Launch files

  • launch/autoware_carla_interface.launch.xml
      • use_e2e_planning [default: false]
      • vehicle_model [default: sample_vehicle]
      • use_sim_time [default: true]
      • launch_config_pkg [default: autoware_launch]
      • host [default: localhost]
      • port [default: 2000]
      • timeout [default: 20]
      • ego_vehicle_role_name [default: ego_vehicle]
      • vehicle_type [default: vehicle.toyota.prius]
      • spawn_point [default: None]
      • map_path [default: ]
      • sync_mode [default: True]
      • fixed_delta_seconds [default: 0.05]
      • use_traffic_manager [default: False]
      • max_real_delta_seconds [default: 0.05]
      • tick_follower [default: False]
      • spawn_point_ground_snap [default: False]
      • spawn_point_ground_offset_z [default: 0.5]
      • initial_pose_ground_offset_z [default: 1.0]
      • force_load_world [default: False]
      • min_positive_throttle [default: 0.0]
      • min_positive_throttle_speed_threshold [default: 0.8]
      • no_rendering_mode [default: False]
      • map_origin_x [default: 0.0]
      • map_origin_y [default: 0.0]
      • publish_ground_truth_objects [default: False]
      • carla_map [default: ]
      • use_light_weight_sensor_mapping [default: False]
      • sensor_kit_name [default: carla_sensor_kit_description]
      • sensor_mapping_file [default: $(var sensor_mapping_file_default)]
      • max_wheel_steer_angle_deg [default: 0.0]
      • flatten_steering_curve [default: false]
      • wake_sleeping_physics [default: false]
      • traffic_light.publish [default: false]
      • traffic_light.force_green [default: false]
      • traffic_light.map_path [default: ]
      • traffic_light.match_distance [default: 5.0]
      • traffic_light.match_ratio [default: 0.6]
      • traffic_light.id_map [default: ]
      • input_control_cmd [default: /control/command/control_cmd]
      • input_odometry [default: /localization/kinematic_state]
      • input_steering [default: /vehicle/status/steering_status]
      • output_actuation_cmd [default: /control/command/actuation_cmd]
      • raw_vehicle_cmd_converter_config [default: $(find-pkg-share autoware_carla_interface)/config/raw_vehicle_cmd_converter.param.yaml]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_carla_interface at Robotics Stack Exchange

No version for distro lyrical showing github. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_carla_interface package from autoware_universe repo

autoware_boundary_departure_checker autoware_component_interface_specs_universe autoware_cuda_dependency_meta autoware_deprecated_boundary_departure_checker autoware_fake_test_node autoware_glog_component autoware_goal_distance_calculator autoware_grid_map_utils autoware_obstacle_proximity_checker autoware_path_distance_calculator autoware_time_utils autoware_traffic_light_compliance_checker autoware_traffic_light_recognition_marker_publisher autoware_traffic_light_utils autoware_universe_utils tier4_api_utils autoware_autonomous_emergency_braking autoware_collision_detector autoware_control_command_gate autoware_control_performance_analysis autoware_control_validator autoware_external_cmd_selector autoware_joy_controller autoware_lane_departure_checker autoware_mpc_lateral_controller autoware_obstacle_collision_checker autoware_operation_mode_transition_manager autoware_pid_longitudinal_controller autoware_predicted_path_checker autoware_pure_pursuit autoware_shift_decider autoware_smart_mpc_trajectory_follower autoware_spheric_collision_detector autoware_stop_mode_operator autoware_trajectory_follower_base autoware_trajectory_follower_node autoware_vehicle_cmd_gate autoware_tensorrt_vad autoware_control_evaluator autoware_evaluation_adapter autoware_kinematic_evaluator autoware_localization_evaluator autoware_perception_online_evaluator autoware_planning_evaluator autoware_scenario_simulator_v2_adapter autoware_diagnostic_graph_test_examples autoware_geo_pose_projector autoware_ar_tag_based_localizer autoware_landmark_manager autoware_lidar_marker_localizer autoware_localization_error_monitor autoware_pose_covariance_modifier autoware_pose_estimator_arbiter autoware_pose_initialization_requester autoware_pose_instability_detector yabloc_common yabloc_image_processing yabloc_monitor yabloc_particle_filter yabloc_pose_initializer autoware_map_tf_generator autoware_bevfusion autoware_bytetrack autoware_camera_streampetr autoware_cluster_merger autoware_compare_map_segmentation autoware_crosswalk_traffic_light_estimator autoware_detected_object_feature_remover autoware_detected_object_validation autoware_detection_by_tracker autoware_elevation_map_loader autoware_euclidean_cluster autoware_ground_segmentation autoware_ground_segmentation_cuda autoware_image_object_locator autoware_image_projection_based_fusion autoware_lidar_apollo_instance_segmentation autoware_lidar_centerpoint autoware_lidar_frnet autoware_lidar_transfusion autoware_map_based_prediction autoware_multi_object_tracker autoware_object_merger autoware_object_sorter autoware_occupancy_grid_map_outlier_filter autoware_predicted_path_postprocessor autoware_probabilistic_occupancy_grid_map autoware_ptv3 autoware_radar_fusion_to_detected_object autoware_radar_object_tracker autoware_radar_tracks_msgs_converter autoware_raindrop_cluster_filter autoware_shape_estimation autoware_simpl_prediction autoware_simple_object_merger autoware_tensorrt_bevdet autoware_tensorrt_bevformer autoware_tensorrt_classifier autoware_tensorrt_common autoware_tensorrt_plugins autoware_tensorrt_yolox autoware_tracking_object_merger autoware_traffic_light_arbiter autoware_traffic_light_category_merger autoware_traffic_light_classifier autoware_traffic_light_fine_detector autoware_traffic_light_map_based_detector autoware_traffic_light_multi_camera_fusion autoware_traffic_light_occlusion_predictor autoware_traffic_light_pipeline autoware_traffic_light_selector autoware_traffic_light_visualization perception_utils autoware_costmap_generator autoware_diffusion_planner autoware_external_velocity_limit_selector autoware_freespace_planner autoware_freespace_planning_algorithms autoware_hazard_lights_selector autoware_in_lane_mrm_planner autoware_manual_lane_change_handler autoware_minimum_rule_based_planner autoware_mission_planner_universe autoware_path_optimizer autoware_path_smoother autoware_remaining_distance_time_calculator autoware_rtc_interface autoware_scenario_selector autoware_surround_obstacle_checker autoware_trajectory_adapter autoware_trajectory_concatenator autoware_trajectory_gate autoware_trajectory_modifier autoware_trajectory_ranker autoware_trajectory_selector autoware_trajectory_validator autoware_behavior_path_avoidance_by_lane_change_module autoware_behavior_path_bidirectional_traffic_module autoware_behavior_path_direction_change_module autoware_behavior_path_dynamic_obstacle_avoidance_module autoware_behavior_path_external_request_lane_change_module autoware_behavior_path_goal_planner_module autoware_behavior_path_lane_change_module autoware_behavior_path_planner autoware_behavior_path_planner_common autoware_behavior_path_sampling_planner_module autoware_behavior_path_side_shift_module autoware_behavior_path_start_planner_module autoware_behavior_path_static_obstacle_avoidance_module autoware_behavior_velocity_blind_spot_module autoware_behavior_velocity_crosswalk_module autoware_behavior_velocity_detection_area_module autoware_behavior_velocity_intersection_module autoware_behavior_velocity_no_drivable_lane_module autoware_behavior_velocity_no_stopping_area_module autoware_behavior_velocity_occlusion_spot_module autoware_behavior_velocity_roundabout_module autoware_behavior_velocity_rtc_interface autoware_behavior_velocity_speed_bump_module autoware_behavior_velocity_template_module autoware_behavior_velocity_traffic_light_module autoware_behavior_velocity_virtual_traffic_light_module autoware_behavior_velocity_walkway_module autoware_motion_velocity_boundary_departure_prevention_module autoware_motion_velocity_dynamic_obstacle_stop_module autoware_motion_velocity_obstacle_cruise_module autoware_motion_velocity_obstacle_slow_down_module autoware_motion_velocity_obstacle_velocity_limiter_module autoware_motion_velocity_out_of_lane_module autoware_motion_velocity_road_user_stop_module autoware_motion_velocity_run_out_module autoware_planning_validator autoware_planning_validator_intersection_collision_checker autoware_planning_validator_latency_checker autoware_planning_validator_rear_collision_checker autoware_planning_validator_test_utils autoware_planning_validator_trajectory_checker autoware_bezier_sampler autoware_frenet_planner autoware_path_sampler autoware_sampler_common autoware_calibration_status_classifier autoware_cuda_pointcloud_preprocessor autoware_cuda_utils autoware_image_transport_decompressor autoware_imu_corrector autoware_pcl_extensions autoware_pointcloud_preprocessor autoware_radar_objects_adapter autoware_radar_scan_to_pointcloud2 autoware_radar_static_pointcloud_filter autoware_radar_threshold_filter autoware_radar_tracks_noise_filter autoware_carla_interface autoware_dummy_diag_publisher autoware_dummy_infrastructure autoware_dummy_traffic_light_publisher autoware_fault_injection autoware_redundancy_command_selector autoware_vehicle_door_simulator tier4_dummy_object_rviz_plugin autoware_command_mode_decider autoware_command_mode_decider_plugins autoware_command_mode_switcher autoware_command_mode_switcher_plugins autoware_command_mode_types autoware_component_state_monitor autoware_adapi_visualizers autoware_default_adapi_universe autoware_diagnostic_graph_aggregator autoware_diagnostic_graph_merger autoware_diagnostic_graph_utils autoware_driving_mode_manager autoware_duplicated_node_checker autoware_generic_service_divider autoware_hazard_status_converter autoware_mrm_comfortable_stop_operator autoware_mrm_emergency_stop_operator autoware_mrm_handler autoware_mrm_in_lane_stop_operator autoware_mrm_reset_manager autoware_mrm_steering_hold_stop_operator autoware_pipeline_latency_monitor autoware_processing_time_checker autoware_redundancy_adapi_switcher autoware_redundancy_switcher_interface autoware_redundancy_switcher_interface_plugins autoware_system_monitor autoware_topic_relay_controller autoware_topic_state_monitor autoware_velodyne_monitor autoware_accel_brake_map_calibrator autoware_external_cmd_converter autoware_raw_vehicle_cmd_converter autoware_steer_offset_estimator autoware_bag_time_manager_rviz_plugin autoware_traffic_light_rviz_plugin tier4_active_generator_rviz_plugin tier4_adapi_rviz_plugin tier4_camera_view_rviz_plugin tier4_control_mode_rviz_plugin tier4_manual_lane_change_rviz_plugin tier4_perception_rviz_plugin tier4_planning_factor_rviz_plugin tier4_state_rviz_plugin tier4_traffic_light_rviz_plugin tier4_vehicle_rviz_plugin

ROS Distro
github

Package Summary

Version 0.53.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_universe.git
VCS Type git
VCS Version main
Last Updated 2026-10-23
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The carla autoware bridge package

Maintainers

  • Muhammad Raditya GIOVANNI
  • Maxime CLEMENT
  • Masaya Kataoka
  • Bin Wang
  • Ujin Kwon

Authors

No additional authors.

autoware_carla_interface

ROS 2 / Autoware Universe bridge for CARLA simulator

Thanks to https://github.com/gezp for ROS 2 Humble support for CARLA Communication. This ros package enables communication between Autoware and CARLA for autonomous driving simulation.

Supported Environment

ubuntu ros carla autoware
22.04 humble 0.9.15 Main

Setup

Install

Prerequisites

  1. Install CARLA 0.9.15: Follow the CARLA Installation Guide

  2. Install CARLA Python Package: Install CARLA 0.9.15 ROS 2 Humble communication package

    • Option A: Install the wheel using pip
    • Option B: Add the egg file to your PYTHONPATH
  3. Download CARLA Lanelet2 Maps: Get the y-axis inverted maps from CARLA Autoware Contents

Map Setup

  1. Download the maps (y-axis inverted version) to an arbitrary location
  2. Create the map folder structure in $HOME/autoware_data/maps:
    • Rename point_cloud/Town01.pcd → $HOME/autoware_data/maps/Town01/pointcloud_map.pcd
    • Rename vector_maps/lanelet2/Town01.osm → $HOME/autoware_data/maps/Town01/lanelet2_map.osm
  3. Create $HOME/autoware_data/maps/Town01/map_projector_info.yaml with:
   projector_type: Local
   

Build

colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release

Run

  1. Run carla, change map, spawn object if you need
   cd CARLA
   ./CarlaUE4.sh -prefernvidia -quality-level=Low -RenderOffScreen
   
  1. Run Autoware with CARLA
   ros2 launch autoware_launch e2e_simulator.launch.xml \
       map_path:=$HOME/autoware_data/maps/Town01 \
       vehicle_model:=sample_vehicle \
       sensor_model:=carla_sensor_kit \
       simulator_type:=carla
   

For E2E planning with VAD:

   ros2 launch autoware_launch e2e_simulator.launch.xml \
       map_path:=$HOME/autoware_data/maps/Town01 \
       vehicle_model:=sample_vehicle \
       sensor_model:=carla_sensor_kit \
       simulator_type:=carla \
       use_e2e_planning:=true
   
  1. Set initial pose (Init by GNSS)
  2. Set goal position
  3. Wait for planning
  4. Engage

Viewing Multi-Camera View in RViz

The carla_sensor_kit includes 6 cameras providing 360-degree coverage (Front, Front-Left, Front-Right, Back, Back-Left, Back-Right). A multi-camera combiner node automatically combines all camera feeds into a single 2x3 grid view.

To view the combined camera feed in RViz:

  1. In the Displays panel (left side), click the “Add” button
  2. Select the “By topic” tab
  3. Navigate to /sensing/camera/all_cameras/image_raw
  4. Select “Image” display type
  5. Click OK

Multi-Camera View in RViz

The combined view shows all 6 cameras with labels: FL (Front-Left), F (Front), FR (Front-Right), BL (Back-Left), B (Back), BR (Back-Right).

Note: If you don’t need the multi-camera combiner (to save CPU resources), you can comment out the following line in launch/autoware_carla_interface.launch.xml:

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_carla_interface

0.53.0 (2026-09-29)

  • Merge remote-tracking branch 'origin/main' into prepare-0.53.0-changelog

  • feat(autoware_carla_interface): allow cameras to publish bgr8 (#13411) CARLA renders BGRA and fills the alpha channel with 255. Nothing downstream reads it, so publishing bgra8 spends a quarter of every camera message on a constant. Accept bgr8 as an image_encoding alongside bgra8 and mono8: it drops the alpha channel and nothing else, so a consumer that wants colour gets the same picture for three quarters of the bytes -- 4,320,000 instead of 5,760,000 for a 1600x900 frame. Unlike mono8 it costs no information, so it is the cheaper default for any colour consumer. The default stays bgra8. Claude-Session: https://claude.ai/code/session_011TMdPd8VUDxUrFtckxg2AQ Co-authored-by: Masaya Kataoka <<ms.kataoka@gmail.com>>

  • fix(autoware_carla_interface): stamp each sensor measurement with the frame it was captured on (#13408)

  • feat(autoware_carla_interface): let a sensor mapping set the CARLA capture rate (#13407)

  • feat(autoware_carla_interface): publish CARLA vehicles as ground truth detections (#13321)

    * feat(autoware_carla_interface): publish CARLA vehicles as ground truth detections Adds an opt-in parameter, publish_ground_truth_objects (default: false, no behavior change), that publishes every CARLA vehicle except the ego to /perception/object_recognition/detection/objects. This feeds the perception stack from simulator truth instead of from sensor data, so tracking and prediction keep running on the real Autoware nodes downstream. It is useful when the vehicles come from an external traffic simulator that the sensor pipeline cannot see reliably, and when the goal is to exercise planning rather than detection. Publishing happens on a world.on_tick() callback, so the objects follow CARLA's cadence rather than the sensor loop, which only turns once every sensor has delivered its frame. The poses come out of the tick snapshot, so a tick costs no round trip to the server and every object in a message belongs to one frame. A snapshot carries only ids and poses, so what never changes about an actor -whether it is a vehicle to report, its class and its size - is looked up the first time that id appears and kept; in steady state a tick asks the server for nothing. Messages carry the bridge's clock rather than snapshot.timestamp. The two count from different starts, and stamping from the snapshot puts the objects far enough ahead of /clock that the tracker's output rate collapses. Classification comes from the CARLA blueprint base_type attribute, so the mapping needs no hand maintained table of blueprint ids. Velocity is left to the tracker: publishing it would need a world to object frame rotation that is easy to get wrong, and a wrong twist is worse for prediction than no twist. Pedestrians are not covered yet.

    * chore(autoware_carla_interface): keep the ground truth publisher's comments in the file's style Shorten the docstrings to one line each, replace the multi-line rationale comments with one-liners and drop a noqa the repository's flake8 does not need. No behavior change; the rationale stays in the pull request.

    * feat(autoware_carla_interface): apply the review suggestions to the ground truth publisher Add the bus label (CARLA spells the base_type "Bus") and publish the bounding box center instead of the actor origin, as suggested in review. The suggestions were applied through the review UI without a sign-off, so they are folded into this signed commit; the content is unchanged. Co-authored-by: Mete Fatih Cırıt <<mfc@autoware.org>> Co-authored-by: Masaya Kataoka <<ms.kataoka@gmail.com>> ---------Co-authored-by: Mete Fatih Cırıt <<mfc@autoware.org>> Co-authored-by: Masaya Kataoka <<ms.kataoka@gmail.com>>

  • feat(autoware_carla_interface): add a tick follower mode for co-simul… (#13286)

  • feat(autoware_carla_interface): publish CARLA traffic-light states, matched to the map by position (#13327)

    * feat(autoware_carla_interface): publish CARLA traffic-light states, matched to the map by position Bridge the CARLA server's traffic-light states into Autoware's perception output so a CARLA closed loop can run without camera-based recognition. The key problem is associating a CARLA traffic light with an Autoware [traffic_light_group_id]{.title-ref} (a [traffic_light]{.title-ref} regulatory-element id in the lanelet2 map). Instead of assuming the CARLA OpenDRIVE signal id equals the regulatory-element id (true only for maps auto-generated from the same OpenDRIVE) or hand-writing an id table, the bridge discovers the mapping geometrically: each CARLA light head is matched to the nearest lanelet2 light head and its state is published under every regulatory element that references that head. This works for hand-authored / Vector Map Builder maps too.

File truncated at 100 lines see the full file

Launch files

  • launch/autoware_carla_interface.launch.xml
      • use_e2e_planning [default: false]
      • vehicle_model [default: sample_vehicle]
      • use_sim_time [default: true]
      • launch_config_pkg [default: autoware_launch]
      • host [default: localhost]
      • port [default: 2000]
      • timeout [default: 20]
      • ego_vehicle_role_name [default: ego_vehicle]
      • vehicle_type [default: vehicle.toyota.prius]
      • spawn_point [default: None]
      • map_path [default: ]
      • sync_mode [default: True]
      • fixed_delta_seconds [default: 0.05]
      • use_traffic_manager [default: False]
      • max_real_delta_seconds [default: 0.05]
      • tick_follower [default: False]
      • spawn_point_ground_snap [default: False]
      • spawn_point_ground_offset_z [default: 0.5]
      • initial_pose_ground_offset_z [default: 1.0]
      • force_load_world [default: False]
      • min_positive_throttle [default: 0.0]
      • min_positive_throttle_speed_threshold [default: 0.8]
      • no_rendering_mode [default: False]
      • map_origin_x [default: 0.0]
      • map_origin_y [default: 0.0]
      • publish_ground_truth_objects [default: False]
      • carla_map [default: ]
      • use_light_weight_sensor_mapping [default: False]
      • sensor_kit_name [default: carla_sensor_kit_description]
      • sensor_mapping_file [default: $(var sensor_mapping_file_default)]
      • max_wheel_steer_angle_deg [default: 0.0]
      • flatten_steering_curve [default: false]
      • wake_sleeping_physics [default: false]
      • traffic_light.publish [default: false]
      • traffic_light.force_green [default: false]
      • traffic_light.map_path [default: ]
      • traffic_light.match_distance [default: 5.0]
      • traffic_light.match_ratio [default: 0.6]
      • traffic_light.id_map [default: ]
      • input_control_cmd [default: /control/command/control_cmd]
      • input_odometry [default: /localization/kinematic_state]
      • input_steering [default: /vehicle/status/steering_status]
      • output_actuation_cmd [default: /control/command/actuation_cmd]
      • raw_vehicle_cmd_converter_config [default: $(find-pkg-share autoware_carla_interface)/config/raw_vehicle_cmd_converter.param.yaml]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_carla_interface at Robotics Stack Exchange

No version for distro rolling showing github. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_carla_interface package from autoware_universe repo

autoware_boundary_departure_checker autoware_component_interface_specs_universe autoware_cuda_dependency_meta autoware_deprecated_boundary_departure_checker autoware_fake_test_node autoware_glog_component autoware_goal_distance_calculator autoware_grid_map_utils autoware_obstacle_proximity_checker autoware_path_distance_calculator autoware_time_utils autoware_traffic_light_compliance_checker autoware_traffic_light_recognition_marker_publisher autoware_traffic_light_utils autoware_universe_utils tier4_api_utils autoware_autonomous_emergency_braking autoware_collision_detector autoware_control_command_gate autoware_control_performance_analysis autoware_control_validator autoware_external_cmd_selector autoware_joy_controller autoware_lane_departure_checker autoware_mpc_lateral_controller autoware_obstacle_collision_checker autoware_operation_mode_transition_manager autoware_pid_longitudinal_controller autoware_predicted_path_checker autoware_pure_pursuit autoware_shift_decider autoware_smart_mpc_trajectory_follower autoware_spheric_collision_detector autoware_stop_mode_operator autoware_trajectory_follower_base autoware_trajectory_follower_node autoware_vehicle_cmd_gate autoware_tensorrt_vad autoware_control_evaluator autoware_evaluation_adapter autoware_kinematic_evaluator autoware_localization_evaluator autoware_perception_online_evaluator autoware_planning_evaluator autoware_scenario_simulator_v2_adapter autoware_diagnostic_graph_test_examples autoware_geo_pose_projector autoware_ar_tag_based_localizer autoware_landmark_manager autoware_lidar_marker_localizer autoware_localization_error_monitor autoware_pose_covariance_modifier autoware_pose_estimator_arbiter autoware_pose_initialization_requester autoware_pose_instability_detector yabloc_common yabloc_image_processing yabloc_monitor yabloc_particle_filter yabloc_pose_initializer autoware_map_tf_generator autoware_bevfusion autoware_bytetrack autoware_camera_streampetr autoware_cluster_merger autoware_compare_map_segmentation autoware_crosswalk_traffic_light_estimator autoware_detected_object_feature_remover autoware_detected_object_validation autoware_detection_by_tracker autoware_elevation_map_loader autoware_euclidean_cluster autoware_ground_segmentation autoware_ground_segmentation_cuda autoware_image_object_locator autoware_image_projection_based_fusion autoware_lidar_apollo_instance_segmentation autoware_lidar_centerpoint autoware_lidar_frnet autoware_lidar_transfusion autoware_map_based_prediction autoware_multi_object_tracker autoware_object_merger autoware_object_sorter autoware_occupancy_grid_map_outlier_filter autoware_predicted_path_postprocessor autoware_probabilistic_occupancy_grid_map autoware_ptv3 autoware_radar_fusion_to_detected_object autoware_radar_object_tracker autoware_radar_tracks_msgs_converter autoware_raindrop_cluster_filter autoware_shape_estimation autoware_simpl_prediction autoware_simple_object_merger autoware_tensorrt_bevdet autoware_tensorrt_bevformer autoware_tensorrt_classifier autoware_tensorrt_common autoware_tensorrt_plugins autoware_tensorrt_yolox autoware_tracking_object_merger autoware_traffic_light_arbiter autoware_traffic_light_category_merger autoware_traffic_light_classifier autoware_traffic_light_fine_detector autoware_traffic_light_map_based_detector autoware_traffic_light_multi_camera_fusion autoware_traffic_light_occlusion_predictor autoware_traffic_light_pipeline autoware_traffic_light_selector autoware_traffic_light_visualization perception_utils autoware_costmap_generator autoware_diffusion_planner autoware_external_velocity_limit_selector autoware_freespace_planner autoware_freespace_planning_algorithms autoware_hazard_lights_selector autoware_in_lane_mrm_planner autoware_manual_lane_change_handler autoware_minimum_rule_based_planner autoware_mission_planner_universe autoware_path_optimizer autoware_path_smoother autoware_remaining_distance_time_calculator autoware_rtc_interface autoware_scenario_selector autoware_surround_obstacle_checker autoware_trajectory_adapter autoware_trajectory_concatenator autoware_trajectory_gate autoware_trajectory_modifier autoware_trajectory_ranker autoware_trajectory_selector autoware_trajectory_validator autoware_behavior_path_avoidance_by_lane_change_module autoware_behavior_path_bidirectional_traffic_module autoware_behavior_path_direction_change_module autoware_behavior_path_dynamic_obstacle_avoidance_module autoware_behavior_path_external_request_lane_change_module autoware_behavior_path_goal_planner_module autoware_behavior_path_lane_change_module autoware_behavior_path_planner autoware_behavior_path_planner_common autoware_behavior_path_sampling_planner_module autoware_behavior_path_side_shift_module autoware_behavior_path_start_planner_module autoware_behavior_path_static_obstacle_avoidance_module autoware_behavior_velocity_blind_spot_module autoware_behavior_velocity_crosswalk_module autoware_behavior_velocity_detection_area_module autoware_behavior_velocity_intersection_module autoware_behavior_velocity_no_drivable_lane_module autoware_behavior_velocity_no_stopping_area_module autoware_behavior_velocity_occlusion_spot_module autoware_behavior_velocity_roundabout_module autoware_behavior_velocity_rtc_interface autoware_behavior_velocity_speed_bump_module autoware_behavior_velocity_template_module autoware_behavior_velocity_traffic_light_module autoware_behavior_velocity_virtual_traffic_light_module autoware_behavior_velocity_walkway_module autoware_motion_velocity_boundary_departure_prevention_module autoware_motion_velocity_dynamic_obstacle_stop_module autoware_motion_velocity_obstacle_cruise_module autoware_motion_velocity_obstacle_slow_down_module autoware_motion_velocity_obstacle_velocity_limiter_module autoware_motion_velocity_out_of_lane_module autoware_motion_velocity_road_user_stop_module autoware_motion_velocity_run_out_module autoware_planning_validator autoware_planning_validator_intersection_collision_checker autoware_planning_validator_latency_checker autoware_planning_validator_rear_collision_checker autoware_planning_validator_test_utils autoware_planning_validator_trajectory_checker autoware_bezier_sampler autoware_frenet_planner autoware_path_sampler autoware_sampler_common autoware_calibration_status_classifier autoware_cuda_pointcloud_preprocessor autoware_cuda_utils autoware_image_transport_decompressor autoware_imu_corrector autoware_pcl_extensions autoware_pointcloud_preprocessor autoware_radar_objects_adapter autoware_radar_scan_to_pointcloud2 autoware_radar_static_pointcloud_filter autoware_radar_threshold_filter autoware_radar_tracks_noise_filter autoware_carla_interface autoware_dummy_diag_publisher autoware_dummy_infrastructure autoware_dummy_traffic_light_publisher autoware_fault_injection autoware_redundancy_command_selector autoware_vehicle_door_simulator tier4_dummy_object_rviz_plugin autoware_command_mode_decider autoware_command_mode_decider_plugins autoware_command_mode_switcher autoware_command_mode_switcher_plugins autoware_command_mode_types autoware_component_state_monitor autoware_adapi_visualizers autoware_default_adapi_universe autoware_diagnostic_graph_aggregator autoware_diagnostic_graph_merger autoware_diagnostic_graph_utils autoware_driving_mode_manager autoware_duplicated_node_checker autoware_generic_service_divider autoware_hazard_status_converter autoware_mrm_comfortable_stop_operator autoware_mrm_emergency_stop_operator autoware_mrm_handler autoware_mrm_in_lane_stop_operator autoware_mrm_reset_manager autoware_mrm_steering_hold_stop_operator autoware_pipeline_latency_monitor autoware_processing_time_checker autoware_redundancy_adapi_switcher autoware_redundancy_switcher_interface autoware_redundancy_switcher_interface_plugins autoware_system_monitor autoware_topic_relay_controller autoware_topic_state_monitor autoware_velodyne_monitor autoware_accel_brake_map_calibrator autoware_external_cmd_converter autoware_raw_vehicle_cmd_converter autoware_steer_offset_estimator autoware_bag_time_manager_rviz_plugin autoware_traffic_light_rviz_plugin tier4_active_generator_rviz_plugin tier4_adapi_rviz_plugin tier4_camera_view_rviz_plugin tier4_control_mode_rviz_plugin tier4_manual_lane_change_rviz_plugin tier4_perception_rviz_plugin tier4_planning_factor_rviz_plugin tier4_state_rviz_plugin tier4_traffic_light_rviz_plugin tier4_vehicle_rviz_plugin

ROS Distro
github

Package Summary

Version 0.53.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_universe.git
VCS Type git
VCS Version main
Last Updated 2026-10-23
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The carla autoware bridge package

Maintainers

  • Muhammad Raditya GIOVANNI
  • Maxime CLEMENT
  • Masaya Kataoka
  • Bin Wang
  • Ujin Kwon

Authors

No additional authors.

autoware_carla_interface

ROS 2 / Autoware Universe bridge for CARLA simulator

Thanks to https://github.com/gezp for ROS 2 Humble support for CARLA Communication. This ros package enables communication between Autoware and CARLA for autonomous driving simulation.

Supported Environment

ubuntu ros carla autoware
22.04 humble 0.9.15 Main

Setup

Install

Prerequisites

  1. Install CARLA 0.9.15: Follow the CARLA Installation Guide

  2. Install CARLA Python Package: Install CARLA 0.9.15 ROS 2 Humble communication package

    • Option A: Install the wheel using pip
    • Option B: Add the egg file to your PYTHONPATH
  3. Download CARLA Lanelet2 Maps: Get the y-axis inverted maps from CARLA Autoware Contents

Map Setup

  1. Download the maps (y-axis inverted version) to an arbitrary location
  2. Create the map folder structure in $HOME/autoware_data/maps:
    • Rename point_cloud/Town01.pcd → $HOME/autoware_data/maps/Town01/pointcloud_map.pcd
    • Rename vector_maps/lanelet2/Town01.osm → $HOME/autoware_data/maps/Town01/lanelet2_map.osm
  3. Create $HOME/autoware_data/maps/Town01/map_projector_info.yaml with:
   projector_type: Local
   

Build

colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release

Run

  1. Run carla, change map, spawn object if you need
   cd CARLA
   ./CarlaUE4.sh -prefernvidia -quality-level=Low -RenderOffScreen
   
  1. Run Autoware with CARLA
   ros2 launch autoware_launch e2e_simulator.launch.xml \
       map_path:=$HOME/autoware_data/maps/Town01 \
       vehicle_model:=sample_vehicle \
       sensor_model:=carla_sensor_kit \
       simulator_type:=carla
   

For E2E planning with VAD:

   ros2 launch autoware_launch e2e_simulator.launch.xml \
       map_path:=$HOME/autoware_data/maps/Town01 \
       vehicle_model:=sample_vehicle \
       sensor_model:=carla_sensor_kit \
       simulator_type:=carla \
       use_e2e_planning:=true
   
  1. Set initial pose (Init by GNSS)
  2. Set goal position
  3. Wait for planning
  4. Engage

Viewing Multi-Camera View in RViz

The carla_sensor_kit includes 6 cameras providing 360-degree coverage (Front, Front-Left, Front-Right, Back, Back-Left, Back-Right). A multi-camera combiner node automatically combines all camera feeds into a single 2x3 grid view.

To view the combined camera feed in RViz:

  1. In the Displays panel (left side), click the “Add” button
  2. Select the “By topic” tab
  3. Navigate to /sensing/camera/all_cameras/image_raw
  4. Select “Image” display type
  5. Click OK

Multi-Camera View in RViz

The combined view shows all 6 cameras with labels: FL (Front-Left), F (Front), FR (Front-Right), BL (Back-Left), B (Back), BR (Back-Right).

Note: If you don’t need the multi-camera combiner (to save CPU resources), you can comment out the following line in launch/autoware_carla_interface.launch.xml:

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_carla_interface

0.53.0 (2026-09-29)

  • Merge remote-tracking branch 'origin/main' into prepare-0.53.0-changelog

  • feat(autoware_carla_interface): allow cameras to publish bgr8 (#13411) CARLA renders BGRA and fills the alpha channel with 255. Nothing downstream reads it, so publishing bgra8 spends a quarter of every camera message on a constant. Accept bgr8 as an image_encoding alongside bgra8 and mono8: it drops the alpha channel and nothing else, so a consumer that wants colour gets the same picture for three quarters of the bytes -- 4,320,000 instead of 5,760,000 for a 1600x900 frame. Unlike mono8 it costs no information, so it is the cheaper default for any colour consumer. The default stays bgra8. Claude-Session: https://claude.ai/code/session_011TMdPd8VUDxUrFtckxg2AQ Co-authored-by: Masaya Kataoka <<ms.kataoka@gmail.com>>

  • fix(autoware_carla_interface): stamp each sensor measurement with the frame it was captured on (#13408)

  • feat(autoware_carla_interface): let a sensor mapping set the CARLA capture rate (#13407)

  • feat(autoware_carla_interface): publish CARLA vehicles as ground truth detections (#13321)

    * feat(autoware_carla_interface): publish CARLA vehicles as ground truth detections Adds an opt-in parameter, publish_ground_truth_objects (default: false, no behavior change), that publishes every CARLA vehicle except the ego to /perception/object_recognition/detection/objects. This feeds the perception stack from simulator truth instead of from sensor data, so tracking and prediction keep running on the real Autoware nodes downstream. It is useful when the vehicles come from an external traffic simulator that the sensor pipeline cannot see reliably, and when the goal is to exercise planning rather than detection. Publishing happens on a world.on_tick() callback, so the objects follow CARLA's cadence rather than the sensor loop, which only turns once every sensor has delivered its frame. The poses come out of the tick snapshot, so a tick costs no round trip to the server and every object in a message belongs to one frame. A snapshot carries only ids and poses, so what never changes about an actor -whether it is a vehicle to report, its class and its size - is looked up the first time that id appears and kept; in steady state a tick asks the server for nothing. Messages carry the bridge's clock rather than snapshot.timestamp. The two count from different starts, and stamping from the snapshot puts the objects far enough ahead of /clock that the tracker's output rate collapses. Classification comes from the CARLA blueprint base_type attribute, so the mapping needs no hand maintained table of blueprint ids. Velocity is left to the tracker: publishing it would need a world to object frame rotation that is easy to get wrong, and a wrong twist is worse for prediction than no twist. Pedestrians are not covered yet.

    * chore(autoware_carla_interface): keep the ground truth publisher's comments in the file's style Shorten the docstrings to one line each, replace the multi-line rationale comments with one-liners and drop a noqa the repository's flake8 does not need. No behavior change; the rationale stays in the pull request.

    * feat(autoware_carla_interface): apply the review suggestions to the ground truth publisher Add the bus label (CARLA spells the base_type "Bus") and publish the bounding box center instead of the actor origin, as suggested in review. The suggestions were applied through the review UI without a sign-off, so they are folded into this signed commit; the content is unchanged. Co-authored-by: Mete Fatih Cırıt <<mfc@autoware.org>> Co-authored-by: Masaya Kataoka <<ms.kataoka@gmail.com>> ---------Co-authored-by: Mete Fatih Cırıt <<mfc@autoware.org>> Co-authored-by: Masaya Kataoka <<ms.kataoka@gmail.com>>

  • feat(autoware_carla_interface): add a tick follower mode for co-simul… (#13286)

  • feat(autoware_carla_interface): publish CARLA traffic-light states, matched to the map by position (#13327)

    * feat(autoware_carla_interface): publish CARLA traffic-light states, matched to the map by position Bridge the CARLA server's traffic-light states into Autoware's perception output so a CARLA closed loop can run without camera-based recognition. The key problem is associating a CARLA traffic light with an Autoware [traffic_light_group_id]{.title-ref} (a [traffic_light]{.title-ref} regulatory-element id in the lanelet2 map). Instead of assuming the CARLA OpenDRIVE signal id equals the regulatory-element id (true only for maps auto-generated from the same OpenDRIVE) or hand-writing an id table, the bridge discovers the mapping geometrically: each CARLA light head is matched to the nearest lanelet2 light head and its state is published under every regulatory element that references that head. This works for hand-authored / Vector Map Builder maps too.

File truncated at 100 lines see the full file

Launch files

  • launch/autoware_carla_interface.launch.xml
      • use_e2e_planning [default: false]
      • vehicle_model [default: sample_vehicle]
      • use_sim_time [default: true]
      • launch_config_pkg [default: autoware_launch]
      • host [default: localhost]
      • port [default: 2000]
      • timeout [default: 20]
      • ego_vehicle_role_name [default: ego_vehicle]
      • vehicle_type [default: vehicle.toyota.prius]
      • spawn_point [default: None]
      • map_path [default: ]
      • sync_mode [default: True]
      • fixed_delta_seconds [default: 0.05]
      • use_traffic_manager [default: False]
      • max_real_delta_seconds [default: 0.05]
      • tick_follower [default: False]
      • spawn_point_ground_snap [default: False]
      • spawn_point_ground_offset_z [default: 0.5]
      • initial_pose_ground_offset_z [default: 1.0]
      • force_load_world [default: False]
      • min_positive_throttle [default: 0.0]
      • min_positive_throttle_speed_threshold [default: 0.8]
      • no_rendering_mode [default: False]
      • map_origin_x [default: 0.0]
      • map_origin_y [default: 0.0]
      • publish_ground_truth_objects [default: False]
      • carla_map [default: ]
      • use_light_weight_sensor_mapping [default: False]
      • sensor_kit_name [default: carla_sensor_kit_description]
      • sensor_mapping_file [default: $(var sensor_mapping_file_default)]
      • max_wheel_steer_angle_deg [default: 0.0]
      • flatten_steering_curve [default: false]
      • wake_sleeping_physics [default: false]
      • traffic_light.publish [default: false]
      • traffic_light.force_green [default: false]
      • traffic_light.map_path [default: ]
      • traffic_light.match_distance [default: 5.0]
      • traffic_light.match_ratio [default: 0.6]
      • traffic_light.id_map [default: ]
      • input_control_cmd [default: /control/command/control_cmd]
      • input_odometry [default: /localization/kinematic_state]
      • input_steering [default: /vehicle/status/steering_status]
      • output_actuation_cmd [default: /control/command/actuation_cmd]
      • raw_vehicle_cmd_converter_config [default: $(find-pkg-share autoware_carla_interface)/config/raw_vehicle_cmd_converter.param.yaml]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_carla_interface at Robotics Stack Exchange

Package symbol

autoware_carla_interface package from autoware_universe repo

autoware_boundary_departure_checker autoware_component_interface_specs_universe autoware_cuda_dependency_meta autoware_deprecated_boundary_departure_checker autoware_fake_test_node autoware_glog_component autoware_goal_distance_calculator autoware_grid_map_utils autoware_obstacle_proximity_checker autoware_path_distance_calculator autoware_time_utils autoware_traffic_light_compliance_checker autoware_traffic_light_recognition_marker_publisher autoware_traffic_light_utils autoware_universe_utils tier4_api_utils autoware_autonomous_emergency_braking autoware_collision_detector autoware_control_command_gate autoware_control_performance_analysis autoware_control_validator autoware_external_cmd_selector autoware_joy_controller autoware_lane_departure_checker autoware_mpc_lateral_controller autoware_obstacle_collision_checker autoware_operation_mode_transition_manager autoware_pid_longitudinal_controller autoware_predicted_path_checker autoware_pure_pursuit autoware_shift_decider autoware_smart_mpc_trajectory_follower autoware_spheric_collision_detector autoware_stop_mode_operator autoware_trajectory_follower_base autoware_trajectory_follower_node autoware_vehicle_cmd_gate autoware_tensorrt_vad autoware_control_evaluator autoware_evaluation_adapter autoware_kinematic_evaluator autoware_localization_evaluator autoware_perception_online_evaluator autoware_planning_evaluator autoware_scenario_simulator_v2_adapter autoware_diagnostic_graph_test_examples autoware_geo_pose_projector autoware_ar_tag_based_localizer autoware_landmark_manager autoware_lidar_marker_localizer autoware_localization_error_monitor autoware_pose_covariance_modifier autoware_pose_estimator_arbiter autoware_pose_initialization_requester autoware_pose_instability_detector yabloc_common yabloc_image_processing yabloc_monitor yabloc_particle_filter yabloc_pose_initializer autoware_map_tf_generator autoware_bevfusion autoware_bytetrack autoware_camera_streampetr autoware_cluster_merger autoware_compare_map_segmentation autoware_crosswalk_traffic_light_estimator autoware_detected_object_feature_remover autoware_detected_object_validation autoware_detection_by_tracker autoware_elevation_map_loader autoware_euclidean_cluster autoware_ground_segmentation autoware_ground_segmentation_cuda autoware_image_object_locator autoware_image_projection_based_fusion autoware_lidar_apollo_instance_segmentation autoware_lidar_centerpoint autoware_lidar_frnet autoware_lidar_transfusion autoware_map_based_prediction autoware_multi_object_tracker autoware_object_merger autoware_object_sorter autoware_occupancy_grid_map_outlier_filter autoware_predicted_path_postprocessor autoware_probabilistic_occupancy_grid_map autoware_ptv3 autoware_radar_fusion_to_detected_object autoware_radar_object_tracker autoware_radar_tracks_msgs_converter autoware_raindrop_cluster_filter autoware_shape_estimation autoware_simpl_prediction autoware_simple_object_merger autoware_tensorrt_bevdet autoware_tensorrt_bevformer autoware_tensorrt_classifier autoware_tensorrt_common autoware_tensorrt_plugins autoware_tensorrt_yolox autoware_tracking_object_merger autoware_traffic_light_arbiter autoware_traffic_light_category_merger autoware_traffic_light_classifier autoware_traffic_light_fine_detector autoware_traffic_light_map_based_detector autoware_traffic_light_multi_camera_fusion autoware_traffic_light_occlusion_predictor autoware_traffic_light_pipeline autoware_traffic_light_selector autoware_traffic_light_visualization perception_utils autoware_costmap_generator autoware_diffusion_planner autoware_external_velocity_limit_selector autoware_freespace_planner autoware_freespace_planning_algorithms autoware_hazard_lights_selector autoware_in_lane_mrm_planner autoware_manual_lane_change_handler autoware_minimum_rule_based_planner autoware_mission_planner_universe autoware_path_optimizer autoware_path_smoother autoware_remaining_distance_time_calculator autoware_rtc_interface autoware_scenario_selector autoware_surround_obstacle_checker autoware_trajectory_adapter autoware_trajectory_concatenator autoware_trajectory_gate autoware_trajectory_modifier autoware_trajectory_ranker autoware_trajectory_selector autoware_trajectory_validator autoware_behavior_path_avoidance_by_lane_change_module autoware_behavior_path_bidirectional_traffic_module autoware_behavior_path_direction_change_module autoware_behavior_path_dynamic_obstacle_avoidance_module autoware_behavior_path_external_request_lane_change_module autoware_behavior_path_goal_planner_module autoware_behavior_path_lane_change_module autoware_behavior_path_planner autoware_behavior_path_planner_common autoware_behavior_path_sampling_planner_module autoware_behavior_path_side_shift_module autoware_behavior_path_start_planner_module autoware_behavior_path_static_obstacle_avoidance_module autoware_behavior_velocity_blind_spot_module autoware_behavior_velocity_crosswalk_module autoware_behavior_velocity_detection_area_module autoware_behavior_velocity_intersection_module autoware_behavior_velocity_no_drivable_lane_module autoware_behavior_velocity_no_stopping_area_module autoware_behavior_velocity_occlusion_spot_module autoware_behavior_velocity_roundabout_module autoware_behavior_velocity_rtc_interface autoware_behavior_velocity_speed_bump_module autoware_behavior_velocity_template_module autoware_behavior_velocity_traffic_light_module autoware_behavior_velocity_virtual_traffic_light_module autoware_behavior_velocity_walkway_module autoware_motion_velocity_boundary_departure_prevention_module autoware_motion_velocity_dynamic_obstacle_stop_module autoware_motion_velocity_obstacle_cruise_module autoware_motion_velocity_obstacle_slow_down_module autoware_motion_velocity_obstacle_velocity_limiter_module autoware_motion_velocity_out_of_lane_module autoware_motion_velocity_road_user_stop_module autoware_motion_velocity_run_out_module autoware_planning_validator autoware_planning_validator_intersection_collision_checker autoware_planning_validator_latency_checker autoware_planning_validator_rear_collision_checker autoware_planning_validator_test_utils autoware_planning_validator_trajectory_checker autoware_bezier_sampler autoware_frenet_planner autoware_path_sampler autoware_sampler_common autoware_calibration_status_classifier autoware_cuda_pointcloud_preprocessor autoware_cuda_utils autoware_image_transport_decompressor autoware_imu_corrector autoware_pcl_extensions autoware_pointcloud_preprocessor autoware_radar_objects_adapter autoware_radar_scan_to_pointcloud2 autoware_radar_static_pointcloud_filter autoware_radar_threshold_filter autoware_radar_tracks_noise_filter autoware_carla_interface autoware_dummy_diag_publisher autoware_dummy_infrastructure autoware_dummy_traffic_light_publisher autoware_fault_injection autoware_redundancy_command_selector autoware_vehicle_door_simulator tier4_dummy_object_rviz_plugin autoware_command_mode_decider autoware_command_mode_decider_plugins autoware_command_mode_switcher autoware_command_mode_switcher_plugins autoware_command_mode_types autoware_component_state_monitor autoware_adapi_visualizers autoware_default_adapi_universe autoware_diagnostic_graph_aggregator autoware_diagnostic_graph_merger autoware_diagnostic_graph_utils autoware_driving_mode_manager autoware_duplicated_node_checker autoware_generic_service_divider autoware_hazard_status_converter autoware_mrm_comfortable_stop_operator autoware_mrm_emergency_stop_operator autoware_mrm_handler autoware_mrm_in_lane_stop_operator autoware_mrm_reset_manager autoware_mrm_steering_hold_stop_operator autoware_pipeline_latency_monitor autoware_processing_time_checker autoware_redundancy_adapi_switcher autoware_redundancy_switcher_interface autoware_redundancy_switcher_interface_plugins autoware_system_monitor autoware_topic_relay_controller autoware_topic_state_monitor autoware_velodyne_monitor autoware_accel_brake_map_calibrator autoware_external_cmd_converter autoware_raw_vehicle_cmd_converter autoware_steer_offset_estimator autoware_bag_time_manager_rviz_plugin autoware_traffic_light_rviz_plugin tier4_active_generator_rviz_plugin tier4_adapi_rviz_plugin tier4_camera_view_rviz_plugin tier4_control_mode_rviz_plugin tier4_manual_lane_change_rviz_plugin tier4_perception_rviz_plugin tier4_planning_factor_rviz_plugin tier4_state_rviz_plugin tier4_traffic_light_rviz_plugin tier4_vehicle_rviz_plugin

ROS Distro
github

Package Summary

Version 0.53.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_universe.git
VCS Type git
VCS Version main
Last Updated 2026-10-23
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The carla autoware bridge package

Maintainers

  • Muhammad Raditya GIOVANNI
  • Maxime CLEMENT
  • Masaya Kataoka
  • Bin Wang
  • Ujin Kwon

Authors

No additional authors.

autoware_carla_interface

ROS 2 / Autoware Universe bridge for CARLA simulator

Thanks to https://github.com/gezp for ROS 2 Humble support for CARLA Communication. This ros package enables communication between Autoware and CARLA for autonomous driving simulation.

Supported Environment

ubuntu ros carla autoware
22.04 humble 0.9.15 Main

Setup

Install

Prerequisites

  1. Install CARLA 0.9.15: Follow the CARLA Installation Guide

  2. Install CARLA Python Package: Install CARLA 0.9.15 ROS 2 Humble communication package

    • Option A: Install the wheel using pip
    • Option B: Add the egg file to your PYTHONPATH
  3. Download CARLA Lanelet2 Maps: Get the y-axis inverted maps from CARLA Autoware Contents

Map Setup

  1. Download the maps (y-axis inverted version) to an arbitrary location
  2. Create the map folder structure in $HOME/autoware_data/maps:
    • Rename point_cloud/Town01.pcd → $HOME/autoware_data/maps/Town01/pointcloud_map.pcd
    • Rename vector_maps/lanelet2/Town01.osm → $HOME/autoware_data/maps/Town01/lanelet2_map.osm
  3. Create $HOME/autoware_data/maps/Town01/map_projector_info.yaml with:
   projector_type: Local
   

Build

colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release

Run

  1. Run carla, change map, spawn object if you need
   cd CARLA
   ./CarlaUE4.sh -prefernvidia -quality-level=Low -RenderOffScreen
   
  1. Run Autoware with CARLA
   ros2 launch autoware_launch e2e_simulator.launch.xml \
       map_path:=$HOME/autoware_data/maps/Town01 \
       vehicle_model:=sample_vehicle \
       sensor_model:=carla_sensor_kit \
       simulator_type:=carla
   

For E2E planning with VAD:

   ros2 launch autoware_launch e2e_simulator.launch.xml \
       map_path:=$HOME/autoware_data/maps/Town01 \
       vehicle_model:=sample_vehicle \
       sensor_model:=carla_sensor_kit \
       simulator_type:=carla \
       use_e2e_planning:=true
   
  1. Set initial pose (Init by GNSS)
  2. Set goal position
  3. Wait for planning
  4. Engage

Viewing Multi-Camera View in RViz

The carla_sensor_kit includes 6 cameras providing 360-degree coverage (Front, Front-Left, Front-Right, Back, Back-Left, Back-Right). A multi-camera combiner node automatically combines all camera feeds into a single 2x3 grid view.

To view the combined camera feed in RViz:

  1. In the Displays panel (left side), click the “Add” button
  2. Select the “By topic” tab
  3. Navigate to /sensing/camera/all_cameras/image_raw
  4. Select “Image” display type
  5. Click OK

Multi-Camera View in RViz

The combined view shows all 6 cameras with labels: FL (Front-Left), F (Front), FR (Front-Right), BL (Back-Left), B (Back), BR (Back-Right).

Note: If you don’t need the multi-camera combiner (to save CPU resources), you can comment out the following line in launch/autoware_carla_interface.launch.xml:

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_carla_interface

0.53.0 (2026-09-29)

  • Merge remote-tracking branch 'origin/main' into prepare-0.53.0-changelog

  • feat(autoware_carla_interface): allow cameras to publish bgr8 (#13411) CARLA renders BGRA and fills the alpha channel with 255. Nothing downstream reads it, so publishing bgra8 spends a quarter of every camera message on a constant. Accept bgr8 as an image_encoding alongside bgra8 and mono8: it drops the alpha channel and nothing else, so a consumer that wants colour gets the same picture for three quarters of the bytes -- 4,320,000 instead of 5,760,000 for a 1600x900 frame. Unlike mono8 it costs no information, so it is the cheaper default for any colour consumer. The default stays bgra8. Claude-Session: https://claude.ai/code/session_011TMdPd8VUDxUrFtckxg2AQ Co-authored-by: Masaya Kataoka <<ms.kataoka@gmail.com>>

  • fix(autoware_carla_interface): stamp each sensor measurement with the frame it was captured on (#13408)

  • feat(autoware_carla_interface): let a sensor mapping set the CARLA capture rate (#13407)

  • feat(autoware_carla_interface): publish CARLA vehicles as ground truth detections (#13321)

    * feat(autoware_carla_interface): publish CARLA vehicles as ground truth detections Adds an opt-in parameter, publish_ground_truth_objects (default: false, no behavior change), that publishes every CARLA vehicle except the ego to /perception/object_recognition/detection/objects. This feeds the perception stack from simulator truth instead of from sensor data, so tracking and prediction keep running on the real Autoware nodes downstream. It is useful when the vehicles come from an external traffic simulator that the sensor pipeline cannot see reliably, and when the goal is to exercise planning rather than detection. Publishing happens on a world.on_tick() callback, so the objects follow CARLA's cadence rather than the sensor loop, which only turns once every sensor has delivered its frame. The poses come out of the tick snapshot, so a tick costs no round trip to the server and every object in a message belongs to one frame. A snapshot carries only ids and poses, so what never changes about an actor -whether it is a vehicle to report, its class and its size - is looked up the first time that id appears and kept; in steady state a tick asks the server for nothing. Messages carry the bridge's clock rather than snapshot.timestamp. The two count from different starts, and stamping from the snapshot puts the objects far enough ahead of /clock that the tracker's output rate collapses. Classification comes from the CARLA blueprint base_type attribute, so the mapping needs no hand maintained table of blueprint ids. Velocity is left to the tracker: publishing it would need a world to object frame rotation that is easy to get wrong, and a wrong twist is worse for prediction than no twist. Pedestrians are not covered yet.

    * chore(autoware_carla_interface): keep the ground truth publisher's comments in the file's style Shorten the docstrings to one line each, replace the multi-line rationale comments with one-liners and drop a noqa the repository's flake8 does not need. No behavior change; the rationale stays in the pull request.

    * feat(autoware_carla_interface): apply the review suggestions to the ground truth publisher Add the bus label (CARLA spells the base_type "Bus") and publish the bounding box center instead of the actor origin, as suggested in review. The suggestions were applied through the review UI without a sign-off, so they are folded into this signed commit; the content is unchanged. Co-authored-by: Mete Fatih Cırıt <<mfc@autoware.org>> Co-authored-by: Masaya Kataoka <<ms.kataoka@gmail.com>> ---------Co-authored-by: Mete Fatih Cırıt <<mfc@autoware.org>> Co-authored-by: Masaya Kataoka <<ms.kataoka@gmail.com>>

  • feat(autoware_carla_interface): add a tick follower mode for co-simul… (#13286)

  • feat(autoware_carla_interface): publish CARLA traffic-light states, matched to the map by position (#13327)

    * feat(autoware_carla_interface): publish CARLA traffic-light states, matched to the map by position Bridge the CARLA server's traffic-light states into Autoware's perception output so a CARLA closed loop can run without camera-based recognition. The key problem is associating a CARLA traffic light with an Autoware [traffic_light_group_id]{.title-ref} (a [traffic_light]{.title-ref} regulatory-element id in the lanelet2 map). Instead of assuming the CARLA OpenDRIVE signal id equals the regulatory-element id (true only for maps auto-generated from the same OpenDRIVE) or hand-writing an id table, the bridge discovers the mapping geometrically: each CARLA light head is matched to the nearest lanelet2 light head and its state is published under every regulatory element that references that head. This works for hand-authored / Vector Map Builder maps too.

File truncated at 100 lines see the full file

Launch files

  • launch/autoware_carla_interface.launch.xml
      • use_e2e_planning [default: false]
      • vehicle_model [default: sample_vehicle]
      • use_sim_time [default: true]
      • launch_config_pkg [default: autoware_launch]
      • host [default: localhost]
      • port [default: 2000]
      • timeout [default: 20]
      • ego_vehicle_role_name [default: ego_vehicle]
      • vehicle_type [default: vehicle.toyota.prius]
      • spawn_point [default: None]
      • map_path [default: ]
      • sync_mode [default: True]
      • fixed_delta_seconds [default: 0.05]
      • use_traffic_manager [default: False]
      • max_real_delta_seconds [default: 0.05]
      • tick_follower [default: False]
      • spawn_point_ground_snap [default: False]
      • spawn_point_ground_offset_z [default: 0.5]
      • initial_pose_ground_offset_z [default: 1.0]
      • force_load_world [default: False]
      • min_positive_throttle [default: 0.0]
      • min_positive_throttle_speed_threshold [default: 0.8]
      • no_rendering_mode [default: False]
      • map_origin_x [default: 0.0]
      • map_origin_y [default: 0.0]
      • publish_ground_truth_objects [default: False]
      • carla_map [default: ]
      • use_light_weight_sensor_mapping [default: False]
      • sensor_kit_name [default: carla_sensor_kit_description]
      • sensor_mapping_file [default: $(var sensor_mapping_file_default)]
      • max_wheel_steer_angle_deg [default: 0.0]
      • flatten_steering_curve [default: false]
      • wake_sleeping_physics [default: false]
      • traffic_light.publish [default: false]
      • traffic_light.force_green [default: false]
      • traffic_light.map_path [default: ]
      • traffic_light.match_distance [default: 5.0]
      • traffic_light.match_ratio [default: 0.6]
      • traffic_light.id_map [default: ]
      • input_control_cmd [default: /control/command/control_cmd]
      • input_odometry [default: /localization/kinematic_state]
      • input_steering [default: /vehicle/status/steering_status]
      • output_actuation_cmd [default: /control/command/actuation_cmd]
      • raw_vehicle_cmd_converter_config [default: $(find-pkg-share autoware_carla_interface)/config/raw_vehicle_cmd_converter.param.yaml]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_carla_interface at Robotics Stack Exchange

No version for distro galactic showing github. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_carla_interface package from autoware_universe repo

autoware_boundary_departure_checker autoware_component_interface_specs_universe autoware_cuda_dependency_meta autoware_deprecated_boundary_departure_checker autoware_fake_test_node autoware_glog_component autoware_goal_distance_calculator autoware_grid_map_utils autoware_obstacle_proximity_checker autoware_path_distance_calculator autoware_time_utils autoware_traffic_light_compliance_checker autoware_traffic_light_recognition_marker_publisher autoware_traffic_light_utils autoware_universe_utils tier4_api_utils autoware_autonomous_emergency_braking autoware_collision_detector autoware_control_command_gate autoware_control_performance_analysis autoware_control_validator autoware_external_cmd_selector autoware_joy_controller autoware_lane_departure_checker autoware_mpc_lateral_controller autoware_obstacle_collision_checker autoware_operation_mode_transition_manager autoware_pid_longitudinal_controller autoware_predicted_path_checker autoware_pure_pursuit autoware_shift_decider autoware_smart_mpc_trajectory_follower autoware_spheric_collision_detector autoware_stop_mode_operator autoware_trajectory_follower_base autoware_trajectory_follower_node autoware_vehicle_cmd_gate autoware_tensorrt_vad autoware_control_evaluator autoware_evaluation_adapter autoware_kinematic_evaluator autoware_localization_evaluator autoware_perception_online_evaluator autoware_planning_evaluator autoware_scenario_simulator_v2_adapter autoware_diagnostic_graph_test_examples autoware_geo_pose_projector autoware_ar_tag_based_localizer autoware_landmark_manager autoware_lidar_marker_localizer autoware_localization_error_monitor autoware_pose_covariance_modifier autoware_pose_estimator_arbiter autoware_pose_initialization_requester autoware_pose_instability_detector yabloc_common yabloc_image_processing yabloc_monitor yabloc_particle_filter yabloc_pose_initializer autoware_map_tf_generator autoware_bevfusion autoware_bytetrack autoware_camera_streampetr autoware_cluster_merger autoware_compare_map_segmentation autoware_crosswalk_traffic_light_estimator autoware_detected_object_feature_remover autoware_detected_object_validation autoware_detection_by_tracker autoware_elevation_map_loader autoware_euclidean_cluster autoware_ground_segmentation autoware_ground_segmentation_cuda autoware_image_object_locator autoware_image_projection_based_fusion autoware_lidar_apollo_instance_segmentation autoware_lidar_centerpoint autoware_lidar_frnet autoware_lidar_transfusion autoware_map_based_prediction autoware_multi_object_tracker autoware_object_merger autoware_object_sorter autoware_occupancy_grid_map_outlier_filter autoware_predicted_path_postprocessor autoware_probabilistic_occupancy_grid_map autoware_ptv3 autoware_radar_fusion_to_detected_object autoware_radar_object_tracker autoware_radar_tracks_msgs_converter autoware_raindrop_cluster_filter autoware_shape_estimation autoware_simpl_prediction autoware_simple_object_merger autoware_tensorrt_bevdet autoware_tensorrt_bevformer autoware_tensorrt_classifier autoware_tensorrt_common autoware_tensorrt_plugins autoware_tensorrt_yolox autoware_tracking_object_merger autoware_traffic_light_arbiter autoware_traffic_light_category_merger autoware_traffic_light_classifier autoware_traffic_light_fine_detector autoware_traffic_light_map_based_detector autoware_traffic_light_multi_camera_fusion autoware_traffic_light_occlusion_predictor autoware_traffic_light_pipeline autoware_traffic_light_selector autoware_traffic_light_visualization perception_utils autoware_costmap_generator autoware_diffusion_planner autoware_external_velocity_limit_selector autoware_freespace_planner autoware_freespace_planning_algorithms autoware_hazard_lights_selector autoware_in_lane_mrm_planner autoware_manual_lane_change_handler autoware_minimum_rule_based_planner autoware_mission_planner_universe autoware_path_optimizer autoware_path_smoother autoware_remaining_distance_time_calculator autoware_rtc_interface autoware_scenario_selector autoware_surround_obstacle_checker autoware_trajectory_adapter autoware_trajectory_concatenator autoware_trajectory_gate autoware_trajectory_modifier autoware_trajectory_ranker autoware_trajectory_selector autoware_trajectory_validator autoware_behavior_path_avoidance_by_lane_change_module autoware_behavior_path_bidirectional_traffic_module autoware_behavior_path_direction_change_module autoware_behavior_path_dynamic_obstacle_avoidance_module autoware_behavior_path_external_request_lane_change_module autoware_behavior_path_goal_planner_module autoware_behavior_path_lane_change_module autoware_behavior_path_planner autoware_behavior_path_planner_common autoware_behavior_path_sampling_planner_module autoware_behavior_path_side_shift_module autoware_behavior_path_start_planner_module autoware_behavior_path_static_obstacle_avoidance_module autoware_behavior_velocity_blind_spot_module autoware_behavior_velocity_crosswalk_module autoware_behavior_velocity_detection_area_module autoware_behavior_velocity_intersection_module autoware_behavior_velocity_no_drivable_lane_module autoware_behavior_velocity_no_stopping_area_module autoware_behavior_velocity_occlusion_spot_module autoware_behavior_velocity_roundabout_module autoware_behavior_velocity_rtc_interface autoware_behavior_velocity_speed_bump_module autoware_behavior_velocity_template_module autoware_behavior_velocity_traffic_light_module autoware_behavior_velocity_virtual_traffic_light_module autoware_behavior_velocity_walkway_module autoware_motion_velocity_boundary_departure_prevention_module autoware_motion_velocity_dynamic_obstacle_stop_module autoware_motion_velocity_obstacle_cruise_module autoware_motion_velocity_obstacle_slow_down_module autoware_motion_velocity_obstacle_velocity_limiter_module autoware_motion_velocity_out_of_lane_module autoware_motion_velocity_road_user_stop_module autoware_motion_velocity_run_out_module autoware_planning_validator autoware_planning_validator_intersection_collision_checker autoware_planning_validator_latency_checker autoware_planning_validator_rear_collision_checker autoware_planning_validator_test_utils autoware_planning_validator_trajectory_checker autoware_bezier_sampler autoware_frenet_planner autoware_path_sampler autoware_sampler_common autoware_calibration_status_classifier autoware_cuda_pointcloud_preprocessor autoware_cuda_utils autoware_image_transport_decompressor autoware_imu_corrector autoware_pcl_extensions autoware_pointcloud_preprocessor autoware_radar_objects_adapter autoware_radar_scan_to_pointcloud2 autoware_radar_static_pointcloud_filter autoware_radar_threshold_filter autoware_radar_tracks_noise_filter autoware_carla_interface autoware_dummy_diag_publisher autoware_dummy_infrastructure autoware_dummy_traffic_light_publisher autoware_fault_injection autoware_redundancy_command_selector autoware_vehicle_door_simulator tier4_dummy_object_rviz_plugin autoware_command_mode_decider autoware_command_mode_decider_plugins autoware_command_mode_switcher autoware_command_mode_switcher_plugins autoware_command_mode_types autoware_component_state_monitor autoware_adapi_visualizers autoware_default_adapi_universe autoware_diagnostic_graph_aggregator autoware_diagnostic_graph_merger autoware_diagnostic_graph_utils autoware_driving_mode_manager autoware_duplicated_node_checker autoware_generic_service_divider autoware_hazard_status_converter autoware_mrm_comfortable_stop_operator autoware_mrm_emergency_stop_operator autoware_mrm_handler autoware_mrm_in_lane_stop_operator autoware_mrm_reset_manager autoware_mrm_steering_hold_stop_operator autoware_pipeline_latency_monitor autoware_processing_time_checker autoware_redundancy_adapi_switcher autoware_redundancy_switcher_interface autoware_redundancy_switcher_interface_plugins autoware_system_monitor autoware_topic_relay_controller autoware_topic_state_monitor autoware_velodyne_monitor autoware_accel_brake_map_calibrator autoware_external_cmd_converter autoware_raw_vehicle_cmd_converter autoware_steer_offset_estimator autoware_bag_time_manager_rviz_plugin autoware_traffic_light_rviz_plugin tier4_active_generator_rviz_plugin tier4_adapi_rviz_plugin tier4_camera_view_rviz_plugin tier4_control_mode_rviz_plugin tier4_manual_lane_change_rviz_plugin tier4_perception_rviz_plugin tier4_planning_factor_rviz_plugin tier4_state_rviz_plugin tier4_traffic_light_rviz_plugin tier4_vehicle_rviz_plugin

ROS Distro
github

Package Summary

Version 0.53.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_universe.git
VCS Type git
VCS Version main
Last Updated 2026-10-23
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The carla autoware bridge package

Maintainers

  • Muhammad Raditya GIOVANNI
  • Maxime CLEMENT
  • Masaya Kataoka
  • Bin Wang
  • Ujin Kwon

Authors

No additional authors.

autoware_carla_interface

ROS 2 / Autoware Universe bridge for CARLA simulator

Thanks to https://github.com/gezp for ROS 2 Humble support for CARLA Communication. This ros package enables communication between Autoware and CARLA for autonomous driving simulation.

Supported Environment

ubuntu ros carla autoware
22.04 humble 0.9.15 Main

Setup

Install

Prerequisites

  1. Install CARLA 0.9.15: Follow the CARLA Installation Guide

  2. Install CARLA Python Package: Install CARLA 0.9.15 ROS 2 Humble communication package

    • Option A: Install the wheel using pip
    • Option B: Add the egg file to your PYTHONPATH
  3. Download CARLA Lanelet2 Maps: Get the y-axis inverted maps from CARLA Autoware Contents

Map Setup

  1. Download the maps (y-axis inverted version) to an arbitrary location
  2. Create the map folder structure in $HOME/autoware_data/maps:
    • Rename point_cloud/Town01.pcd → $HOME/autoware_data/maps/Town01/pointcloud_map.pcd
    • Rename vector_maps/lanelet2/Town01.osm → $HOME/autoware_data/maps/Town01/lanelet2_map.osm
  3. Create $HOME/autoware_data/maps/Town01/map_projector_info.yaml with:
   projector_type: Local
   

Build

colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release

Run

  1. Run carla, change map, spawn object if you need
   cd CARLA
   ./CarlaUE4.sh -prefernvidia -quality-level=Low -RenderOffScreen
   
  1. Run Autoware with CARLA
   ros2 launch autoware_launch e2e_simulator.launch.xml \
       map_path:=$HOME/autoware_data/maps/Town01 \
       vehicle_model:=sample_vehicle \
       sensor_model:=carla_sensor_kit \
       simulator_type:=carla
   

For E2E planning with VAD:

   ros2 launch autoware_launch e2e_simulator.launch.xml \
       map_path:=$HOME/autoware_data/maps/Town01 \
       vehicle_model:=sample_vehicle \
       sensor_model:=carla_sensor_kit \
       simulator_type:=carla \
       use_e2e_planning:=true
   
  1. Set initial pose (Init by GNSS)
  2. Set goal position
  3. Wait for planning
  4. Engage

Viewing Multi-Camera View in RViz

The carla_sensor_kit includes 6 cameras providing 360-degree coverage (Front, Front-Left, Front-Right, Back, Back-Left, Back-Right). A multi-camera combiner node automatically combines all camera feeds into a single 2x3 grid view.

To view the combined camera feed in RViz:

  1. In the Displays panel (left side), click the “Add” button
  2. Select the “By topic” tab
  3. Navigate to /sensing/camera/all_cameras/image_raw
  4. Select “Image” display type
  5. Click OK

Multi-Camera View in RViz

The combined view shows all 6 cameras with labels: FL (Front-Left), F (Front), FR (Front-Right), BL (Back-Left), B (Back), BR (Back-Right).

Note: If you don’t need the multi-camera combiner (to save CPU resources), you can comment out the following line in launch/autoware_carla_interface.launch.xml:

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_carla_interface

0.53.0 (2026-09-29)

  • Merge remote-tracking branch 'origin/main' into prepare-0.53.0-changelog

  • feat(autoware_carla_interface): allow cameras to publish bgr8 (#13411) CARLA renders BGRA and fills the alpha channel with 255. Nothing downstream reads it, so publishing bgra8 spends a quarter of every camera message on a constant. Accept bgr8 as an image_encoding alongside bgra8 and mono8: it drops the alpha channel and nothing else, so a consumer that wants colour gets the same picture for three quarters of the bytes -- 4,320,000 instead of 5,760,000 for a 1600x900 frame. Unlike mono8 it costs no information, so it is the cheaper default for any colour consumer. The default stays bgra8. Claude-Session: https://claude.ai/code/session_011TMdPd8VUDxUrFtckxg2AQ Co-authored-by: Masaya Kataoka <<ms.kataoka@gmail.com>>

  • fix(autoware_carla_interface): stamp each sensor measurement with the frame it was captured on (#13408)

  • feat(autoware_carla_interface): let a sensor mapping set the CARLA capture rate (#13407)

  • feat(autoware_carla_interface): publish CARLA vehicles as ground truth detections (#13321)

    * feat(autoware_carla_interface): publish CARLA vehicles as ground truth detections Adds an opt-in parameter, publish_ground_truth_objects (default: false, no behavior change), that publishes every CARLA vehicle except the ego to /perception/object_recognition/detection/objects. This feeds the perception stack from simulator truth instead of from sensor data, so tracking and prediction keep running on the real Autoware nodes downstream. It is useful when the vehicles come from an external traffic simulator that the sensor pipeline cannot see reliably, and when the goal is to exercise planning rather than detection. Publishing happens on a world.on_tick() callback, so the objects follow CARLA's cadence rather than the sensor loop, which only turns once every sensor has delivered its frame. The poses come out of the tick snapshot, so a tick costs no round trip to the server and every object in a message belongs to one frame. A snapshot carries only ids and poses, so what never changes about an actor -whether it is a vehicle to report, its class and its size - is looked up the first time that id appears and kept; in steady state a tick asks the server for nothing. Messages carry the bridge's clock rather than snapshot.timestamp. The two count from different starts, and stamping from the snapshot puts the objects far enough ahead of /clock that the tracker's output rate collapses. Classification comes from the CARLA blueprint base_type attribute, so the mapping needs no hand maintained table of blueprint ids. Velocity is left to the tracker: publishing it would need a world to object frame rotation that is easy to get wrong, and a wrong twist is worse for prediction than no twist. Pedestrians are not covered yet.

    * chore(autoware_carla_interface): keep the ground truth publisher's comments in the file's style Shorten the docstrings to one line each, replace the multi-line rationale comments with one-liners and drop a noqa the repository's flake8 does not need. No behavior change; the rationale stays in the pull request.

    * feat(autoware_carla_interface): apply the review suggestions to the ground truth publisher Add the bus label (CARLA spells the base_type "Bus") and publish the bounding box center instead of the actor origin, as suggested in review. The suggestions were applied through the review UI without a sign-off, so they are folded into this signed commit; the content is unchanged. Co-authored-by: Mete Fatih Cırıt <<mfc@autoware.org>> Co-authored-by: Masaya Kataoka <<ms.kataoka@gmail.com>> ---------Co-authored-by: Mete Fatih Cırıt <<mfc@autoware.org>> Co-authored-by: Masaya Kataoka <<ms.kataoka@gmail.com>>

  • feat(autoware_carla_interface): add a tick follower mode for co-simul… (#13286)

  • feat(autoware_carla_interface): publish CARLA traffic-light states, matched to the map by position (#13327)

    * feat(autoware_carla_interface): publish CARLA traffic-light states, matched to the map by position Bridge the CARLA server's traffic-light states into Autoware's perception output so a CARLA closed loop can run without camera-based recognition. The key problem is associating a CARLA traffic light with an Autoware [traffic_light_group_id]{.title-ref} (a [traffic_light]{.title-ref} regulatory-element id in the lanelet2 map). Instead of assuming the CARLA OpenDRIVE signal id equals the regulatory-element id (true only for maps auto-generated from the same OpenDRIVE) or hand-writing an id table, the bridge discovers the mapping geometrically: each CARLA light head is matched to the nearest lanelet2 light head and its state is published under every regulatory element that references that head. This works for hand-authored / Vector Map Builder maps too.

File truncated at 100 lines see the full file

Launch files

  • launch/autoware_carla_interface.launch.xml
      • use_e2e_planning [default: false]
      • vehicle_model [default: sample_vehicle]
      • use_sim_time [default: true]
      • launch_config_pkg [default: autoware_launch]
      • host [default: localhost]
      • port [default: 2000]
      • timeout [default: 20]
      • ego_vehicle_role_name [default: ego_vehicle]
      • vehicle_type [default: vehicle.toyota.prius]
      • spawn_point [default: None]
      • map_path [default: ]
      • sync_mode [default: True]
      • fixed_delta_seconds [default: 0.05]
      • use_traffic_manager [default: False]
      • max_real_delta_seconds [default: 0.05]
      • tick_follower [default: False]
      • spawn_point_ground_snap [default: False]
      • spawn_point_ground_offset_z [default: 0.5]
      • initial_pose_ground_offset_z [default: 1.0]
      • force_load_world [default: False]
      • min_positive_throttle [default: 0.0]
      • min_positive_throttle_speed_threshold [default: 0.8]
      • no_rendering_mode [default: False]
      • map_origin_x [default: 0.0]
      • map_origin_y [default: 0.0]
      • publish_ground_truth_objects [default: False]
      • carla_map [default: ]
      • use_light_weight_sensor_mapping [default: False]
      • sensor_kit_name [default: carla_sensor_kit_description]
      • sensor_mapping_file [default: $(var sensor_mapping_file_default)]
      • max_wheel_steer_angle_deg [default: 0.0]
      • flatten_steering_curve [default: false]
      • wake_sleeping_physics [default: false]
      • traffic_light.publish [default: false]
      • traffic_light.force_green [default: false]
      • traffic_light.map_path [default: ]
      • traffic_light.match_distance [default: 5.0]
      • traffic_light.match_ratio [default: 0.6]
      • traffic_light.id_map [default: ]
      • input_control_cmd [default: /control/command/control_cmd]
      • input_odometry [default: /localization/kinematic_state]
      • input_steering [default: /vehicle/status/steering_status]
      • output_actuation_cmd [default: /control/command/actuation_cmd]
      • raw_vehicle_cmd_converter_config [default: $(find-pkg-share autoware_carla_interface)/config/raw_vehicle_cmd_converter.param.yaml]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_carla_interface at Robotics Stack Exchange

No version for distro iron showing github. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_carla_interface package from autoware_universe repo

autoware_boundary_departure_checker autoware_component_interface_specs_universe autoware_cuda_dependency_meta autoware_deprecated_boundary_departure_checker autoware_fake_test_node autoware_glog_component autoware_goal_distance_calculator autoware_grid_map_utils autoware_obstacle_proximity_checker autoware_path_distance_calculator autoware_time_utils autoware_traffic_light_compliance_checker autoware_traffic_light_recognition_marker_publisher autoware_traffic_light_utils autoware_universe_utils tier4_api_utils autoware_autonomous_emergency_braking autoware_collision_detector autoware_control_command_gate autoware_control_performance_analysis autoware_control_validator autoware_external_cmd_selector autoware_joy_controller autoware_lane_departure_checker autoware_mpc_lateral_controller autoware_obstacle_collision_checker autoware_operation_mode_transition_manager autoware_pid_longitudinal_controller autoware_predicted_path_checker autoware_pure_pursuit autoware_shift_decider autoware_smart_mpc_trajectory_follower autoware_spheric_collision_detector autoware_stop_mode_operator autoware_trajectory_follower_base autoware_trajectory_follower_node autoware_vehicle_cmd_gate autoware_tensorrt_vad autoware_control_evaluator autoware_evaluation_adapter autoware_kinematic_evaluator autoware_localization_evaluator autoware_perception_online_evaluator autoware_planning_evaluator autoware_scenario_simulator_v2_adapter autoware_diagnostic_graph_test_examples autoware_geo_pose_projector autoware_ar_tag_based_localizer autoware_landmark_manager autoware_lidar_marker_localizer autoware_localization_error_monitor autoware_pose_covariance_modifier autoware_pose_estimator_arbiter autoware_pose_initialization_requester autoware_pose_instability_detector yabloc_common yabloc_image_processing yabloc_monitor yabloc_particle_filter yabloc_pose_initializer autoware_map_tf_generator autoware_bevfusion autoware_bytetrack autoware_camera_streampetr autoware_cluster_merger autoware_compare_map_segmentation autoware_crosswalk_traffic_light_estimator autoware_detected_object_feature_remover autoware_detected_object_validation autoware_detection_by_tracker autoware_elevation_map_loader autoware_euclidean_cluster autoware_ground_segmentation autoware_ground_segmentation_cuda autoware_image_object_locator autoware_image_projection_based_fusion autoware_lidar_apollo_instance_segmentation autoware_lidar_centerpoint autoware_lidar_frnet autoware_lidar_transfusion autoware_map_based_prediction autoware_multi_object_tracker autoware_object_merger autoware_object_sorter autoware_occupancy_grid_map_outlier_filter autoware_predicted_path_postprocessor autoware_probabilistic_occupancy_grid_map autoware_ptv3 autoware_radar_fusion_to_detected_object autoware_radar_object_tracker autoware_radar_tracks_msgs_converter autoware_raindrop_cluster_filter autoware_shape_estimation autoware_simpl_prediction autoware_simple_object_merger autoware_tensorrt_bevdet autoware_tensorrt_bevformer autoware_tensorrt_classifier autoware_tensorrt_common autoware_tensorrt_plugins autoware_tensorrt_yolox autoware_tracking_object_merger autoware_traffic_light_arbiter autoware_traffic_light_category_merger autoware_traffic_light_classifier autoware_traffic_light_fine_detector autoware_traffic_light_map_based_detector autoware_traffic_light_multi_camera_fusion autoware_traffic_light_occlusion_predictor autoware_traffic_light_pipeline autoware_traffic_light_selector autoware_traffic_light_visualization perception_utils autoware_costmap_generator autoware_diffusion_planner autoware_external_velocity_limit_selector autoware_freespace_planner autoware_freespace_planning_algorithms autoware_hazard_lights_selector autoware_in_lane_mrm_planner autoware_manual_lane_change_handler autoware_minimum_rule_based_planner autoware_mission_planner_universe autoware_path_optimizer autoware_path_smoother autoware_remaining_distance_time_calculator autoware_rtc_interface autoware_scenario_selector autoware_surround_obstacle_checker autoware_trajectory_adapter autoware_trajectory_concatenator autoware_trajectory_gate autoware_trajectory_modifier autoware_trajectory_ranker autoware_trajectory_selector autoware_trajectory_validator autoware_behavior_path_avoidance_by_lane_change_module autoware_behavior_path_bidirectional_traffic_module autoware_behavior_path_direction_change_module autoware_behavior_path_dynamic_obstacle_avoidance_module autoware_behavior_path_external_request_lane_change_module autoware_behavior_path_goal_planner_module autoware_behavior_path_lane_change_module autoware_behavior_path_planner autoware_behavior_path_planner_common autoware_behavior_path_sampling_planner_module autoware_behavior_path_side_shift_module autoware_behavior_path_start_planner_module autoware_behavior_path_static_obstacle_avoidance_module autoware_behavior_velocity_blind_spot_module autoware_behavior_velocity_crosswalk_module autoware_behavior_velocity_detection_area_module autoware_behavior_velocity_intersection_module autoware_behavior_velocity_no_drivable_lane_module autoware_behavior_velocity_no_stopping_area_module autoware_behavior_velocity_occlusion_spot_module autoware_behavior_velocity_roundabout_module autoware_behavior_velocity_rtc_interface autoware_behavior_velocity_speed_bump_module autoware_behavior_velocity_template_module autoware_behavior_velocity_traffic_light_module autoware_behavior_velocity_virtual_traffic_light_module autoware_behavior_velocity_walkway_module autoware_motion_velocity_boundary_departure_prevention_module autoware_motion_velocity_dynamic_obstacle_stop_module autoware_motion_velocity_obstacle_cruise_module autoware_motion_velocity_obstacle_slow_down_module autoware_motion_velocity_obstacle_velocity_limiter_module autoware_motion_velocity_out_of_lane_module autoware_motion_velocity_road_user_stop_module autoware_motion_velocity_run_out_module autoware_planning_validator autoware_planning_validator_intersection_collision_checker autoware_planning_validator_latency_checker autoware_planning_validator_rear_collision_checker autoware_planning_validator_test_utils autoware_planning_validator_trajectory_checker autoware_bezier_sampler autoware_frenet_planner autoware_path_sampler autoware_sampler_common autoware_calibration_status_classifier autoware_cuda_pointcloud_preprocessor autoware_cuda_utils autoware_image_transport_decompressor autoware_imu_corrector autoware_pcl_extensions autoware_pointcloud_preprocessor autoware_radar_objects_adapter autoware_radar_scan_to_pointcloud2 autoware_radar_static_pointcloud_filter autoware_radar_threshold_filter autoware_radar_tracks_noise_filter autoware_carla_interface autoware_dummy_diag_publisher autoware_dummy_infrastructure autoware_dummy_traffic_light_publisher autoware_fault_injection autoware_redundancy_command_selector autoware_vehicle_door_simulator tier4_dummy_object_rviz_plugin autoware_command_mode_decider autoware_command_mode_decider_plugins autoware_command_mode_switcher autoware_command_mode_switcher_plugins autoware_command_mode_types autoware_component_state_monitor autoware_adapi_visualizers autoware_default_adapi_universe autoware_diagnostic_graph_aggregator autoware_diagnostic_graph_merger autoware_diagnostic_graph_utils autoware_driving_mode_manager autoware_duplicated_node_checker autoware_generic_service_divider autoware_hazard_status_converter autoware_mrm_comfortable_stop_operator autoware_mrm_emergency_stop_operator autoware_mrm_handler autoware_mrm_in_lane_stop_operator autoware_mrm_reset_manager autoware_mrm_steering_hold_stop_operator autoware_pipeline_latency_monitor autoware_processing_time_checker autoware_redundancy_adapi_switcher autoware_redundancy_switcher_interface autoware_redundancy_switcher_interface_plugins autoware_system_monitor autoware_topic_relay_controller autoware_topic_state_monitor autoware_velodyne_monitor autoware_accel_brake_map_calibrator autoware_external_cmd_converter autoware_raw_vehicle_cmd_converter autoware_steer_offset_estimator autoware_bag_time_manager_rviz_plugin autoware_traffic_light_rviz_plugin tier4_active_generator_rviz_plugin tier4_adapi_rviz_plugin tier4_camera_view_rviz_plugin tier4_control_mode_rviz_plugin tier4_manual_lane_change_rviz_plugin tier4_perception_rviz_plugin tier4_planning_factor_rviz_plugin tier4_state_rviz_plugin tier4_traffic_light_rviz_plugin tier4_vehicle_rviz_plugin

ROS Distro
github

Package Summary

Version 0.53.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_universe.git
VCS Type git
VCS Version main
Last Updated 2026-10-23
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The carla autoware bridge package

Maintainers

  • Muhammad Raditya GIOVANNI
  • Maxime CLEMENT
  • Masaya Kataoka
  • Bin Wang
  • Ujin Kwon

Authors

No additional authors.

autoware_carla_interface

ROS 2 / Autoware Universe bridge for CARLA simulator

Thanks to https://github.com/gezp for ROS 2 Humble support for CARLA Communication. This ros package enables communication between Autoware and CARLA for autonomous driving simulation.

Supported Environment

ubuntu ros carla autoware
22.04 humble 0.9.15 Main

Setup

Install

Prerequisites

  1. Install CARLA 0.9.15: Follow the CARLA Installation Guide

  2. Install CARLA Python Package: Install CARLA 0.9.15 ROS 2 Humble communication package

    • Option A: Install the wheel using pip
    • Option B: Add the egg file to your PYTHONPATH
  3. Download CARLA Lanelet2 Maps: Get the y-axis inverted maps from CARLA Autoware Contents

Map Setup

  1. Download the maps (y-axis inverted version) to an arbitrary location
  2. Create the map folder structure in $HOME/autoware_data/maps:
    • Rename point_cloud/Town01.pcd → $HOME/autoware_data/maps/Town01/pointcloud_map.pcd
    • Rename vector_maps/lanelet2/Town01.osm → $HOME/autoware_data/maps/Town01/lanelet2_map.osm
  3. Create $HOME/autoware_data/maps/Town01/map_projector_info.yaml with:
   projector_type: Local
   

Build

colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release

Run

  1. Run carla, change map, spawn object if you need
   cd CARLA
   ./CarlaUE4.sh -prefernvidia -quality-level=Low -RenderOffScreen
   
  1. Run Autoware with CARLA
   ros2 launch autoware_launch e2e_simulator.launch.xml \
       map_path:=$HOME/autoware_data/maps/Town01 \
       vehicle_model:=sample_vehicle \
       sensor_model:=carla_sensor_kit \
       simulator_type:=carla
   

For E2E planning with VAD:

   ros2 launch autoware_launch e2e_simulator.launch.xml \
       map_path:=$HOME/autoware_data/maps/Town01 \
       vehicle_model:=sample_vehicle \
       sensor_model:=carla_sensor_kit \
       simulator_type:=carla \
       use_e2e_planning:=true
   
  1. Set initial pose (Init by GNSS)
  2. Set goal position
  3. Wait for planning
  4. Engage

Viewing Multi-Camera View in RViz

The carla_sensor_kit includes 6 cameras providing 360-degree coverage (Front, Front-Left, Front-Right, Back, Back-Left, Back-Right). A multi-camera combiner node automatically combines all camera feeds into a single 2x3 grid view.

To view the combined camera feed in RViz:

  1. In the Displays panel (left side), click the “Add” button
  2. Select the “By topic” tab
  3. Navigate to /sensing/camera/all_cameras/image_raw
  4. Select “Image” display type
  5. Click OK

Multi-Camera View in RViz

The combined view shows all 6 cameras with labels: FL (Front-Left), F (Front), FR (Front-Right), BL (Back-Left), B (Back), BR (Back-Right).

Note: If you don’t need the multi-camera combiner (to save CPU resources), you can comment out the following line in launch/autoware_carla_interface.launch.xml:

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_carla_interface

0.53.0 (2026-09-29)

  • Merge remote-tracking branch 'origin/main' into prepare-0.53.0-changelog

  • feat(autoware_carla_interface): allow cameras to publish bgr8 (#13411) CARLA renders BGRA and fills the alpha channel with 255. Nothing downstream reads it, so publishing bgra8 spends a quarter of every camera message on a constant. Accept bgr8 as an image_encoding alongside bgra8 and mono8: it drops the alpha channel and nothing else, so a consumer that wants colour gets the same picture for three quarters of the bytes -- 4,320,000 instead of 5,760,000 for a 1600x900 frame. Unlike mono8 it costs no information, so it is the cheaper default for any colour consumer. The default stays bgra8. Claude-Session: https://claude.ai/code/session_011TMdPd8VUDxUrFtckxg2AQ Co-authored-by: Masaya Kataoka <<ms.kataoka@gmail.com>>

  • fix(autoware_carla_interface): stamp each sensor measurement with the frame it was captured on (#13408)

  • feat(autoware_carla_interface): let a sensor mapping set the CARLA capture rate (#13407)

  • feat(autoware_carla_interface): publish CARLA vehicles as ground truth detections (#13321)

    * feat(autoware_carla_interface): publish CARLA vehicles as ground truth detections Adds an opt-in parameter, publish_ground_truth_objects (default: false, no behavior change), that publishes every CARLA vehicle except the ego to /perception/object_recognition/detection/objects. This feeds the perception stack from simulator truth instead of from sensor data, so tracking and prediction keep running on the real Autoware nodes downstream. It is useful when the vehicles come from an external traffic simulator that the sensor pipeline cannot see reliably, and when the goal is to exercise planning rather than detection. Publishing happens on a world.on_tick() callback, so the objects follow CARLA's cadence rather than the sensor loop, which only turns once every sensor has delivered its frame. The poses come out of the tick snapshot, so a tick costs no round trip to the server and every object in a message belongs to one frame. A snapshot carries only ids and poses, so what never changes about an actor -whether it is a vehicle to report, its class and its size - is looked up the first time that id appears and kept; in steady state a tick asks the server for nothing. Messages carry the bridge's clock rather than snapshot.timestamp. The two count from different starts, and stamping from the snapshot puts the objects far enough ahead of /clock that the tracker's output rate collapses. Classification comes from the CARLA blueprint base_type attribute, so the mapping needs no hand maintained table of blueprint ids. Velocity is left to the tracker: publishing it would need a world to object frame rotation that is easy to get wrong, and a wrong twist is worse for prediction than no twist. Pedestrians are not covered yet.

    * chore(autoware_carla_interface): keep the ground truth publisher's comments in the file's style Shorten the docstrings to one line each, replace the multi-line rationale comments with one-liners and drop a noqa the repository's flake8 does not need. No behavior change; the rationale stays in the pull request.

    * feat(autoware_carla_interface): apply the review suggestions to the ground truth publisher Add the bus label (CARLA spells the base_type "Bus") and publish the bounding box center instead of the actor origin, as suggested in review. The suggestions were applied through the review UI without a sign-off, so they are folded into this signed commit; the content is unchanged. Co-authored-by: Mete Fatih Cırıt <<mfc@autoware.org>> Co-authored-by: Masaya Kataoka <<ms.kataoka@gmail.com>> ---------Co-authored-by: Mete Fatih Cırıt <<mfc@autoware.org>> Co-authored-by: Masaya Kataoka <<ms.kataoka@gmail.com>>

  • feat(autoware_carla_interface): add a tick follower mode for co-simul… (#13286)

  • feat(autoware_carla_interface): publish CARLA traffic-light states, matched to the map by position (#13327)

    * feat(autoware_carla_interface): publish CARLA traffic-light states, matched to the map by position Bridge the CARLA server's traffic-light states into Autoware's perception output so a CARLA closed loop can run without camera-based recognition. The key problem is associating a CARLA traffic light with an Autoware [traffic_light_group_id]{.title-ref} (a [traffic_light]{.title-ref} regulatory-element id in the lanelet2 map). Instead of assuming the CARLA OpenDRIVE signal id equals the regulatory-element id (true only for maps auto-generated from the same OpenDRIVE) or hand-writing an id table, the bridge discovers the mapping geometrically: each CARLA light head is matched to the nearest lanelet2 light head and its state is published under every regulatory element that references that head. This works for hand-authored / Vector Map Builder maps too.

File truncated at 100 lines see the full file

Launch files

  • launch/autoware_carla_interface.launch.xml
      • use_e2e_planning [default: false]
      • vehicle_model [default: sample_vehicle]
      • use_sim_time [default: true]
      • launch_config_pkg [default: autoware_launch]
      • host [default: localhost]
      • port [default: 2000]
      • timeout [default: 20]
      • ego_vehicle_role_name [default: ego_vehicle]
      • vehicle_type [default: vehicle.toyota.prius]
      • spawn_point [default: None]
      • map_path [default: ]
      • sync_mode [default: True]
      • fixed_delta_seconds [default: 0.05]
      • use_traffic_manager [default: False]
      • max_real_delta_seconds [default: 0.05]
      • tick_follower [default: False]
      • spawn_point_ground_snap [default: False]
      • spawn_point_ground_offset_z [default: 0.5]
      • initial_pose_ground_offset_z [default: 1.0]
      • force_load_world [default: False]
      • min_positive_throttle [default: 0.0]
      • min_positive_throttle_speed_threshold [default: 0.8]
      • no_rendering_mode [default: False]
      • map_origin_x [default: 0.0]
      • map_origin_y [default: 0.0]
      • publish_ground_truth_objects [default: False]
      • carla_map [default: ]
      • use_light_weight_sensor_mapping [default: False]
      • sensor_kit_name [default: carla_sensor_kit_description]
      • sensor_mapping_file [default: $(var sensor_mapping_file_default)]
      • max_wheel_steer_angle_deg [default: 0.0]
      • flatten_steering_curve [default: false]
      • wake_sleeping_physics [default: false]
      • traffic_light.publish [default: false]
      • traffic_light.force_green [default: false]
      • traffic_light.map_path [default: ]
      • traffic_light.match_distance [default: 5.0]
      • traffic_light.match_ratio [default: 0.6]
      • traffic_light.id_map [default: ]
      • input_control_cmd [default: /control/command/control_cmd]
      • input_odometry [default: /localization/kinematic_state]
      • input_steering [default: /vehicle/status/steering_status]
      • output_actuation_cmd [default: /control/command/actuation_cmd]
      • raw_vehicle_cmd_converter_config [default: $(find-pkg-share autoware_carla_interface)/config/raw_vehicle_cmd_converter.param.yaml]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_carla_interface at Robotics Stack Exchange

No version for distro melodic showing github. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_carla_interface package from autoware_universe repo

autoware_boundary_departure_checker autoware_component_interface_specs_universe autoware_cuda_dependency_meta autoware_deprecated_boundary_departure_checker autoware_fake_test_node autoware_glog_component autoware_goal_distance_calculator autoware_grid_map_utils autoware_obstacle_proximity_checker autoware_path_distance_calculator autoware_time_utils autoware_traffic_light_compliance_checker autoware_traffic_light_recognition_marker_publisher autoware_traffic_light_utils autoware_universe_utils tier4_api_utils autoware_autonomous_emergency_braking autoware_collision_detector autoware_control_command_gate autoware_control_performance_analysis autoware_control_validator autoware_external_cmd_selector autoware_joy_controller autoware_lane_departure_checker autoware_mpc_lateral_controller autoware_obstacle_collision_checker autoware_operation_mode_transition_manager autoware_pid_longitudinal_controller autoware_predicted_path_checker autoware_pure_pursuit autoware_shift_decider autoware_smart_mpc_trajectory_follower autoware_spheric_collision_detector autoware_stop_mode_operator autoware_trajectory_follower_base autoware_trajectory_follower_node autoware_vehicle_cmd_gate autoware_tensorrt_vad autoware_control_evaluator autoware_evaluation_adapter autoware_kinematic_evaluator autoware_localization_evaluator autoware_perception_online_evaluator autoware_planning_evaluator autoware_scenario_simulator_v2_adapter autoware_diagnostic_graph_test_examples autoware_geo_pose_projector autoware_ar_tag_based_localizer autoware_landmark_manager autoware_lidar_marker_localizer autoware_localization_error_monitor autoware_pose_covariance_modifier autoware_pose_estimator_arbiter autoware_pose_initialization_requester autoware_pose_instability_detector yabloc_common yabloc_image_processing yabloc_monitor yabloc_particle_filter yabloc_pose_initializer autoware_map_tf_generator autoware_bevfusion autoware_bytetrack autoware_camera_streampetr autoware_cluster_merger autoware_compare_map_segmentation autoware_crosswalk_traffic_light_estimator autoware_detected_object_feature_remover autoware_detected_object_validation autoware_detection_by_tracker autoware_elevation_map_loader autoware_euclidean_cluster autoware_ground_segmentation autoware_ground_segmentation_cuda autoware_image_object_locator autoware_image_projection_based_fusion autoware_lidar_apollo_instance_segmentation autoware_lidar_centerpoint autoware_lidar_frnet autoware_lidar_transfusion autoware_map_based_prediction autoware_multi_object_tracker autoware_object_merger autoware_object_sorter autoware_occupancy_grid_map_outlier_filter autoware_predicted_path_postprocessor autoware_probabilistic_occupancy_grid_map autoware_ptv3 autoware_radar_fusion_to_detected_object autoware_radar_object_tracker autoware_radar_tracks_msgs_converter autoware_raindrop_cluster_filter autoware_shape_estimation autoware_simpl_prediction autoware_simple_object_merger autoware_tensorrt_bevdet autoware_tensorrt_bevformer autoware_tensorrt_classifier autoware_tensorrt_common autoware_tensorrt_plugins autoware_tensorrt_yolox autoware_tracking_object_merger autoware_traffic_light_arbiter autoware_traffic_light_category_merger autoware_traffic_light_classifier autoware_traffic_light_fine_detector autoware_traffic_light_map_based_detector autoware_traffic_light_multi_camera_fusion autoware_traffic_light_occlusion_predictor autoware_traffic_light_pipeline autoware_traffic_light_selector autoware_traffic_light_visualization perception_utils autoware_costmap_generator autoware_diffusion_planner autoware_external_velocity_limit_selector autoware_freespace_planner autoware_freespace_planning_algorithms autoware_hazard_lights_selector autoware_in_lane_mrm_planner autoware_manual_lane_change_handler autoware_minimum_rule_based_planner autoware_mission_planner_universe autoware_path_optimizer autoware_path_smoother autoware_remaining_distance_time_calculator autoware_rtc_interface autoware_scenario_selector autoware_surround_obstacle_checker autoware_trajectory_adapter autoware_trajectory_concatenator autoware_trajectory_gate autoware_trajectory_modifier autoware_trajectory_ranker autoware_trajectory_selector autoware_trajectory_validator autoware_behavior_path_avoidance_by_lane_change_module autoware_behavior_path_bidirectional_traffic_module autoware_behavior_path_direction_change_module autoware_behavior_path_dynamic_obstacle_avoidance_module autoware_behavior_path_external_request_lane_change_module autoware_behavior_path_goal_planner_module autoware_behavior_path_lane_change_module autoware_behavior_path_planner autoware_behavior_path_planner_common autoware_behavior_path_sampling_planner_module autoware_behavior_path_side_shift_module autoware_behavior_path_start_planner_module autoware_behavior_path_static_obstacle_avoidance_module autoware_behavior_velocity_blind_spot_module autoware_behavior_velocity_crosswalk_module autoware_behavior_velocity_detection_area_module autoware_behavior_velocity_intersection_module autoware_behavior_velocity_no_drivable_lane_module autoware_behavior_velocity_no_stopping_area_module autoware_behavior_velocity_occlusion_spot_module autoware_behavior_velocity_roundabout_module autoware_behavior_velocity_rtc_interface autoware_behavior_velocity_speed_bump_module autoware_behavior_velocity_template_module autoware_behavior_velocity_traffic_light_module autoware_behavior_velocity_virtual_traffic_light_module autoware_behavior_velocity_walkway_module autoware_motion_velocity_boundary_departure_prevention_module autoware_motion_velocity_dynamic_obstacle_stop_module autoware_motion_velocity_obstacle_cruise_module autoware_motion_velocity_obstacle_slow_down_module autoware_motion_velocity_obstacle_velocity_limiter_module autoware_motion_velocity_out_of_lane_module autoware_motion_velocity_road_user_stop_module autoware_motion_velocity_run_out_module autoware_planning_validator autoware_planning_validator_intersection_collision_checker autoware_planning_validator_latency_checker autoware_planning_validator_rear_collision_checker autoware_planning_validator_test_utils autoware_planning_validator_trajectory_checker autoware_bezier_sampler autoware_frenet_planner autoware_path_sampler autoware_sampler_common autoware_calibration_status_classifier autoware_cuda_pointcloud_preprocessor autoware_cuda_utils autoware_image_transport_decompressor autoware_imu_corrector autoware_pcl_extensions autoware_pointcloud_preprocessor autoware_radar_objects_adapter autoware_radar_scan_to_pointcloud2 autoware_radar_static_pointcloud_filter autoware_radar_threshold_filter autoware_radar_tracks_noise_filter autoware_carla_interface autoware_dummy_diag_publisher autoware_dummy_infrastructure autoware_dummy_traffic_light_publisher autoware_fault_injection autoware_redundancy_command_selector autoware_vehicle_door_simulator tier4_dummy_object_rviz_plugin autoware_command_mode_decider autoware_command_mode_decider_plugins autoware_command_mode_switcher autoware_command_mode_switcher_plugins autoware_command_mode_types autoware_component_state_monitor autoware_adapi_visualizers autoware_default_adapi_universe autoware_diagnostic_graph_aggregator autoware_diagnostic_graph_merger autoware_diagnostic_graph_utils autoware_driving_mode_manager autoware_duplicated_node_checker autoware_generic_service_divider autoware_hazard_status_converter autoware_mrm_comfortable_stop_operator autoware_mrm_emergency_stop_operator autoware_mrm_handler autoware_mrm_in_lane_stop_operator autoware_mrm_reset_manager autoware_mrm_steering_hold_stop_operator autoware_pipeline_latency_monitor autoware_processing_time_checker autoware_redundancy_adapi_switcher autoware_redundancy_switcher_interface autoware_redundancy_switcher_interface_plugins autoware_system_monitor autoware_topic_relay_controller autoware_topic_state_monitor autoware_velodyne_monitor autoware_accel_brake_map_calibrator autoware_external_cmd_converter autoware_raw_vehicle_cmd_converter autoware_steer_offset_estimator autoware_bag_time_manager_rviz_plugin autoware_traffic_light_rviz_plugin tier4_active_generator_rviz_plugin tier4_adapi_rviz_plugin tier4_camera_view_rviz_plugin tier4_control_mode_rviz_plugin tier4_manual_lane_change_rviz_plugin tier4_perception_rviz_plugin tier4_planning_factor_rviz_plugin tier4_state_rviz_plugin tier4_traffic_light_rviz_plugin tier4_vehicle_rviz_plugin

ROS Distro
github

Package Summary

Version 0.53.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_universe.git
VCS Type git
VCS Version main
Last Updated 2026-10-23
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The carla autoware bridge package

Maintainers

  • Muhammad Raditya GIOVANNI
  • Maxime CLEMENT
  • Masaya Kataoka
  • Bin Wang
  • Ujin Kwon

Authors

No additional authors.

autoware_carla_interface

ROS 2 / Autoware Universe bridge for CARLA simulator

Thanks to https://github.com/gezp for ROS 2 Humble support for CARLA Communication. This ros package enables communication between Autoware and CARLA for autonomous driving simulation.

Supported Environment

ubuntu ros carla autoware
22.04 humble 0.9.15 Main

Setup

Install

Prerequisites

  1. Install CARLA 0.9.15: Follow the CARLA Installation Guide

  2. Install CARLA Python Package: Install CARLA 0.9.15 ROS 2 Humble communication package

    • Option A: Install the wheel using pip
    • Option B: Add the egg file to your PYTHONPATH
  3. Download CARLA Lanelet2 Maps: Get the y-axis inverted maps from CARLA Autoware Contents

Map Setup

  1. Download the maps (y-axis inverted version) to an arbitrary location
  2. Create the map folder structure in $HOME/autoware_data/maps:
    • Rename point_cloud/Town01.pcd → $HOME/autoware_data/maps/Town01/pointcloud_map.pcd
    • Rename vector_maps/lanelet2/Town01.osm → $HOME/autoware_data/maps/Town01/lanelet2_map.osm
  3. Create $HOME/autoware_data/maps/Town01/map_projector_info.yaml with:
   projector_type: Local
   

Build

colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release

Run

  1. Run carla, change map, spawn object if you need
   cd CARLA
   ./CarlaUE4.sh -prefernvidia -quality-level=Low -RenderOffScreen
   
  1. Run Autoware with CARLA
   ros2 launch autoware_launch e2e_simulator.launch.xml \
       map_path:=$HOME/autoware_data/maps/Town01 \
       vehicle_model:=sample_vehicle \
       sensor_model:=carla_sensor_kit \
       simulator_type:=carla
   

For E2E planning with VAD:

   ros2 launch autoware_launch e2e_simulator.launch.xml \
       map_path:=$HOME/autoware_data/maps/Town01 \
       vehicle_model:=sample_vehicle \
       sensor_model:=carla_sensor_kit \
       simulator_type:=carla \
       use_e2e_planning:=true
   
  1. Set initial pose (Init by GNSS)
  2. Set goal position
  3. Wait for planning
  4. Engage

Viewing Multi-Camera View in RViz

The carla_sensor_kit includes 6 cameras providing 360-degree coverage (Front, Front-Left, Front-Right, Back, Back-Left, Back-Right). A multi-camera combiner node automatically combines all camera feeds into a single 2x3 grid view.

To view the combined camera feed in RViz:

  1. In the Displays panel (left side), click the “Add” button
  2. Select the “By topic” tab
  3. Navigate to /sensing/camera/all_cameras/image_raw
  4. Select “Image” display type
  5. Click OK

Multi-Camera View in RViz

The combined view shows all 6 cameras with labels: FL (Front-Left), F (Front), FR (Front-Right), BL (Back-Left), B (Back), BR (Back-Right).

Note: If you don’t need the multi-camera combiner (to save CPU resources), you can comment out the following line in launch/autoware_carla_interface.launch.xml:

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_carla_interface

0.53.0 (2026-09-29)

  • Merge remote-tracking branch 'origin/main' into prepare-0.53.0-changelog

  • feat(autoware_carla_interface): allow cameras to publish bgr8 (#13411) CARLA renders BGRA and fills the alpha channel with 255. Nothing downstream reads it, so publishing bgra8 spends a quarter of every camera message on a constant. Accept bgr8 as an image_encoding alongside bgra8 and mono8: it drops the alpha channel and nothing else, so a consumer that wants colour gets the same picture for three quarters of the bytes -- 4,320,000 instead of 5,760,000 for a 1600x900 frame. Unlike mono8 it costs no information, so it is the cheaper default for any colour consumer. The default stays bgra8. Claude-Session: https://claude.ai/code/session_011TMdPd8VUDxUrFtckxg2AQ Co-authored-by: Masaya Kataoka <<ms.kataoka@gmail.com>>

  • fix(autoware_carla_interface): stamp each sensor measurement with the frame it was captured on (#13408)

  • feat(autoware_carla_interface): let a sensor mapping set the CARLA capture rate (#13407)

  • feat(autoware_carla_interface): publish CARLA vehicles as ground truth detections (#13321)

    * feat(autoware_carla_interface): publish CARLA vehicles as ground truth detections Adds an opt-in parameter, publish_ground_truth_objects (default: false, no behavior change), that publishes every CARLA vehicle except the ego to /perception/object_recognition/detection/objects. This feeds the perception stack from simulator truth instead of from sensor data, so tracking and prediction keep running on the real Autoware nodes downstream. It is useful when the vehicles come from an external traffic simulator that the sensor pipeline cannot see reliably, and when the goal is to exercise planning rather than detection. Publishing happens on a world.on_tick() callback, so the objects follow CARLA's cadence rather than the sensor loop, which only turns once every sensor has delivered its frame. The poses come out of the tick snapshot, so a tick costs no round trip to the server and every object in a message belongs to one frame. A snapshot carries only ids and poses, so what never changes about an actor -whether it is a vehicle to report, its class and its size - is looked up the first time that id appears and kept; in steady state a tick asks the server for nothing. Messages carry the bridge's clock rather than snapshot.timestamp. The two count from different starts, and stamping from the snapshot puts the objects far enough ahead of /clock that the tracker's output rate collapses. Classification comes from the CARLA blueprint base_type attribute, so the mapping needs no hand maintained table of blueprint ids. Velocity is left to the tracker: publishing it would need a world to object frame rotation that is easy to get wrong, and a wrong twist is worse for prediction than no twist. Pedestrians are not covered yet.

    * chore(autoware_carla_interface): keep the ground truth publisher's comments in the file's style Shorten the docstrings to one line each, replace the multi-line rationale comments with one-liners and drop a noqa the repository's flake8 does not need. No behavior change; the rationale stays in the pull request.

    * feat(autoware_carla_interface): apply the review suggestions to the ground truth publisher Add the bus label (CARLA spells the base_type "Bus") and publish the bounding box center instead of the actor origin, as suggested in review. The suggestions were applied through the review UI without a sign-off, so they are folded into this signed commit; the content is unchanged. Co-authored-by: Mete Fatih Cırıt <<mfc@autoware.org>> Co-authored-by: Masaya Kataoka <<ms.kataoka@gmail.com>> ---------Co-authored-by: Mete Fatih Cırıt <<mfc@autoware.org>> Co-authored-by: Masaya Kataoka <<ms.kataoka@gmail.com>>

  • feat(autoware_carla_interface): add a tick follower mode for co-simul… (#13286)

  • feat(autoware_carla_interface): publish CARLA traffic-light states, matched to the map by position (#13327)

    * feat(autoware_carla_interface): publish CARLA traffic-light states, matched to the map by position Bridge the CARLA server's traffic-light states into Autoware's perception output so a CARLA closed loop can run without camera-based recognition. The key problem is associating a CARLA traffic light with an Autoware [traffic_light_group_id]{.title-ref} (a [traffic_light]{.title-ref} regulatory-element id in the lanelet2 map). Instead of assuming the CARLA OpenDRIVE signal id equals the regulatory-element id (true only for maps auto-generated from the same OpenDRIVE) or hand-writing an id table, the bridge discovers the mapping geometrically: each CARLA light head is matched to the nearest lanelet2 light head and its state is published under every regulatory element that references that head. This works for hand-authored / Vector Map Builder maps too.

File truncated at 100 lines see the full file

Launch files

  • launch/autoware_carla_interface.launch.xml
      • use_e2e_planning [default: false]
      • vehicle_model [default: sample_vehicle]
      • use_sim_time [default: true]
      • launch_config_pkg [default: autoware_launch]
      • host [default: localhost]
      • port [default: 2000]
      • timeout [default: 20]
      • ego_vehicle_role_name [default: ego_vehicle]
      • vehicle_type [default: vehicle.toyota.prius]
      • spawn_point [default: None]
      • map_path [default: ]
      • sync_mode [default: True]
      • fixed_delta_seconds [default: 0.05]
      • use_traffic_manager [default: False]
      • max_real_delta_seconds [default: 0.05]
      • tick_follower [default: False]
      • spawn_point_ground_snap [default: False]
      • spawn_point_ground_offset_z [default: 0.5]
      • initial_pose_ground_offset_z [default: 1.0]
      • force_load_world [default: False]
      • min_positive_throttle [default: 0.0]
      • min_positive_throttle_speed_threshold [default: 0.8]
      • no_rendering_mode [default: False]
      • map_origin_x [default: 0.0]
      • map_origin_y [default: 0.0]
      • publish_ground_truth_objects [default: False]
      • carla_map [default: ]
      • use_light_weight_sensor_mapping [default: False]
      • sensor_kit_name [default: carla_sensor_kit_description]
      • sensor_mapping_file [default: $(var sensor_mapping_file_default)]
      • max_wheel_steer_angle_deg [default: 0.0]
      • flatten_steering_curve [default: false]
      • wake_sleeping_physics [default: false]
      • traffic_light.publish [default: false]
      • traffic_light.force_green [default: false]
      • traffic_light.map_path [default: ]
      • traffic_light.match_distance [default: 5.0]
      • traffic_light.match_ratio [default: 0.6]
      • traffic_light.id_map [default: ]
      • input_control_cmd [default: /control/command/control_cmd]
      • input_odometry [default: /localization/kinematic_state]
      • input_steering [default: /vehicle/status/steering_status]
      • output_actuation_cmd [default: /control/command/actuation_cmd]
      • raw_vehicle_cmd_converter_config [default: $(find-pkg-share autoware_carla_interface)/config/raw_vehicle_cmd_converter.param.yaml]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_carla_interface at Robotics Stack Exchange

No version for distro noetic showing github. Known supported distros are highlighted in the buttons above.
Package symbol

autoware_carla_interface package from autoware_universe repo

autoware_boundary_departure_checker autoware_component_interface_specs_universe autoware_cuda_dependency_meta autoware_deprecated_boundary_departure_checker autoware_fake_test_node autoware_glog_component autoware_goal_distance_calculator autoware_grid_map_utils autoware_obstacle_proximity_checker autoware_path_distance_calculator autoware_time_utils autoware_traffic_light_compliance_checker autoware_traffic_light_recognition_marker_publisher autoware_traffic_light_utils autoware_universe_utils tier4_api_utils autoware_autonomous_emergency_braking autoware_collision_detector autoware_control_command_gate autoware_control_performance_analysis autoware_control_validator autoware_external_cmd_selector autoware_joy_controller autoware_lane_departure_checker autoware_mpc_lateral_controller autoware_obstacle_collision_checker autoware_operation_mode_transition_manager autoware_pid_longitudinal_controller autoware_predicted_path_checker autoware_pure_pursuit autoware_shift_decider autoware_smart_mpc_trajectory_follower autoware_spheric_collision_detector autoware_stop_mode_operator autoware_trajectory_follower_base autoware_trajectory_follower_node autoware_vehicle_cmd_gate autoware_tensorrt_vad autoware_control_evaluator autoware_evaluation_adapter autoware_kinematic_evaluator autoware_localization_evaluator autoware_perception_online_evaluator autoware_planning_evaluator autoware_scenario_simulator_v2_adapter autoware_diagnostic_graph_test_examples autoware_geo_pose_projector autoware_ar_tag_based_localizer autoware_landmark_manager autoware_lidar_marker_localizer autoware_localization_error_monitor autoware_pose_covariance_modifier autoware_pose_estimator_arbiter autoware_pose_initialization_requester autoware_pose_instability_detector yabloc_common yabloc_image_processing yabloc_monitor yabloc_particle_filter yabloc_pose_initializer autoware_map_tf_generator autoware_bevfusion autoware_bytetrack autoware_camera_streampetr autoware_cluster_merger autoware_compare_map_segmentation autoware_crosswalk_traffic_light_estimator autoware_detected_object_feature_remover autoware_detected_object_validation autoware_detection_by_tracker autoware_elevation_map_loader autoware_euclidean_cluster autoware_ground_segmentation autoware_ground_segmentation_cuda autoware_image_object_locator autoware_image_projection_based_fusion autoware_lidar_apollo_instance_segmentation autoware_lidar_centerpoint autoware_lidar_frnet autoware_lidar_transfusion autoware_map_based_prediction autoware_multi_object_tracker autoware_object_merger autoware_object_sorter autoware_occupancy_grid_map_outlier_filter autoware_predicted_path_postprocessor autoware_probabilistic_occupancy_grid_map autoware_ptv3 autoware_radar_fusion_to_detected_object autoware_radar_object_tracker autoware_radar_tracks_msgs_converter autoware_raindrop_cluster_filter autoware_shape_estimation autoware_simpl_prediction autoware_simple_object_merger autoware_tensorrt_bevdet autoware_tensorrt_bevformer autoware_tensorrt_classifier autoware_tensorrt_common autoware_tensorrt_plugins autoware_tensorrt_yolox autoware_tracking_object_merger autoware_traffic_light_arbiter autoware_traffic_light_category_merger autoware_traffic_light_classifier autoware_traffic_light_fine_detector autoware_traffic_light_map_based_detector autoware_traffic_light_multi_camera_fusion autoware_traffic_light_occlusion_predictor autoware_traffic_light_pipeline autoware_traffic_light_selector autoware_traffic_light_visualization perception_utils autoware_costmap_generator autoware_diffusion_planner autoware_external_velocity_limit_selector autoware_freespace_planner autoware_freespace_planning_algorithms autoware_hazard_lights_selector autoware_in_lane_mrm_planner autoware_manual_lane_change_handler autoware_minimum_rule_based_planner autoware_mission_planner_universe autoware_path_optimizer autoware_path_smoother autoware_remaining_distance_time_calculator autoware_rtc_interface autoware_scenario_selector autoware_surround_obstacle_checker autoware_trajectory_adapter autoware_trajectory_concatenator autoware_trajectory_gate autoware_trajectory_modifier autoware_trajectory_ranker autoware_trajectory_selector autoware_trajectory_validator autoware_behavior_path_avoidance_by_lane_change_module autoware_behavior_path_bidirectional_traffic_module autoware_behavior_path_direction_change_module autoware_behavior_path_dynamic_obstacle_avoidance_module autoware_behavior_path_external_request_lane_change_module autoware_behavior_path_goal_planner_module autoware_behavior_path_lane_change_module autoware_behavior_path_planner autoware_behavior_path_planner_common autoware_behavior_path_sampling_planner_module autoware_behavior_path_side_shift_module autoware_behavior_path_start_planner_module autoware_behavior_path_static_obstacle_avoidance_module autoware_behavior_velocity_blind_spot_module autoware_behavior_velocity_crosswalk_module autoware_behavior_velocity_detection_area_module autoware_behavior_velocity_intersection_module autoware_behavior_velocity_no_drivable_lane_module autoware_behavior_velocity_no_stopping_area_module autoware_behavior_velocity_occlusion_spot_module autoware_behavior_velocity_roundabout_module autoware_behavior_velocity_rtc_interface autoware_behavior_velocity_speed_bump_module autoware_behavior_velocity_template_module autoware_behavior_velocity_traffic_light_module autoware_behavior_velocity_virtual_traffic_light_module autoware_behavior_velocity_walkway_module autoware_motion_velocity_boundary_departure_prevention_module autoware_motion_velocity_dynamic_obstacle_stop_module autoware_motion_velocity_obstacle_cruise_module autoware_motion_velocity_obstacle_slow_down_module autoware_motion_velocity_obstacle_velocity_limiter_module autoware_motion_velocity_out_of_lane_module autoware_motion_velocity_road_user_stop_module autoware_motion_velocity_run_out_module autoware_planning_validator autoware_planning_validator_intersection_collision_checker autoware_planning_validator_latency_checker autoware_planning_validator_rear_collision_checker autoware_planning_validator_test_utils autoware_planning_validator_trajectory_checker autoware_bezier_sampler autoware_frenet_planner autoware_path_sampler autoware_sampler_common autoware_calibration_status_classifier autoware_cuda_pointcloud_preprocessor autoware_cuda_utils autoware_image_transport_decompressor autoware_imu_corrector autoware_pcl_extensions autoware_pointcloud_preprocessor autoware_radar_objects_adapter autoware_radar_scan_to_pointcloud2 autoware_radar_static_pointcloud_filter autoware_radar_threshold_filter autoware_radar_tracks_noise_filter autoware_carla_interface autoware_dummy_diag_publisher autoware_dummy_infrastructure autoware_dummy_traffic_light_publisher autoware_fault_injection autoware_redundancy_command_selector autoware_vehicle_door_simulator tier4_dummy_object_rviz_plugin autoware_command_mode_decider autoware_command_mode_decider_plugins autoware_command_mode_switcher autoware_command_mode_switcher_plugins autoware_command_mode_types autoware_component_state_monitor autoware_adapi_visualizers autoware_default_adapi_universe autoware_diagnostic_graph_aggregator autoware_diagnostic_graph_merger autoware_diagnostic_graph_utils autoware_driving_mode_manager autoware_duplicated_node_checker autoware_generic_service_divider autoware_hazard_status_converter autoware_mrm_comfortable_stop_operator autoware_mrm_emergency_stop_operator autoware_mrm_handler autoware_mrm_in_lane_stop_operator autoware_mrm_reset_manager autoware_mrm_steering_hold_stop_operator autoware_pipeline_latency_monitor autoware_processing_time_checker autoware_redundancy_adapi_switcher autoware_redundancy_switcher_interface autoware_redundancy_switcher_interface_plugins autoware_system_monitor autoware_topic_relay_controller autoware_topic_state_monitor autoware_velodyne_monitor autoware_accel_brake_map_calibrator autoware_external_cmd_converter autoware_raw_vehicle_cmd_converter autoware_steer_offset_estimator autoware_bag_time_manager_rviz_plugin autoware_traffic_light_rviz_plugin tier4_active_generator_rviz_plugin tier4_adapi_rviz_plugin tier4_camera_view_rviz_plugin tier4_control_mode_rviz_plugin tier4_manual_lane_change_rviz_plugin tier4_perception_rviz_plugin tier4_planning_factor_rviz_plugin tier4_state_rviz_plugin tier4_traffic_light_rviz_plugin tier4_vehicle_rviz_plugin

ROS Distro
github

Package Summary

Version 0.53.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_universe.git
VCS Type git
VCS Version main
Last Updated 2026-10-23
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

The carla autoware bridge package

Maintainers

  • Muhammad Raditya GIOVANNI
  • Maxime CLEMENT
  • Masaya Kataoka
  • Bin Wang
  • Ujin Kwon

Authors

No additional authors.

autoware_carla_interface

ROS 2 / Autoware Universe bridge for CARLA simulator

Thanks to https://github.com/gezp for ROS 2 Humble support for CARLA Communication. This ros package enables communication between Autoware and CARLA for autonomous driving simulation.

Supported Environment

ubuntu ros carla autoware
22.04 humble 0.9.15 Main

Setup

Install

Prerequisites

  1. Install CARLA 0.9.15: Follow the CARLA Installation Guide

  2. Install CARLA Python Package: Install CARLA 0.9.15 ROS 2 Humble communication package

    • Option A: Install the wheel using pip
    • Option B: Add the egg file to your PYTHONPATH
  3. Download CARLA Lanelet2 Maps: Get the y-axis inverted maps from CARLA Autoware Contents

Map Setup

  1. Download the maps (y-axis inverted version) to an arbitrary location
  2. Create the map folder structure in $HOME/autoware_data/maps:
    • Rename point_cloud/Town01.pcd → $HOME/autoware_data/maps/Town01/pointcloud_map.pcd
    • Rename vector_maps/lanelet2/Town01.osm → $HOME/autoware_data/maps/Town01/lanelet2_map.osm
  3. Create $HOME/autoware_data/maps/Town01/map_projector_info.yaml with:
   projector_type: Local
   

Build

colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release

Run

  1. Run carla, change map, spawn object if you need
   cd CARLA
   ./CarlaUE4.sh -prefernvidia -quality-level=Low -RenderOffScreen
   
  1. Run Autoware with CARLA
   ros2 launch autoware_launch e2e_simulator.launch.xml \
       map_path:=$HOME/autoware_data/maps/Town01 \
       vehicle_model:=sample_vehicle \
       sensor_model:=carla_sensor_kit \
       simulator_type:=carla
   

For E2E planning with VAD:

   ros2 launch autoware_launch e2e_simulator.launch.xml \
       map_path:=$HOME/autoware_data/maps/Town01 \
       vehicle_model:=sample_vehicle \
       sensor_model:=carla_sensor_kit \
       simulator_type:=carla \
       use_e2e_planning:=true
   
  1. Set initial pose (Init by GNSS)
  2. Set goal position
  3. Wait for planning
  4. Engage

Viewing Multi-Camera View in RViz

The carla_sensor_kit includes 6 cameras providing 360-degree coverage (Front, Front-Left, Front-Right, Back, Back-Left, Back-Right). A multi-camera combiner node automatically combines all camera feeds into a single 2x3 grid view.

To view the combined camera feed in RViz:

  1. In the Displays panel (left side), click the “Add” button
  2. Select the “By topic” tab
  3. Navigate to /sensing/camera/all_cameras/image_raw
  4. Select “Image” display type
  5. Click OK

Multi-Camera View in RViz

The combined view shows all 6 cameras with labels: FL (Front-Left), F (Front), FR (Front-Right), BL (Back-Left), B (Back), BR (Back-Right).

Note: If you don’t need the multi-camera combiner (to save CPU resources), you can comment out the following line in launch/autoware_carla_interface.launch.xml:

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_carla_interface

0.53.0 (2026-09-29)

  • Merge remote-tracking branch 'origin/main' into prepare-0.53.0-changelog

  • feat(autoware_carla_interface): allow cameras to publish bgr8 (#13411) CARLA renders BGRA and fills the alpha channel with 255. Nothing downstream reads it, so publishing bgra8 spends a quarter of every camera message on a constant. Accept bgr8 as an image_encoding alongside bgra8 and mono8: it drops the alpha channel and nothing else, so a consumer that wants colour gets the same picture for three quarters of the bytes -- 4,320,000 instead of 5,760,000 for a 1600x900 frame. Unlike mono8 it costs no information, so it is the cheaper default for any colour consumer. The default stays bgra8. Claude-Session: https://claude.ai/code/session_011TMdPd8VUDxUrFtckxg2AQ Co-authored-by: Masaya Kataoka <<ms.kataoka@gmail.com>>

  • fix(autoware_carla_interface): stamp each sensor measurement with the frame it was captured on (#13408)

  • feat(autoware_carla_interface): let a sensor mapping set the CARLA capture rate (#13407)

  • feat(autoware_carla_interface): publish CARLA vehicles as ground truth detections (#13321)

    * feat(autoware_carla_interface): publish CARLA vehicles as ground truth detections Adds an opt-in parameter, publish_ground_truth_objects (default: false, no behavior change), that publishes every CARLA vehicle except the ego to /perception/object_recognition/detection/objects. This feeds the perception stack from simulator truth instead of from sensor data, so tracking and prediction keep running on the real Autoware nodes downstream. It is useful when the vehicles come from an external traffic simulator that the sensor pipeline cannot see reliably, and when the goal is to exercise planning rather than detection. Publishing happens on a world.on_tick() callback, so the objects follow CARLA's cadence rather than the sensor loop, which only turns once every sensor has delivered its frame. The poses come out of the tick snapshot, so a tick costs no round trip to the server and every object in a message belongs to one frame. A snapshot carries only ids and poses, so what never changes about an actor -whether it is a vehicle to report, its class and its size - is looked up the first time that id appears and kept; in steady state a tick asks the server for nothing. Messages carry the bridge's clock rather than snapshot.timestamp. The two count from different starts, and stamping from the snapshot puts the objects far enough ahead of /clock that the tracker's output rate collapses. Classification comes from the CARLA blueprint base_type attribute, so the mapping needs no hand maintained table of blueprint ids. Velocity is left to the tracker: publishing it would need a world to object frame rotation that is easy to get wrong, and a wrong twist is worse for prediction than no twist. Pedestrians are not covered yet.

    * chore(autoware_carla_interface): keep the ground truth publisher's comments in the file's style Shorten the docstrings to one line each, replace the multi-line rationale comments with one-liners and drop a noqa the repository's flake8 does not need. No behavior change; the rationale stays in the pull request.

    * feat(autoware_carla_interface): apply the review suggestions to the ground truth publisher Add the bus label (CARLA spells the base_type "Bus") and publish the bounding box center instead of the actor origin, as suggested in review. The suggestions were applied through the review UI without a sign-off, so they are folded into this signed commit; the content is unchanged. Co-authored-by: Mete Fatih Cırıt <<mfc@autoware.org>> Co-authored-by: Masaya Kataoka <<ms.kataoka@gmail.com>> ---------Co-authored-by: Mete Fatih Cırıt <<mfc@autoware.org>> Co-authored-by: Masaya Kataoka <<ms.kataoka@gmail.com>>

  • feat(autoware_carla_interface): add a tick follower mode for co-simul… (#13286)

  • feat(autoware_carla_interface): publish CARLA traffic-light states, matched to the map by position (#13327)

    * feat(autoware_carla_interface): publish CARLA traffic-light states, matched to the map by position Bridge the CARLA server's traffic-light states into Autoware's perception output so a CARLA closed loop can run without camera-based recognition. The key problem is associating a CARLA traffic light with an Autoware [traffic_light_group_id]{.title-ref} (a [traffic_light]{.title-ref} regulatory-element id in the lanelet2 map). Instead of assuming the CARLA OpenDRIVE signal id equals the regulatory-element id (true only for maps auto-generated from the same OpenDRIVE) or hand-writing an id table, the bridge discovers the mapping geometrically: each CARLA light head is matched to the nearest lanelet2 light head and its state is published under every regulatory element that references that head. This works for hand-authored / Vector Map Builder maps too.

File truncated at 100 lines see the full file

Launch files

  • launch/autoware_carla_interface.launch.xml
      • use_e2e_planning [default: false]
      • vehicle_model [default: sample_vehicle]
      • use_sim_time [default: true]
      • launch_config_pkg [default: autoware_launch]
      • host [default: localhost]
      • port [default: 2000]
      • timeout [default: 20]
      • ego_vehicle_role_name [default: ego_vehicle]
      • vehicle_type [default: vehicle.toyota.prius]
      • spawn_point [default: None]
      • map_path [default: ]
      • sync_mode [default: True]
      • fixed_delta_seconds [default: 0.05]
      • use_traffic_manager [default: False]
      • max_real_delta_seconds [default: 0.05]
      • tick_follower [default: False]
      • spawn_point_ground_snap [default: False]
      • spawn_point_ground_offset_z [default: 0.5]
      • initial_pose_ground_offset_z [default: 1.0]
      • force_load_world [default: False]
      • min_positive_throttle [default: 0.0]
      • min_positive_throttle_speed_threshold [default: 0.8]
      • no_rendering_mode [default: False]
      • map_origin_x [default: 0.0]
      • map_origin_y [default: 0.0]
      • publish_ground_truth_objects [default: False]
      • carla_map [default: ]
      • use_light_weight_sensor_mapping [default: False]
      • sensor_kit_name [default: carla_sensor_kit_description]
      • sensor_mapping_file [default: $(var sensor_mapping_file_default)]
      • max_wheel_steer_angle_deg [default: 0.0]
      • flatten_steering_curve [default: false]
      • wake_sleeping_physics [default: false]
      • traffic_light.publish [default: false]
      • traffic_light.force_green [default: false]
      • traffic_light.map_path [default: ]
      • traffic_light.match_distance [default: 5.0]
      • traffic_light.match_ratio [default: 0.6]
      • traffic_light.id_map [default: ]
      • input_control_cmd [default: /control/command/control_cmd]
      • input_odometry [default: /localization/kinematic_state]
      • input_steering [default: /vehicle/status/steering_status]
      • output_actuation_cmd [default: /control/command/actuation_cmd]
      • raw_vehicle_cmd_converter_config [default: $(find-pkg-share autoware_carla_interface)/config/raw_vehicle_cmd_converter.param.yaml]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_carla_interface at Robotics Stack Exchange