You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: harmonic/ros2_launch_gazebo.md
+38Lines changed: 38 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -142,3 +142,41 @@ In the above launch files you may notice that the `create_own_container` argumen
142
142
143
143
More info about `ros_gz_bridge` can be viewed [here](ros2_integration).
144
144
More info about composition can be viewed [here](ros2_overview.md#composition).
145
+
146
+
## Further Considerations for ROS2 Control
147
+
148
+
If you're planning to use `ros2_control` with Gazebo, please take a look at the [example launch files](https://github.com/ros-controls/gz_ros2_control/tree/rolling/gz_ros2_control_demos/launch) in the `gz_ros2_control` repository
149
+
150
+
It is essential to publish the `/clock` topic for the `controller_manager` to function correctly:
If you **do not** publish the `/clock` topic, the `controller_manager` will issue warnings or errors such as:
164
+
165
+
[gazebo-1] [WARN] [1744219953.983130822] [controller_manager]: No clock received, using time argument instead! Check your node's clock configuration (use_sim_time parameter) and if a valid clock source is available.
166
+
167
+
Timing Issues
168
+
-------------
169
+
170
+
By default, the `controller_manager` launched by `gz_ros2_control` has ``use_sim_time=true``. If for any reason this is set to ``false``, it will fall back to the system clock.
0 commit comments