Skip to content

Add PlanT 2.0 input/output reference and sample records - #124

Open
farisAK550 wants to merge 2 commits into
WE-Autopilot:developmentfrom
farisAK550:faris/plant2-io-records
Open

farisAK550 wants to merge 2 commits into
WE-Autopilot:developmentfrom
farisAK550:faris/plant2-io-records

Conversation

@farisAK550

@farisAK550 farisAK550 commented Nov 25, 2026 •

Copy link
Copy Markdown

What

Documentation of PlanT 2.0's inputs and outputs, plus sample in/out records, for the "PlanT2.0 ins/outs records" task. Everything is in a new folder, src/planning/plant2_io/. No existing files are changed.

Contents

  • README.md: I/O reference traced to autonomousvision/plant2 (commit 6269e5a) and the PlanT / PlanT 2.0 papers
    • Inputs: object matrix (7 columns, 6 classes, range filtering), BEV image (3×128×128, 0.5 m/px), route (20×2), speed-limit token
    • Outputs: path (20×2), waypoints (8×2 at 4 Hz), forecasting head (training only), and how they become steer/throttle/brake
    • Code samples and gotchas
  • plant2_pipeline.py: numpy-only port of the input pipeline (no torch/CARLA needed)
  • make_records.py: builds records; can also build them from real PlanT 2.0 dataset frames
  • records/: sample records: zip on the Notion task card.

Note on the records

The 7 records are hand-built scenes run through the PlanT 2.0 input pipeline, so formats, units, filtering and quantisation match the real model. They are not CARLA recordings, and the outputs are expert targets, not checkpoint predictions. They can be regenerated from the real dataset (SimonGer/PlanT2_Dataset) with make_records.py --route-dir ... as a follow-up.

Heads-up

PlanT/model.py comments the object columns as "extent x, extent y", but the code writes width (extent.y × 2) before length (extent.x × 2). Worth knowing if we build PlanT inputs ourselves.

Documents PlanT 2.0 inputs (object matrix, BEV, route, speed limit) and outputs (path, waypoints, forecasting head, control), with types and code samples traced to autonomousvision/plant2. Includes a numpy port of the input pipeline and 7 sample in/out records (hand-built scenes run through the pipeline; can be regenerated from the real PlanT2 dataset with make_records.py).
@farisAK550
farisAK550 requested review from a team as code owners November 25, 2026 03:14
@farisAK550
farisAK550 changed the base branch from main to development November 25, 2026 03:17

@alyashour alyashour left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not include records in here, instead upload them as a zip to notion or google drive.

Also the plant2_io folder should be under src/planning not tools.

Per review: records now live as a zip on the Notion task card; README points there and explains how to regenerate them. records*/ is git-ignored.
@farisAK550

Copy link
Copy Markdown
Author

Thank you, I addressed it in 4581de4: moved the folder to src/planning/plant2_io/ and removed the records from the repo. They're now a zip on the Notion task card, and the README points there. records*/ is git-ignored so they can't be committed by accident

@farisAK550
farisAK550 requested a review from alyashour November 26, 2026 03:25

@alyashour alyashour left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work @farisAK550 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants