Nvidia published a Holoscan SDK 5 tutorial, dated November 9, that builds a gravity-compensation control loop for the Seeed Studio reBot Arm B601-DM, a low-cost arm built on quasi-direct-drive actuators rather than geared hobby servos.
The loop is three operators in one graph: a joint-state source triggered on a 2.5 ms clock, which is 400 Hz; a gravity operator that calls Pinocchio's Recursive Newton-Euler solver against the arm's URDF model; and a motor-command sink. All three sit in one partition, so their callbacks run serially on a single runtime thread, and the flows use depth-one drop-oldest queues so stale samples are discarded instead of accumulating.
Commands combine gravity feedforward with configurable stiffness and damping. The motor helper rejects expired, out-of-order or out-of-range commands, and a watchdog disables the motors if no batch completes within 100 ms. Holoscan compiles and validates the execution plan before the motors are enabled, and Nsight Systems NVTX annotations measure the result without custom timing code.
Over more than one million cycles per configuration, Nvidia reports latency from the first operator's entry to the last operator's entry, excluding motor transmission: 7.1, 17.2 and 20.7 microseconds at p50, p99.99 and p99.999 for pinned C++; 15.3, 86.6 and 133.4 unpinned; 93.0, 142.6 and 1,014.0 for pinned Python; and 113.8, 1,373.5 and 3,134.1 for unpinned Python. Pinning the control partition to a CPU and reserving both physical cores plus their SMT siblings in a cgroup cut p99.99 by roughly 5x in C++ and 9.6x in Python, though interrupts, timers and some kernel threads can still run on those cores.
The walkthrough was tested on Jetson Orin Nano, Jetson Thor and x86 Ubuntu 24.04 systems, and a second example adds kinematics and impedance control.
Our takeMicrosecond tails are the real subject: the C++ and Python medians differ by roughly 13x, but the p99.999 column spans 20.7 microseconds to 1,014, which is what decides whether a 400 Hz loop stays stable when the scheduler misbehaves. The writeup is candid about its limits — one arm, one workload, pinned cores inside a reserved cgroup — so treat the figures as a best case, and the authors note the C++ example still allocates memory and is not a zero-syscall pipeline.