From 9a9eb9b586ec06cc41e5362b55feb59e6c2f730e Mon Sep 17 00:00:00 2001 From: joel-mb Date: Tue, 29 Jun 2021 15:43:25 +0200 Subject: [PATCH] New register all sensors parameter (#544) Adds a new parameter (register_all_sensors) to avoid publishing data of all the sensors present in the simulation. When enabled, only sensors spawned by the bridge are registered. Otherwise, all the sensors present in the simulation are registered (current behavior). --- .../launch/carla_ros_bridge.launch | 5 +- .../launch/carla_ros_bridge.launch.py | 35 ++++++++++---- .../src/carla_ros_bridge/actor_factory.py | 47 ++++++++++--------- .../src/carla_ros_bridge/bridge.py | 1 + docs/run_ros.md | 4 ++ 5 files changed, 60 insertions(+), 32 deletions(-) diff --git a/carla_ros_bridge/launch/carla_ros_bridge.launch b/carla_ros_bridge/launch/carla_ros_bridge.launch index b4f47fab..e92eb0e1 100644 --- a/carla_ros_bridge/launch/carla_ros_bridge.launch +++ b/carla_ros_bridge/launch/carla_ros_bridge.launch @@ -17,6 +17,9 @@ + +