Work record: , 5 minute read

A capability is only real if the path to it is

The most expensive defect I keep meeting: a feature that's written, reviewed and tested, and never runs, because nothing that runs calls it.

A table of subsystems that configure themselves from one editable file
A table of subsystems that configure themselves from one editable fileOpen image to inspect at full size.

Loop closure had code, tests and a launch-file connection. The September 2026 source audit found that the connection was in vision_pi.launch.py, while the documented bring-up path included vision.launch.py. The numerical capability existed. The supported path to it did not.

A conceptual launch graph: the documented bring-up path includes vision.launch.py and reaches perception, control and estimation. A loop-closure connection placed only in vision_pi.launch.py is outside that path.mongla bringupvision.launch.pyperceptioncontrolestimationloop closurecode ✓ tests ✓ caller ✗
A conceptual graph of the mismatch recorded in the audit, not the current complete ROS graph. The useful edge is the one from the command an operator actually uses.

It became a recurring kind of defect: a lock ladder outside the selected launch path, a hold time held at zero, a bank storing a position nothing ever passed, a device path read and then ignored. Each case has code that can look reasonable in isolation. The missing part is the relationship between that code and the system people actually start.

A capability is only real if the path to it is.

The missing unit is an edge

Think of the system as a directed graph. There are commands, launch descriptions, processes, subscriptions, callbacks and numerical functions. A capability is reachable only if a valid path connects the supported entry point to the work it claims to perform.

That graph depends on configuration. A declared action can remain disabled by a condition; a launched process can be waiting for an input that never arrives; a callback can receive a value that a later stage ignores. A file’s existence proves none of those edges. Even a successfully imported module may never do the relevant work.

ROS launch makes the distinction explicit: descriptions can be introspected without executing their actions, includes can yield further entities, and substitutions or conditions can be evaluated at runtime. Seeing an action in a description is therefore not the same observation as seeing the capability operate.

The practical questions are small enough to ask during review:

  • Which documented command reaches this consumer?
  • Which configuration and input make the relevant branch run?
  • What observable result would be absent if that branch were disconnected?

The last question stops the review becoming a search for matching filenames. It asks for an effect, not a decorative arrow.

The fix is a decision, not more code

Adding the same switch to the other launch file is tempting. It also creates two places an operator must keep aligned. The repair described by this work uses one deck-editable configuration source, with module defaults and explicit parameter overrides. The supported entry point still has to read that source: moving a value into a new file is not, by itself, an integration.

Configuration precedence needs its own contract. “Not supplied” and an explicit false or 0 are different states. A truthiness shortcut can silently replace an operator’s deliberate override with a default. The useful behavioural check supplies those distinct states and observes which configuration the consumer uses; it does not merely look for a parameter name in the source.

Archived configuration notes listing loop closure and the sensor roster
The shared configuration notes. Their value depends on the supported bring-up path actually consuming them.Open image to inspect at full size.

The existing path reports malformed configuration before falling back to defaults. That is better than silently ignoring an edit, but fallback is not automatically the right safety policy for every setting. Some faults should prevent an operation. The choice depends on what the setting controls, not simply on whether the parser can recover.

A static scan is a lead, not the final measurement

The audit also looked for modules with no importers. It explicitly excluded launched nodes, console_scripts entry points and dynamically loaded missions. Those exclusions matter: a text search for imports would otherwise report legitimate runtime entry points as dead code.

A missing static edge is a reason to investigate. A present edge is only a necessary part of the explanation. It does not show that the right configuration was selected, the required input arrived or the intended output reached its consumer. That is why I keep the source graph, the supported launch exercise and the relevant device measurement separate.

The register in the source distinguishes active modules from deferred ones and names the consumer a deferred module is waiting for. A deferred module is still an experiment, not a capability available to the operator. The register is useful only while it reflects that distinction rather than functioning as an exemption list.

A tabulated, scored run: every number with the conditions that produced it
The ledger habit applied to runs: what was asked, what ran, and the conditions.Open image to inspect at full size.

The earlier vision workbench contains the same lesson in another form: a modular folder can define fusion, trajectory prediction and navigation helpers without the default application instantiating them. A larger architecture diagram does not close that gap.

For me, the point of this case is a clearer hand-off. The next person should be able to start from the documented command, follow the selected configuration and find the observable result—not reconstruct a launch ritual from whichever file happens to look most complete. The reliability essay takes the next step: checking that the guard itself can distinguish a working path from a broken one.