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: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,14 +5,14 @@ realtime_tools
5
5
6
6
Contains a set of tools that can be used from a hard realtime thread, without breaking the realtime behavior.
7
7
8
-
Some documentation can be found at [docs.ros.org](http://docs.ros.org/en/rolling/p/realtime_tools/doc/index.html).
8
+
Further documentation can be found at [docs.ros.org](https://control.ros.org/rolling/doc/realtime_tools/doc/index.html).
9
9
10
10
## Contributing
11
11
As an open-source project, we welcome each contributor, regardless of their background and experience. Pick a [PR](https://github.com/ros-controls/realtime_tools/pulls) and review it, or [create your own](https://github.com/ros-controls/realtime_tools/contribute)!
12
12
If you are new to the project, please read the [contributing guide](https://control.ros.org/rolling/doc/contributing/contributing.html) for more information on how to get started. We are happy to help you with your first contribution.
Contains a set of tools that can be used from a hard realtime thread, without breaking the realtime behavior.
5
6
6
7
For more information of the ros2_control framework see `control.ros.org <https://control.ros.org/>`__.
7
8
8
-
Realtime Publisher
9
-
------------------
10
-
The ``realtime_tools::RealtimePublisher`` allows users that write C++ ros2_controllers to publish messages on a ROS topic from a hard realtime loop. The normal ROS publisher is not realtime safe, and should not be used from within the update loop of a realtime controller. The realtime publisher is a wrapper around the ROS publisher; the wrapper creates an extra non-realtime thread that publishes messages on a ROS topic. The example below shows a typical usage of the realtime publisher in the ``on_configure()`` (non-realtime method) and ``update()`` (realtime method) methods of a realtime controller:
11
-
12
-
.. code-block:: cpp
13
-
14
-
#include <realtime_tools/realtime_publisher.h>
15
-
16
-
class MyController : public controller_interface::ControllerInterface
This list summarizes important changes between Jazzy (previous) and Kilted (current) releases, where changes to user code might be necessary.
6
+
7
+
RealtimeBox
8
+
*******************************
9
+
* ``RealtimeBox`` is deprecated. Update your code to use ``realtime_thread_safe_box.hpp`` header, and class name ``RealtimeThreadSafeBox`` instead. (`#318 <https://github.com/ros-controls/realtime_tools/pull/318>`__, `#342 <https://github.com/ros-controls/realtime_tools/pull/342>`__).
The ``realtime_tools::RealtimePublisher`` allows users that write C++ ros2_controllers to publish messages on a ROS topic from a hard realtime loop. The normal ROS publisher is not realtime safe, and should not be used from within the update loop of a realtime controller. The realtime publisher is a wrapper around the ROS publisher; the wrapper creates an extra non-realtime thread that publishes messages on a ROS topic. The example below shows a typical usage of the realtime publisher in the ``on_configure()`` (non-realtime method) and ``update()`` (realtime method) methods of a realtime controller:
4
+
5
+
.. code-block:: cpp
6
+
7
+
#include <realtime_tools/realtime_publisher.hpp>
8
+
9
+
class MyController : public controller_interface::ControllerInterface
This list summarizes the changes between Jazzy (previous) and Kilted (current) releases.
6
+
7
+
RealtimeBox
8
+
*******************************
9
+
* ``RealtimeBox`` got renamed to ``RealtimeThreadSafeBox`` and uses real-time mutexes now (`#318 <https://github.com/ros-controls/realtime_tools/pull/318>`__, `#342 <https://github.com/ros-controls/realtime_tools/pull/342>`__).
0 commit comments