Commit 7c65b2f
authored
background Enable FIFO scheduling by default for RTDE producer thread (#536)
Improves the scheduling configuration of the thread responsible
for receiving and processing robot communication data.
When `read_packages_in_background` is enabled, the RTDE client creates a
dedicated background thread for continuously receiving RTDE data
packages.
Previously, this thread was executed using the operating system's
default scheduling policy. Under system load, scheduling delays could
introduce additional latency and timing jitter while processing incoming
RTDE data.
This PR configures the RTDE background read thread to request the
highest available FIFO scheduling priority using the existing helper
functions.1 parent 8b4495c commit 7c65b2f
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
964 | 965 | | |
965 | 966 | | |
966 | 967 | | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
967 | 972 | | |
968 | 973 | | |
969 | 974 | | |
| |||
0 commit comments