Skip to content

RFC-0011: its decisions in full

Rows of the decision inventory, from the RFC.

RFC-0011-1: A robot's body is a URDF plus STL meshes per robot, in robots/<robot>/

  • Decided: Each robot has robots/<robot>/robot.urdf, its STL meshes and a robot.json; the description is served by the service like a scene.
  • Why: "no viewer reads [MJCF] (Rerun, Foxglove, three.js all read URDF or meshes)" (§6); the operator wanted "our own capability, in the shape ROS uses (a tree of links and joints, a transform per link), with Rerun's way of doing it as the model" (§1).
  • How: §3.1; robots/duck/robot.urdf, robots/nxt-shooterbot/robot.urdf; GET /api/v1/robots/{robot} in apps/observatory/CONTRACT.md:163.
  • Alternatives rejected: MJCF as the description (no viewer reads it; LEGO robots would need MJCF by hand); glTF (not what ROS tools, Rerun's URDF loader or Foxglove read) (§6).
  • RFC status and section: Accepted, §3.1, §6.
  • Who decided and when: the operator, 2026-11-16.
  • Existing ADR: none (ADR-0016 covers the recorded joints; ADR-0017 uses the descriptions; neither decides the format).
  • Later changed by: RFC-0020 (robot profiles) and RFC-0024 build on it (a description per robot, robots/ mounted read only); no amendment found.
  • In code: Yes, robots/duck/robot.urdf, robots/nxt-shooterbot/robot.urdf, robots/ev3-* exist.

RFC-0011-2: Descriptions are generated from the upstream model, never hand-edited (the NXT is the one hand-written approximation)

  • Decided: The duck's URDF is generated from Pollen's MJCF by robots/duck/from_mjcf.py through MuJoCo's compiled model; LEGO robots from LDraw by robots/ldraw/from_ldraw.py with a hand-written kinematics.json per robot; the NXT Shooterbot is written by hand from the 8547 User Guide and is an approximation.
  • Why: "so it follows upstream and is rebuilt, not edited" (§3.1). The NXT is by hand because "its building instructions ship only inside the NXT software".
  • How: §3.1; robots/duck/from_mjcf.py, robots/ldraw/, robots/nxt-shooterbot/kinematics.json; the duck checked against MuJoCo's xpos/xquat (§4 step 1).
  • Alternatives rejected: none named.
  • RFC status and section: Accepted, §3.1, §4.
  • Who decided and when: the operator accepted the RFC 2026-11-16.
  • Existing ADR: none.
  • Later changed by: not found in my RFCs.
  • In code: Yes, robots/duck/from_mjcf.py, robots/ldraw/, robots/nxt-shooterbot/kinematics.json, robots/duck/fk_fixture.json exist.
  • Decided: The run file keeps joints as signals; one forward kinematics (kinematics) turns a URDF plus joint values into link poses wherever needed (API, pages, Rerun, Foxglove, Blender). Runs name the robot and description hash; meshes (the duck's are 23 MB) stay out of runs.
  • Why: "runs stay small and an old run with joints gains a body when its robot gains a description" (§3.2); the alternative would grow the run "by a transform per link per sample (dozens of links at 20 Hz)" (§6).
  • How: §3.2; apps/observatory/src/observatory/kinematics.py, apps/observatory/tests/test_kinematics.py.
  • Alternatives rejected: link transforms in the run file (grows the run; old runs never get a body) (§6).
  • RFC status and section: Accepted, §3.1, §3.2, §6.
  • Who decided and when: the operator, 2026-11-16.
  • Existing ADR: none (ADR-0016 records the joints; it does not decide derive-on-read).
  • Later changed by: not found in my RFCs.
  • In code: Partial, kinematics.py exists; I found no /runs/{key}/links route in apps/observatory/src (grep) and no Foxglove /tf export (export/ holds only rerun_robot.py), so only part of §3.2's table is built. The page does its FK in JavaScript (apps/observatory/web/shell/explore.js cites libs/web/body/robot.js).

RFC-0011-4: One robot registry, robots/<robot>/robot.json; every run says which robot, sim or real, and from where

  • Decided: robot.json holds the description, the simulator model, the real robot's backend and the joint names; the video registry moves there. The run record gains origin (sim/real), the description hash and, for a simulated run, the model loaded. GET /api/v1/robots lists what each robot has.
  • Why: The operator: "we need to know what is in the sim and what we are looking at" (§3.4).
  • How: §3.4; robots/duck/robot.json, apps/observatory/src/observatory/robots.py; apps/observatory/CONTRACT.md:162.
  • Alternatives rejected: none named.
  • RFC status and section: Accepted, §3.4.
  • Who decided and when: the operator, 2026-11-16 (the quote); RFC accepted the same day.
  • Existing ADR: none.
  • Later changed by: RFC-0020 (robot profiles and plugins, line 82) and RFC-0014 §3.3.1 (the Mission Control robot file) layer more files beside robot.json; not an amendment, but the registry is no longer the only one.
  • In code: Partial, robots/*/robot.json and robots.py exist; apps/observatory/src/observatory/video/robots.json still exists, so "the video registry moves here" is not complete (not checked whether it is now a pointer).

RFC-0011-5: The page's forward kinematics is JavaScript, kept equal to the Python one by tests

  • Decided: The pages compute FK in JavaScript so that posing by hand needs no request per slider move; the Python FK stays the API's and export's.
  • Why: "Posing by hand moves a slider many times a second, which a request per move cannot follow; the prototype did its FK in JavaScript" (§5). The RFC leaves it open and names the cost: "two implementations to keep equal, tested against each other".
  • How: §5; libs/web/body/robot.js (cited in apps/observatory/web/shell/explore.js:2); apps/observatory/tests/test_kinematics.py.
  • Alternatives rejected: API link windows only (a request per window).
  • RFC status and section: Proposed as an open question, §5 (the RFC was Accepted with it open).
  • Who decided and when: not stated in this RFC; resolved by the build.
  • Existing ADR: none.
  • Later changed by: not found in my RFCs.
  • In code: Yes for the JS FK (explore.js header comment); I did not check that a test compares the two.

RFC-0011-6: The Robot view is the first kind of the right panel's Explore tab, not a view mode

  • Decided: The robot body explorer lives in the Explore tab beside Moment and Selection; the left panel's tree is the Body section; as recorded or by hand poses; a robot with no run can be explored.
  • Why: "Placed by the operator after the prototype" (§3.3); the RFC gives no further reason.
  • How: §3.3; apps/observatory/web/shell/explore.js, bodies.css; UXS-001.
  • Alternatives rejected: a view mode beside Top, 3D and Map (§3.3).
  • RFC status and section: Accepted, §3.3.
  • Who decided and when: the operator, 2026-11-16 ("a basic robot body explorer").
  • Existing ADR: none (a UI placement; UXS-001 holds it).
  • Later changed by: RFC-0023 §(line 132) mentions the Explore tab and keeps it; no amendment found.
  • In code: Yes, apps/observatory/web/shell/explore.js exists.