Skip to content

About

Native-first control and simulation lab for powered descent

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Powered Descent Lab

Powered Descent Lab (pd-lab) is a native Rust lab for deterministic 2D rocket flight, guidance, waypoint planning, evaluation and replay. It is not the player-facing game: the lab owns flight behavior and evidence; a future host owns presentation, input and game feel.

Current checkpoint

  • Policy 3 is the sole executable planner. It constructs a terrain-blind nominal flight, audits that fixed path against terrain, applies a local clearing correction when needed, and replans from the actual handoff state. Airborne proposals can use long powered landing segments; the ballistic aim and correction revision has an opt-in candidate and local waypoint results, but is not the accepted planner.
  • The accepted planner pack has 36/36 core target landings: 11 direct and 25 corrected. Eight diagnostics remain separate: two landings, four zero-step NoClearing stops and two unsupported inputs. All 44 inputs pass integrity; all 42 supported results pass recorded source replay.
  • The supported envelope is the tested vehicle, Earth gravity, 120 Hz physics and 60 Hz commands. This is synchronous offline planning, not arbitrary-terrain reliability, arbitrary airborne restart or a per-tick game-controller guarantee.
  • Terminal, direct-transfer and authored-waypoint controllers remain supported. Ordinary pd-cli run defaults are unchanged; its V2 commands require the default-off planner-v2 feature.

The accepted session/CLI results own measured flight evidence. The cleanup results record subsequent behavior-preserving source work; cleanup does not relabel captured provenance.

Start here

You want to… Read
Build, test or change the repository Development workflow
Run planner or controller evaluations Evaluation workflow
Browse, serve or refresh reports Report workflow
Understand current flight ownership and limits Guidance, architecture
Choose the next product pass Current roadmap
Find all docs or past experiments Documentation home, history

Quick start

Run commands from the repository root. The maintained tooling uses Rust/Cargo, Node.js, Git and RTK; report serving also needs Python 3 and tmux. See development prerequisites.

Build and run the maintained local gate:

rtk proxy cargo build --workspace
rtk proxy node scripts/check-planner-development.mjs

Run the current planner pack:

rtk proxy cargo run --release -p pd-eval-cli -- run-pack --workers 4 --enforce-regression-policy

This creates a new capture and publishes the current report only if acceptance passes. A completed capture or successful collection exit is not itself a landing. For read-only inspection of already-saved evidence:

rtk proxy cargo build --release -p pd-eval-cli
rtk proxy node scripts/check-planner-v2-workflow.mjs

Saved captures are local, ignored data; a fresh checkout does not contain them. The ordinary developer gate needs no external capture.

Serve locally generated reports:

rtk proxy ./scripts/serve-reports start

Start at / or /reports/: Browse missions leads with terminal control, direct transfers and complete procedural terrain. Recent reports discovers saved reports automatically; Browse all reports adds search and filters. For the accepted benchmark use Waypoint planning → Current V2 batch → Mission detail; its canonical batch is /reports/eval/planner_v2_lab_suite/. Terminal, transfer and planner reports share the detailed templates and review tree; executed waypoint handoffs extend those views rather than replace them. See report operations before refreshing or publishing pages.

Repository map

Area Responsibility
pd-core Deterministic plant, missions, terrain queries and neutral persisted contracts
pd-run Open agents, neutral records and ordinary episode execution
pd-missions Procedural missions and immutable collection management
pd-plan Pure current ballistic and local-clearing calculations
pd-planner Maintained Policy 3 and ballistic solver execution/configuration
pd-control Terminal, direct-transfer and authored-waypoint guidance
pd-eval Independent evaluation, capture integrity and authoritative command replay
pd-eval-cli Built-in approach composition, authored packs and saved evidence workflows
pd-cli Ordinary run/replay/report and feature-gated V2 flight/replay adapters
pd-report Common rich detail and batch templates, annotations and report navigation
fixtures Maintained inputs, frozen research data and deliberately retained archive metadata
scripts Maintained checks, explicit capture tooling and report operations
docs Current contracts, workflows and dated development records
outputs, target Local generated data and build products, ignored by Git

Project direction and scope preserves the original lab/game split and reboot rationale. Repository guidance records safe change boundaries for coding agents.

About

Native-first control and simulation lab for powered descent

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages