Skip to content

Conversation

@berndgassmann
Copy link
Contributor

@berndgassmann berndgassmann commented Nov 26, 2025

Removed not required parts of the old ros-bridge implementation as those are covered by the ROS2 enabled CARLA server directly:

  • carla_ros_bridge
  • carla_ackermann_msgs,
  • carla_ackermann_control

Update carla_msgs to the ue4-extend-ros2 branch

Added derived_objects_visualizer to replace /carla/markers published by the old ros bridge

carla_ad_agent:

  • adapt msg and topic names
  • remove ego object from all objects using vehicle_info
  • make local_planner subscription to CarlaVehicleStatus best effort
  • don't execute planner step if no odometry message was received

carla_walker_agent:

  • adapt topic names

ros_compatibility:

  • extend ros compatibility qos setting
  • Only init rclpy if required. This allows for using multiple carla_ad_agents within a scenario
  • Fix use of duplicated topic names for different message types in ROS2

carla_spawn_objects:

  • remove not existing pseudo sensors
  • remove not available control_id

carla_control_panel:

  • adapt to native ROS2 interface
  • allow dynamic selection of vehicle to be controlled

carla_twist_to_control:

  • allow setting control_priority

pcl_recorder:

  • adapt topic names and fix dependencies

carla_ros_scenario_runner:

  • adapt topic names
  • allow enabling debug logging output at scenario runner

Disable debian melodic CI build


This change is Reviewable

@berndgassmann berndgassmann changed the title Apat to built-in ROS2 interface Adapt to built-in ROS2 interface Nov 26, 2025
@berndgassmann
Copy link
Contributor Author

That PR might be merged later on into a new branch (e.g. dev) because it is only valid for ue4-dev branch once the latest ROS2 server changes will be integrated.

Removed not required parts of the old ros-bridge implementation as those
are covered by the ROS2 enabled CARLA server directly:
- carla_ros_bridge
- carla_ackermann_msgs,
- carla_ackermann_control

ROS1 is not supported anymore:
- remove ROS1 launch files
- remove ROS1 build infos
- disable ROS1 CI build

Update carla_msgs to ue-extend-ros2 branch

Since manual override is not available anymore in that form, added the
control_priority parameter to the nodes publishing
CarlaEgoVehicleControl messages.

Added derived_objects_visualizer to replace /carla/markers published by
the old ros bridge

carla_ad_agent:
- remove ego object from all objects using vehicle_info since vehicle
individual objects topic is not existing anymore
- make local_planner subscription to Odometry best effort
- don't execute planner step if no odometry message was received
- fill CarlaEgoVehicleControl header with odometry msg header data
- allow setting control_priority (defaults to 10)

carla_manual_control:
- adapt to CarlaEgoVehicleStatus msg changes
- allow setting control_priority (defaults to 20)

carla_ros_scenario_runner:
- allow enabling debug logging output at scenario runner

carla_spawn_objects:
- remove not existing pseudo sensors
- remove not available control_id
- read vehicle role_name from objects definition file if provided

carla_twist_to_control:
- allow setting control_priority (defaults to 6)

ros_compatibility:
This package is kept for the moment to reduce impact in the code
- extend ros compatibility qos setting
- Only init rclpy if required. This allows for using multiple
  carla_ad_agents within a scenario
- Fix use of duplicated topic names for different message types in ROS2

pcl_recorder:
- adapt topic names and fix dependencies

rviz_carla_plugin
- allow dynamic selection of vehicle to be controlled
path = carla_msgs
url = https://github.com/carla-simulator/ros-carla-msgs
branch = master
url = https://github.com/Motor-Ai/carla-simulator-ros-carla-msgs
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This has to be changed AFTER carla-msgs have been merged!
Don't merge this PR yet!!

url = https://github.com/carla-simulator/ros-carla-msgs
branch = master
url = https://github.com/Motor-Ai/carla-simulator-ros-carla-msgs
branch = ue4-extend-ros2
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This branch name has to be changed to the dev branch of the carla-msgs after the merge of the commit into that branch.
In each case a new branch is required also for the ros-bridge itself ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant