-
Notifications
You must be signed in to change notification settings - Fork 109
Add custom launch file and timing issues info to Docs #549
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: rolling
Are you sure you want to change the base?
Conversation
btw sorry I think I should have made another branch... |
switch single ticks to double ticks Co-authored-by: Alejandro Hernández Cordero <[email protected]>
Ok, made thoose formating changes now! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
format is still failing https://github.com/ros-controls/gz_ros2_control/actions/runs/14481095782/job/40636158834?pr=549
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when should this happen? This is hardcoded from the plugin?
Add some new notes to docs, that I wish were there when I first read them!
Related to: #533