IsaacTeleop / checker
AGENTS.md438 starsChanged 31 days agoApache-2.0View on GitHub
CRITICAL: complete the mandatory AGENTS.md preflight in ../../../../../../AGENTS.md before editing here. Read ../oracle/AGENTS.md too if you touch anything the fixture set is the oracle for, and ../../common/AGENTS.md for the shared cts_common code. README.md is the operator's guide. Synthetic fixtures prove a measurement is correct; they cannot say what a real recording looks like. Do not assume the recording is the performance (it starts before and ends after), that the performer can reach the textbook pose, that every bone length is…
1 other project uses a version of this.
Adopted by
Most recently taken up by
- NVIDIA/IsaacCaptureword for word, first seen Nov 1, 2026
Other versions1 project uses a version of this.
Word for word · 1
- NVIDIA/IsaacCapture★ 438100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository28 other files it gives its agents.
- AGENTS.mdAGENTS.md
- deps/cloudxr/webxr_client/AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- examples/camera_streamer/AGENTS.mdAGENTS.md
- examples/egocap/AGENTS.mdAGENTS.md
- examples/teleop_ros2/AGENTS.mdAGENTS.md
- src/core/AGENTS.mdAGENTS.md
- src/core/codegen/AGENTS.mdAGENTS.md
- src/core/deviceio_base/AGENTS.mdAGENTS.md
- src/core/deviceio_session/AGENTS.mdAGENTS.md
- src/core/deviceio_trackers/AGENTS.mdAGENTS.md
- src/core/live_trackers/AGENTS.mdAGENTS.md
- src/core/log_bridge/AGENTS.mdAGENTS.md
- src/core/replay_trackers/AGENTS.mdAGENTS.md
- src/core/schema/AGENTS.mdAGENTS.md
- src/plugins/sensing/AGENTS.mdAGENTS.md
- src/plugins/sharpa_avatar/AGENTS.mdAGENTS.md
- src/python/isaaccapture/cts/common/AGENTS.mdAGENTS.md
- src/python/isaaccapture/cts/full_body/oracle/AGENTS.mdAGENTS.md
- src/python/isaaccapture/cts/hand/AGENTS.mdAGENTS.md
- src/python/isaaccapture/cts/hand/checker/AGENTS.mdAGENTS.md
- src/python/isaaccapture/logging_config/AGENTS.mdAGENTS.md
- src/viz/AGENTS.mdAGENTS.md
- tests/AGENTS.mdAGENTS.md
- .cursor/rules/cmake-structure.mdcCursor rule
- cmake-structureSkill
- rebot-orin-setupSkill
- rebot-orin-setupSkill
The file
Files
<!--
SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: Apache-2.0
-->Agent notes — cts/full_body/checker/
CRITICAL: complete the mandatory AGENTS.md preflight in ../../../../../../AGENTS.md
before editing here. Read ../oracle/AGENTS.md too if you touch
anything the fixture set is the oracle for, and ../../common/AGENTS.md
for the shared cts_common code. README.md is the operator's guide.
Synthetic fixtures prove a measurement is correct; they cannot say what a real recording looks like. Do not assume the recording is the performance (it starts before and ends after), that the performer can reach the textbook pose, that every bone length is measured (on a three-tracker rig the arms are solved), or that a squat is symmetric.
Check rules
segmentation.label_alignmentrequires containment, not coincidence. Every window must be backed by frames and lie inside the recording (MAX_UNCOVERED_FRACTIONincts_common/checks/segmentation.py); real takes carry lead-in and tail, which are reported, not judged. It gates the window checks, so tightening it suppresses them all. A sidecar shifted but still inside the recording is caught bysegmentation.labelled_step_actually_performedandsegmentation.step_order_matches_labels.segmentation.label_windows_wellformeddoes not require windows to tile. The move between poses belongs to no window; that time is the measurementunlabelled_between_s. An overlap is a defect. Do not restore a partition requirement.posture.arm_raise_range_of_motionattributes to PERFORMANCE. One recording cannot separate a clipped arm from an arm that never went up, and the share of samples near the peak does not either (24% and 23% on the saturating and clean fixtures). A device that truly clips fails every retake.- The arm raise is the elevation of the shoulder-to-hand line, never the shoulder
joint angle, which is solver output without shoulder or elbow tracking.
MIN_ELEVATION_DEG = 60.0sits between the saturating fixture (25 deg) and a clean one (89 deg). judged = Falsechecks report a number, never a verdict:posture.tpose_arm_droop,posture.tpose_left_right_asymmetry,posture.cumulative_drift_between_tpose_windows,posture.contralateral_crosstalk_single_leg_raise. They returnPASSonly because there is no other way to say "measured". Add a threshold only from real subjects.- A varying bone is solved, not broken, only on an otherwise rigid skeleton.
skeleton.bone_length_constancyexcuses it only when at leastMIN_RIGID_FRACTIONof measured bones are fixed (RIGID_CV);skeleton.anthropometric_plausibilitydrops a solved forearm from its proportion prior. Never excuse a skeleton with no fixed bones (defect_bone_length_drift). Constantly-zero bones (back-filled hands and feet marked valid) are derived, never a fault. posture.squat_knee_symmetryattributes throughOutcome.attribution. A person favouring a leg bends the whole leg chain; a device mis-estimating knees leaves hips and ankles alone.CHAIN_ASYMMETRY_DEG = 5.0sits above the 0 deg the device-fault fixture leaves in hips and ankles beside 22 deg of knee difference. A check whose evidence can name the culprit must say which one it saw.
The model
A check is an incremental accumulator (update(frame) / result()), so one implementation
serves an MCAP file and a live or replay session; result() may return INSUFFICIENT_DATA
at any time. The accumulator reports status and measurements; the class declares policy:
severity (HARD, SOFT, ADVISORY — advisory never moves the verdict), attribution
(DEVICE or PERFORMANCE, overridable per result by Outcome), judged, required
(False when the question is about what the subject did, so an unanswered one does not
force insufficient_data) and depends_on. suppress_dependents iterates to a fixed
point; suppression yields "cannot conclude", never a pass.
Verdict: a counted DEVICE failure gives fail, else a counted PERFORMANCE failure gives
retake, else an unanswered required check (or no answered check) gives
insufficient_data, else pass. Never collapse fail and retake. Thresholds are named
constants on the check class.
Markincts_common/report.pyis the single definition of how a result is shown, derived byCheckResult.mark. A new state goes there; a renderer that recomputes it drifts.- Every JSON this package writes must survive a strict parser. Measurements can be
non-finite (
inf): usereport.json_safeandallow_nan=Falsein any new writer.
Panel
- viser stays in
panel/app.pyandcts_common/panel/skeleton.py; it is an optional extra.tests/test_panel_boundary.pyasserts nothing else imports it and the checker imports without it. - Skeleton topology comes from
profile.FULL_BODY.bones(), notexamples/mcap_record_replay'sBODY_BONES, which imports theTeleopSessionpipeline. - Write the panel to
FrameSource, not MCAP;panel/track.TeeSourcebuilds the track in the same pass as the checks. - Draw an invalid joint red at its last valid position, never where the record says:
invalid joints carry arbitrary values (
Sample.positionsdrops them,Sample.validsays which is which). - Show only final results: three checks need the whole recording (
coverage.validity_trend,posture.cumulative_drift_between_tpose_windows, the window checks). - Do not substitute a local clock for a missing sample time (
_stampincts_common/panel/track.py); it measures delivery jitter, not the device. Live frames carry noDeviceDataTimestamp, so time-dependent checks stay unanswerable there. - The submission archive is
cts_common/panel/bundle.py;panel/bundle.pyhere only passes it the full-body groups and series. Its rules are in../../common/AGENTS.md.
Architecture
Modules are organised by what input they need, not by group: envelope (the Record wrapper only), payload (one descriptor), geometry (a skeleton profile), window (a label sidecar).
- Check groups are named, not numbered:
signal,geometry,posture. - Check names come from
../oracle/fixtures_index.json(each defect fixture'sexpected_failing_check); do not rename a check without the index. - Locate the channel by declared schema name (
core.FullBodyPoseRecord), not by topic. Profile string and compression are informational. - Read in file order (
cts_common/mcap_reader.py), nevermcap.reader.make_reader(), which re-sorts by log time and repairs a non-monotonic-timestamp recording. - Topology, symmetry pairs, proportion priors and which checks apply come from the
profile (
profile.py). A profile belongs to a schema, never a device: where devices differ, write a rule every device is judged by, never a per-device table. cts/is not part of the wheel.src/python/CMakeLists.txtfilters it out andpyproject.tomlexcludes it; keep both when moving it.
Hard constraints
- The checker imports no
isaaccapture;mcapandflatbuffersare the whole dependency.../capture/records throughTeleopSession, so it imports the built package and the checker'sFrame,TrackBuilderand profile — never the reverse.tests/test_boundaries.pyasserts it. ../oracle/shares no code with the checker, so a fault cannot cancel itself out across the two. The duplicated joint table and quaternion arithmetic are deliberate.fixtures_index.jsonis never edited to make a test pass. Declare a disagreement intests/known_deviations.pywith its reason (EXPECTED_COLLATERALthere lists where one defect legitimately trips several checks).- New test data belongs here, not in the oracle: the generator rewrites the index as
a side effect, so build cases this checker needs with
tests/synth.pyin a temp directory. - Thresholds do not come from fixtures, which are smooth and caricatured. Real subjects choose a number.
Established constraints — do not re-derive
- Chirality and left/right labelling derive forward from the ankle-to-foot vectors, not the pelvis quaternion, so an unrelated orientation fault does not fail both checks. Trust feet only when both are present, plausibly long against the torso, and within 60° of each other (a foot zeroed to the origin passes a bare length test); otherwise fall back to the pelvis and record which reference was used.
skeleton.joint_index_assignmentmeasures how much of a bone's length moves back toward the pelvis, not raw distance-to-root (an A-pose puts every elbow nearer the pelvis than its shoulder).REVERSED = 0.8sits in an empty gap: a reversed bone reads +1, nothing correctly indexed exceeds −0.47.- Joint angles are parent-relative, not world coordinates, so a leaning operator is
not read as a broken device. The arm raise is the exception;
performance.arm_raise_torso_stabilitycatches the lean. - "Stature" is the head joint above the lowest joint, about 1.57 m, not anatomical
stature (~1.72 m); a proportion prior must say which it tests.
stature_chainsums bone lengths along one leg and the spine, so no posture moves it. - Decide whether a step was performed from peak joint angle, not path length: position noise random-walks to ~0.33 m per window, ~12% of the real signal.
- Measure held poses over the trailing part of the window (
SETTLE_FRACTIONinchecks/posture.py); the script blends into each pose. - flatc v24.3.25 with the
GenerateFlatBuffers.cmakeflags must produce a.bfbsbyte-identical tosrc/core/schema/golden/full_body.bfbs(checked bysetup_env.sh); a distro or Homebrew flatc (25.x) does not match. The Pythonflatbufferspackage has no reflection module: decode with the generated bindings, use the.bfbsonly for byte comparison, so payload checks are per-schema. - Never offer an alias for a recording path (no
latestsymlink or copy).StepTimeline.besideresolves the sidecar from the path as written; an alias finds none, and a missing sidecar is supported, so aretakebecomes apass. - Never commit real recordings or put them in the fixture folder: they are human motion data.
- Invalid joints carry arbitrary values, not zeros. Gate every value check on
is_valid. Pico copies the pose and derivesis_validafterwards, Noitom zeroes it;tests/test_pico_shapes.pycovers Pico. On a three-tracker rig the upper body is solver output.
Tests
- Unit tests feed accumulators frames built in memory by
tests/synth.py; they need no MCAP and are all CI runs.tests/test_panel_app.pyneeds viser and skips without it; the checker's suite must not start needing the extra. - Oracle tests are parametrised over
../oracle/fixtures_index.jsonand skip until../oracle/generate.shhas built the recordings (FULLBODY_FIXTURESoverrides the location). - Assert graded fixtures by accuracy and monotonicity against the injected magnitude, plus a zero rung reading zero — never by pass/fail.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

