realtime_tools icon indicating copy to clipboard operation
realtime_tools copied to clipboard

Contains a set of tools that can be used from a hard realtime thread, without breaking the realtime behavior.

Results 25 realtime_tools issues
Sort by recently updated
recently updated
newest added

Hi as said in #139 this PR replaces the existing RealtimeBox implementation with the new implementation provided in #139 . I merged the tests into a single file and they...

Hi, this PR adds an additional method which allows "binding" the calling thread to a certain core. In fact it sets the thread affinity to a certain core. Even though...

I am trying to build and run the ROS2Control demo, but during building I run into the following error: `Cannot open include file: 'sched.h'` I am following the instructions here:...

From what I can tell, there are some issues with using realtime_tools::RealtimeBuffer in our ros2_control hardware interfaces. It seems this RealtimeBuffer is only useful for writing to a realtime based...

Have encountered a number of times lately where the `realtime_tools::RealtimePublisher` segfaults. Here is a stack trace from gdb, ``` (gdb) bt #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 #1 0x00007f571aeb3859 in __GI_abort...

The ROS2 realtime_tools API is a little clunky, requiring the user to still define the publisher on their side instead of incorporating it into the realtime publisher. This makes for...

persistent

Forgive my ignorance if my issue is interpreting the code incorrectly as i'm pretty new to realtime_tools. In [this line](https://github.com/ros-controls/realtime_tools/blob/a5467ed2371abaab7fa646a51a9db72bc8b4771f/src/realtime_clock.cpp#L103) the loop rate is hard coded to 750Hz. To me...

When reading the code, I have a few questions regarding [realtime_publisher.h](https://github.com/ros-controls/realtime_tools/blob/melodic-devel/include/realtime_tools/realtime_publisher.h) 1. `volatile bool` is used for cross-threads flags. As far as I know, it is undefined behavior in C++....

Discovered this in my application— didn't matter whether I made the initial `unlockAndPublish` call from the realtime or non-realtime thread, it still would only go through sometimes. Obviously once everything's...