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
@@ -144,11 +144,11 @@ 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
145
146
146
## Further Considerations for ROS2 Control
147
-
147
+
148
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
-
149
+
150
150
It is essential to publish the `/clock` topic for the `controller_manager` to function correctly:
151
-
151
+
152
152
gz_bridge = Node(
153
153
package="ros_gz_bridge",
154
154
executable="parameter_bridge",
@@ -158,25 +158,24 @@ More info about composition can be viewed [here](ros2_overview.md#composition).
158
158
}],
159
159
output="screen",
160
160
)
161
-
162
-
161
+
163
162
If you **do not** publish the `/clock` topic, the `controller_manager` will issue warnings or errors such as:
164
-
163
+
165
164
[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
-
165
+
167
166
Timing Issues
168
167
-------------
169
-
168
+
170
169
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.
@@ -143,3 +143,40 @@ In the above launch files you may notice that the `create_own_container` argumen
143
143
144
144
More info about `ros_gz_bridge` can be viewed [here](ros2_integration).
145
145
More info about composition can be viewed [here](ros2_overview.md#composition).
146
+
147
+
## Further Considerations for ROS2 Control
148
+
149
+
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
150
+
151
+
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.
An example launch file for XML can be viewed [here](https://github.com/gazebosim/ros_gz/blob/jazzy/ros_gz_sim/launch/ros_gz_sim.launch)
@@ -143,3 +142,40 @@ In the above launch files you may notice that the `create_own_container` argumen
143
142
144
143
More info about `ros_gz_bridge` can be viewed [here](ros2_integration).
145
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:
163
+
164
+
[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.
165
+
166
+
Timing Issues
167
+
-------------
168
+
169
+
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