diff --git a/ros_gz_bridge/src/ros_gz_bridge.cpp b/ros_gz_bridge/src/ros_gz_bridge.cpp index e09fc2631..150e3313e 100644 --- a/ros_gz_bridge/src/ros_gz_bridge.cpp +++ b/ros_gz_bridge/src/ros_gz_bridge.cpp @@ -63,11 +63,12 @@ void RosGzBridge::spin() } } } - + for (auto & bridge : handles_) { bridge->Spin(); } } + void RosGzBridge::add_bridge(const BridgeConfig & config) { bool gz_to_ros = false;