Skip to main content

Compsognathus longipes (Anatomical)

The anatomical proxy has a 1.0 kg assumed mass, 14 actuators, a long articulated tail, and 51 state observations (the last three are the Phase C body-relative command segment, zero under command_mode = "none"). Since policy interface r4 none of them reads the world heading: the policy sees the direction of gravity in its own body frame and its velocity relative to the way it faces, so turning the whole scene changes nothing it observes. Since policy interface r7 (decision D-D59) the scene holds no target and the observation no target direction or distance.

The reconstructed French-specimen proportions give a 95 mm femur, 114 mm tibia, 70 mm metatarsus and 87 mm skull. The MTP joint carries three loaded toes, and a short medial hallux sits above the floor. Bounded joint torque represents active muscle action. A passive digital flexor spanning ankle and MTP stores energy as it stretches and returns it during recoil. The settled mass projection lies 30.5 mm inside the two-foot support boundary and 20.9 mm outside either individual footprint. Anatomical review and model comparison

Training footage recorded before physics r3 documents the earlier anatomy and contact mechanics. Demonstrating a learned behavior on this reconstruction requires training a policy on the current plant (physics r4, whose dynamics are those of r3, and policy interface r7), evaluating it and recording that rollout.

The stance node certifies stance quality, not reward: since physics r2 its gate is stance_quality/v2, which judges every episode of a 40-episode panel on the floor's force under each foot (no hop or stomp at reset, no long two-foot flight or hard landing later, both feet planted, the pad and all three toes of each foot loaded, level pads not stood on an edge, no drift, no actuator held at its limit) and certifies the stance when at least 37 of 40 are clean. Since 2026-10-11 (decision D-D32) it is applied at six whole-scene headings, the six-heading certificate stance_quality_heading/v1: every heading must pass, and at least 37 of the 40 seeds must be clean at all six. A soft, low bounce, or a foot that lifts for less than half of a 20 ms control step, can still pass it, so a trained stance is also checked by hand. Since the same revision the leg actions are softened near the standing pose (a soft-cubic residual that keeps both ends of each joint's range), so the small exploration noise PPO starts with no longer topples the standing animal.

The walk. Since decision D-D62 the locomotion node follows a live command, the first stage that does; the stance and recovery run no command. Each walk episode draws one request at reset and holds it for its whole 20 s: a forward cruise at 0.04-0.08 m/s along a heading up to 15° (0.26 rad) off the spawn heading, or, in about 15% of episodes, an exactly zero command that asks the animal to stand still. A Gaussian tracking term on the commanded velocity and yaw rate (weight 2.5) replaces the forward, heading and sideways terms; on a zero command a stand block (16 weights) pays the stance's reward weights, so zero means stand still rather than march in place; and the commanded speeds ramp from a quarter of their end values to the full range over the first 2M training steps. The walk is judged after training on its command_tracking/v1 panel (the cruise family's survival and success bounds, the stand family's hold, and the biped gait clause with its flight cap), on the checkpoint the gate's own statistic chose on a separate selection panel. Its bars are provisional, and no controller has yet been shown to clear them: the tracking width (0.02 m/s) lies under the estimated lateral sway of a stepping gait on this plant, and no walking controller exists to measure it (decision D-D62 (16)). A moving command is scored on the trailing mean of the last 1.22 s, a stride estimated from the leg length at half the cruise speed (decision D-D64); on a pendulum model of the sway that fits the tolerance for about half of the plausible strides at the home support width, so the risk is only partly relieved. The later follow nodes will widen this distribution as the walk's exact continuation.

Generated specifications

These values are generated from the environment and compiled MJCF model. “Dynamic mass” is a simulator property, not an anatomical weight estimate.

GaitBipedal
Observation dimension51
Action dimension / actuators14
Generalized coordinates (nq)24
Generalized velocities (nv)23
Compiled dynamic model mass1.0 kg
Plant contract revisionsPolicy r7 · physics r4 · visual r4
Modelenvironments/compsognathus_longipes/anatomical/assets/compsognathus_longipes_anatomical.xml

Current curriculum configuration

The Stable-Baselines3 budgets and early-advancement gates below come from the current TOML files and can differ from older published runs. A stage also ends when its configured budget is exhausted. The recipe column names the behavior a stage belongs to and whether its checkpoint is a published deliverable; the warm-start column names the stage it starts from.

StageRecipeWarm-start fromObjectiveSB3 configured budgetSB3 early-advancement gate
1 — Stancestance (deliverable)—Hold an upright stance with foot support11Mseeds clean at all six headings (whole scene turned -90, -45, 0, 45, 90, 180°) LCB95 ≥ 0.8 over ≥ 40 seeds (settle 200 steps); at every heading, clean stance episodes LCB95 ≥ 0.8 over the same seeds; an episode is clean when it reaches the horizon with min_all_feet_support ≥ 0.98, max_touchdown_rate ≤ 0.25, max_window_displacement_m ≤ 0.05, min_foot_load_share ≥ 0.4, max_actuator_saturation_fraction ≤ 0.1, max_settle_airborne_substeps ≤ 15, max_settle_peak_floor_force_bw ≤ 3, min_foot_load_share_windowed ≥ 0.35, max_foot_contact_fraction ≤ 0.02, max_phantom_support_fraction ≤ 0.05, max_nonfoot_load_fraction ≤ 0.01, max_settle_stance_width_change_m ≤ 0.011, min_support_geom_duty ≥ 0.5, min_support_geom_coverage ≥ 0.8, max_sole_tilt_deg ≤ 2, max_sole_corner_lift_m ≤ 0.003, min_sole_contacts ≥ 1.5, max_sole_cop_fore_aft ≤ 0.7, max_window_airborne_substeps ≤ 40, max_window_peak_floor_force_bw ≤ 2, min_foot_load_share_statue_ratio ≥ 0.8; full-horizon episodes ≥ 95.0% at every heading; reward rail ≥ 2,740 at every heading; reward rail ≥ 0.6 × the statue's at the same heading; handoff chosen by the gated statistic on a separate selection grid; verdict from the six-heading stance_heading_report.json on that pair (post-stage; fail-closed when absent, never the yaw-zero panel)
recovery — Recoveryrecover (deliverable)1 — StancePilot: recover an upright stance after calibrated horizontal pushes3Mrecovery success LCB95 ≥ 0.5; paired Δ vs each required frozen null LCB95 ≥ 0.1; re-entry ≤ 40 steps + 20-step dwell; ≥ 40 episodes/evaluation; handoff chosen by the gated statistic on a separate selection panel; verdict from the frozen gate_resolution.json (post-stage; fail-closed when absent or stale)
2 — Locomotionwalk (deliverable)1 — StanceWalk: follow a forward command with heading hold, and stand still on a zero command3Mcruise episodes (a non-zero reset command) success LCB95 ≥ 0.6 and survival LCB95 ≥ 0.8 over ≥ 20 episodes; a cruise episode succeeds when it reaches the horizon, settles its initial heading within 1 s + |error| / yaw_rate_max + the stage's tracking window ([commands] tracking_window_s, decision D-D64) and holds it 1 s, stays in tolerance on ≥ 60.0% of its steps after the settle (its velocity and yaw-rate errors read on that window's means), makes ≥ 0.5 × the commanded speed along the heading after 2 s and passes the gait clause; stand episodes (an exactly zero command) over ≥ 5: ≥ 60.0% hold the stop (it settles, and holds on ≥ 60.0% of the steps after 1 s) and ≤ 0 fall; gait clause (gait_limbs 2): min_alternation_index ≥ 0.75, max_simultaneous_fraction ≤ 0.15, max_hop_flight_fraction ≤ 0.15, min_lead_swaps_per_stride ≥ 1, max_foot_contact_fraction ≤ 0.02, max_phantom_support_fraction ≤ 0.05, max_flight_fraction ≤ 0.05; handoff chosen by the gated statistic on a separate selection panel; verdict from command_tracking_report.json on that pair (post-stage; fail-closed when absent)

Backend-specific task-success semantics

  • Stable-Baselines3 — Walk command tracking (command_tracking/v1): The walk checkpoint clears the command_tracking/v1 gate (walk profile, decision D-D61), judged post-stage on the handoff its gated statistic chose on a separate selection panel. The walk follows a forward cruise command, a speed in [0.5, 1] x the model's cruise speed at a heading within 0.26 rad of the spawn's, drawn at reset and held for the whole episode, and about 15% of its episodes are stand episodes, an exactly zero command for the whole episode (decision D-D62). On the cruise family the one-sided 95% lower bounds on survival and on success meet the configured bounds: a cruise episode succeeds when it reaches the horizon, settles its initial heading, stays in tolerance on the configured share of its steps after the settle, makes the configured fraction of the commanded speed along the heading and passes the biped gait clause with its flight cap; on the stand family the configured share holds the stop and no episode falls. The families' counts and bounds are exported to summary.json from the admitted command_tracking_report.json (decision D-D61), and the catalog headlines the cruise success bound and the stand success fraction once a result summary is listed.

Per-deliverable success semantics

  • stance (1 — Stance) · Stable-Baselines3 — Stance quality at six headings (stance_quality_heading/v1): The stance checkpoint clears the stance_quality_heading/v1 gate (the six-heading certificate, decision D-D32), judged post-stage on the handoff pair: the 40 certification-panel seeds are rolled with the whole scene turned -90, -45, 0, 45, 90 and 180 degrees; at every heading the stance_quality/v2 decision on floor truth (horizon reached, no hop or impact in the settle window, the two-foot flight time and the landing peak bounded over the scored window, both feet down and loaded, the pad and all three digits of each foot loaded, flat pads, no actuator held at its limit) passes against the statue rolled at that heading, and the one-sided 95% lower bound on the share of seeds clean at every heading meets the configured bound, with the reward rails as collapse floors only. The clean-seed count and its bound are recorded in gate_verdict.json but not exported to summary.json until a later phase (decision D-A9, deferred by D-B15), so the catalog names them with no value.
  • recover (recovery — Recovery) · Stable-Baselines3 — Recovery under pushes (recovery_quality/v1): The recovery checkpoint clears the recovery_quality/v1 gate, judged post-stage against the run's frozen gate_resolution.json: recovery-success LCB95 and the paired delta against each required frozen null meet the frozen thresholds, with re-entry inside the configured step budget and dwell. The statistics are not exported to summary.json until a later phase (decision D-A9, deferred by D-B15).
  • walk (2 — Locomotion) · Stable-Baselines3 — Walk command tracking (command_tracking/v1): The walk checkpoint clears the command_tracking/v1 gate (walk profile, decision D-D61), judged post-stage on the handoff its gated statistic chose on a separate selection panel. The walk follows a forward cruise command, a speed in [0.5, 1] x the model's cruise speed at a heading within 0.26 rad of the spawn's, drawn at reset and held for the whole episode, and about 15% of its episodes are stand episodes, an exactly zero command for the whole episode (decision D-D62). On the cruise family the one-sided 95% lower bounds on survival and on success meet the configured bounds: a cruise episode succeeds when it reaches the horizon, settles its initial heading, stays in tolerance on the configured share of its steps after the settle, makes the configured fraction of the commanded speed along the heading and passes the biped gait clause with its flight cap; on the stand family the configured share holds the stop and no episode falls. The families' counts and bounds are exported to summary.json from the admitted command_tracking_report.json (decision D-D61), and the catalog headlines the cruise success bound and the stand success fraction once a result summary is listed.

Published run summaries

These are historical experiment records. A result is not evidence for the current model revision unless its provenance is explicitly marked current and verified.

No run summary has been published for this model.

Training​

Set SPECIES = "compsognathus_longipes" and EMBODIMENT = "anatomical" in the SB3 training notebook. Its manifest (configs/compsognathus_longipes/anatomical/stages.toml) declares three nodes, all published deliverables: stance (stance), recovery (recover, warm-started from stance) and locomotion (walk, warm-started from stance). The non-contact target-reach hunt that followed walk was removed by decision D-D59. The notebook trains one behavior a session (decision D-D79): BEHAVIOR = "stance", the default, trains the stance alone, and BEHAVIOR = "recover" or "walk" trains push recovery or the walk on a certified stance from this run or TRUNK_FROM, stopping before it writes anything when no stance can be reused (decision D-D35 for "recover"; before it the stance label, then "stand", meant that chain here; since decision D-D38 "stand" is refused with a pointer to "stance").

pip install -e ".[train]"

# View the model (requires a display; on macOS, use mjpython instead of python)
python -m environments.compsognathus_longipes.scripts.view_model --embodiment anatomical

# Train the stance node using its current TOML-configured budget
python -m environments.shared.train --species compsognathus_longipes --embodiment anatomical train --stage 1

# The advancing stages in manifest order; reuse an earlier run's certified stance, train walk here
python -m environments.shared.train --species compsognathus_longipes --embodiment anatomical \
curriculum --algorithm ppo --trunk-from logs/<earlier_run> --output-dir logs/<new_run>

Actions are residual joint-position commands around a preloaded standing pose. The control rate is 50 Hz and the default episode horizon is 20 seconds. Simulator state, the pelvis velocity among it, is a privileged MLP input; the RGB camera is available separately for rendering. These policies are not onboard camera controllers.

The initial configurations and short integration runs establish training compatibility. They do not establish learned walking, behavior convergence or hardware readiness. The zero-action standing baseline should be measured before tuning. Every node is judged on its own and its verdict written to gate_verdict.json beside the handoff checkpoint; a later run reuses it only under the reuse rule (a passed verdict, the same task digest and plant, chained by the parent's checkpoint digest) — see Behavior Recipes.

See the model README for validation commands, and Anatomy and standing balance for the reconstruction, joint torques and static balance.