One command. A finding your agent can act on.
The doctor reads your live graph and files a report for every problem: what is wrong, the evidence on both sides, why it fails without a word in the logs, the fix, and the official doc. Add --json and your coding agent reads the same report.
onscope doctor /scanjazzydomain 42ERROR qos_incompatible
Finding
Publisher /lidar_driver and subscriber /obstacle_watch have incompatible QoS on /scan. They are not connected, and no message will ever be delivered between them.
Evidence
| policy | publisher | subscriber |
|---|---|---|
| reliability | BEST_EFFORT | RELIABLE |
| durability | VOLATILE | VOLATILE |
| history | KEEP_LAST | KEEP_LAST |
| depth | 5 | 10 |
Why
DDS links a subscription to a publisher only when what the subscriber requests is no stronger than what the publisher offers. Neither side logs anything. That silence is why this costs people a day.
Fix
Set the subscriber to BEST_EFFORT, which suits high-rate sensor streams, or set the publisher to RELIABLE. History and depth are never the cause. Confirm with ros2 topic info /scan --verbose.
Concept
QoS compatibility, request versus offer. Official ROS 2 docs
$ onscope doctor /scan --jsonThe same report for agents: bounded, deterministic, never publishes on your topics.
$ onscope doctor target jetson-01Fingerprints a target over SSH and checks it against a Jetson compatibility table. The table is not verified on Jetson hardware.
$ onscope doctor pair robot1Diagnoses discovery between two machines from both ends. Needs SSH keys and python3 on both. Tested only with containers on one host.
Unknown stays unknown.
Sixteen failures on file
16 of 16 on file
- 01QoS mismatchBoth profiles side by side, the guilty policy named.ERR
- 02Frozen sim time/clock has listeners and no publisher.ERR
- 03Topic with no publisherIt exists only because something subscribed.ERR
- 04Remap or namespace miss/robot1/scan versus /scan.ERR
- 05Namespaced TFA broadcaster where no listener will look.ERR
- 06Two TF parentsLookups jump between two poses.ERR
- 07Two clocksSim time and wall time in one graph.WARN
- 08Silent publisherMatched, subscribed, and nothing arrived.WARN
- 09Empty graphEvery discovery suspect, with real values.ERR
- 10Risky domain IDInside the ephemeral port range.ERR
- 11Wrong middlewareThe RMW you set is not the one loaded.ERR
- 12Discovery-range trapLooks right in env, restricts nothing.WARN
- 13Shared container graphDocker’s bridge passes multicast.WARN
- 14Split Gazebo partitionA UID with no passwd entry hides the sim.ERR
- 15Nobody listeningA publisher with no subscriber.INFO
- 16Doubled namesA namespace or remap applied twice.INFO
Also on file, with no AI
Error atlas
66 reviewed explanations of common ROS 2 failures. A failing run whose log has an error the atlas knows gets a note: error atlas (reviewed), or (reviewed, partly) when the entry may explain only part of the failure. Health does not show these notes yet.
$ flightops ros-docs search "…"
Searches the ROS 2 docs for Humble, or Jazzy with Nav2, offline. Download them first with flightops ros-docs pull. flightops ros-docs licenses lists their creators and licences.