Skip to main content
Pins the Jetson clocks the real-time loops depend on:
  • the MAXN power mode (nvpmodel -m 0), which uncaps the clock ceiling the other two pins reach (nvpmodel otherwise caps how high the governor and engine clocks can go),
  • the NVENC / VIC engine devfreq nodes, so the camera relay’s hardware H.264 encode stays low-latency (the default devfreq governor scales them for throughput, which roughly triples per-frame encode time), and
  • the CPU governor, so the bursty IK loop isn’t underclocked.
These pins reset on every reboot, so the one-command install wires this into the axol.service systemd unit as an ExecStartPre, re-pinning the clocks at every boot, and runs it once during install. It is not called from teleop / collect-data / serve — those entry points just run.
Best-effort and a no-op on non-Jetson machines. Pinning needs root: run as root, or you’ll be prompted for sudo once on a terminal; if escalation isn’t possible it logs the manual command and continues.