Add custom launch file and timing issues info to Docs#549
Add custom launch file and timing issues info to Docs#549zacharyyamaoka wants to merge 3 commits intoros-controls:rollingfrom
Conversation
|
btw sorry I think I should have made another branch... |
switch single ticks to double ticks Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
|
Ok, made thoose formating changes now! |
ahcorde
left a comment
There was a problem hiding this comment.
format is still failing https://github.com/ros-controls/gz_ros2_control/actions/runs/14481095782/job/40636158834?pr=549
christophfroehlich
left a comment
There was a problem hiding this comment.
Thanks for your effort, see my comments in the code
| To get started with your own launch file using `gz_ros2_control`, refer to the example launch files in the repository: | ||
|
|
||
| `Example launch files <https://github.com/ros-controls/gz_ros2_control/tree/rolling/gz_ros2_control_demos/launch>`_ |
There was a problem hiding this comment.
| To get started with your own launch file using `gz_ros2_control`, refer to the example launch files in the repository: | |
| `Example launch files <https://github.com/ros-controls/gz_ros2_control/tree/rolling/gz_ros2_control_demos/launch>`_ | |
| To get started with your own launch file using `gz_ros2_control`, refer to the `example launch files <https://github.com/ros-controls/gz_ros2_control/tree/rolling/gz_ros2_control_demos/launch>`__ in the repository. |
| .. code-block:: python | ||
|
|
||
| gz_sim = IncludeLaunchDescription( | ||
| PythonLaunchDescriptionSource(gz_sim_launch), |
There was a problem hiding this comment.
will need something like
| PythonLaunchDescriptionSource(gz_sim_launch), | |
| PythonLaunchDescriptionSource( | |
| [PathJoinSubstitution([FindPackageShare('ros_gz_sim'), | |
| 'launch', | |
| 'gz_sim.launch.py'])]), |
| Explanation of flags: | ||
|
|
||
| - ``-r``: Starts the simulator immediately. | ||
| - ``-v4``: Sets the logging verbosity to level 4. |
There was a problem hiding this comment.
I would not advertise -v4, because the console log is spammed from gazebo and no one is looking at important warnings/errors of this plugin.
| - ``-r``: Starts the simulator immediately. | ||
| - ``-v4``: Sets the logging verbosity to level 4. | ||
|
|
||
| 2. **Launching the ros_gz_bridge and publishing the `/clock` topic** |
There was a problem hiding this comment.
| 2. **Launching the ros_gz_bridge and publishing the `/clock` topic** | |
| 2. **Launching the ros_gz_bridge and publishing the ``/clock`` topic** |
| Timing Issues | ||
| ------------- | ||
|
|
||
| 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. |
There was a problem hiding this comment.
when should this happen? This is hardcoded from the plugin?
|
friendly ping @zacharyyamaoka |
|
This PR is stale because it has been open for 45 days with no activity. Please tag a maintainer for help on completing this PR, or close it if you think it has become obsolete. |
Add some new notes to docs, that I wish were there when I first read them!
Related to: #533