How mramazing-h/writeurrobo works
WriteUrRobo is a Python robotics-simulation product with two distinct writing demos: configurable DexMate contact writing and G1 + Inspire contact writing, plus a retained kinematic DexMate demo. The main user journey is text or a demo command → layout/reference and robot simulation → recorded contact or trajectory → evaluation and rendered output. The graph preserves those branches and the documented model-fetch and legacy capabilities. Some G1 and fetch internals were not sampled, so their documented relationships are cited to the README rather than inferred from unsampled code.
Main entry points: contact/cli.py Contact CLI · dexmate_writing/cli.py Legacy CLI · fetch_station.py Station Fetch · fetch.py G1 Model Fetch
Components 17
DexMate Contact
- Contact CLI
src/dexmate_writing/contact/cli.py - ASCII Layout
src/dexmate_writing/contact/text_layout.py - Reference Planning
src/dexmate_writing/contact/contact_writing.py - Reference Smoothing
src/dexmate_writing/contact/smooth_reference.py - Contact Rollout
src/dexmate_writing/contact/contact_writing.py - Contact Evaluation
src/dexmate_writing/contact/evaluate_contact.py - Contact Renderer
src/dexmate_writing/contact/render_contact.py - Station Fetch
src/dexmate_writing/contact/fetch_station.py
G1 Contact
- G1 Model Fetch
src/dexmate_writing/g1/fetch.py - G1 Writing Run
src/dexmate_writing/g1/write.py - G1 Renderer
src/dexmate_writing/g1/render.py
Kinematic Demo
- Legacy CLI
src/dexmate_writing/cli.py - Kinematic Writing
src/dexmate_writing/handwriting.py - Trajectory Validation
src/dexmate_writing/validation.py
Shared Runtime
- Model Contract
src/dexmate_writing/model_contract.py
Other components
- User
- Model Release
Connections 19
- User → Contact CLI: submits text
README.md - Contact CLI → ASCII Layout: lays out
src/dexmate_writing/contact/cli.py - Contact CLI → Reference Planning: runs planning
src/dexmate_writing/contact/cli.py - Contact CLI → Reference Smoothing: runs smoothing
src/dexmate_writing/contact/cli.py - Contact CLI → Contact Rollout: runs simulation
src/dexmate_writing/contact/cli.py - Contact CLI → Contact Evaluation: runs evaluation
src/dexmate_writing/contact/cli.py - Contact CLI → Contact Renderer: runs rendering
src/dexmate_writing/contact/cli.py - User → Station Fetch: requests station
README.md - Station Fetch → Model Release: fetches assets
README.md - User → G1 Model Fetch: requests model
README.md - G1 Model Fetch → Model Release: fetches assets
README.md - User → G1 Writing Run: submits text
README.md - G1 Writing Run → ASCII Layout: uses layout
src/dexmate_writing/g1/write.py - User → G1 Renderer: requests rendering
README.md - User → Legacy CLI: selects demo
README.md - Legacy CLI → Kinematic Writing: builds or solves
src/dexmate_writing/cli.py - Legacy CLI → Trajectory Validation: validates trajectory
src/dexmate_writing/cli.py - Legacy CLI → Model Contract: checks model
src/dexmate_writing/cli.py - Trajectory Validation → Model Contract: checks model
src/dexmate_writing/validation.py