Spaces:
Sleeping
Sleeping
Commit History
-
Add PowerShell CLI escape hatch + Streamlit diagnostic fallback
The deployed Streamlit Cloud worker keeps blanking on every interaction even after the GUI was reconciled with the real SimulationRequest / TrajectorySpec contract --- the issue is now almost certainly in Streamlit Cloud's runtime, not in the Python script. Render, Cloudflare Pages, Supabase, and GitHub Actions are all green; only the Streamlit worker is unreliable. This commit lands two escape hatches plus one diagnostic toggle so the user is not blocked by the Cloud-side flakiness: scripts/run_simulation.py PowerShell-friendly local driver: python scripts/run_simulation.py --robot ipanema_class --kind circle produces every plot the Streamlit GUI would have shown, plus a timeseries CSV and a manifest with the git hash, into ./out/<robot>-<kind>-<timestamp>/. Each plot is wrapped in its own try/except so a single render failure does not drop the others. scripts/call_render.ps1 PowerShell wrapper around the live FastAPI on Render: .\scripts\call_render.…6045fb3
-
Initial commit: cdpr Phases 1-7 + deployment scaffolding
Scientific core (Phase 1): - Pose/Twist/Wrench primitives, SE(3) algebra - Robot configuration (anchors, attachments, inertia, cable limits) - Inverse + forward kinematics, structure matrix - Tension distribution (bounded QP), wrench feasibility - Three per-cable physics: massless, linear-elastic, Irvine catenary - Rigid-body Newton-Euler dynamics, RK4 + semi-implicit integrators - Workspace analysis (WCW, WFW, voxel grid) - Parametric trajectories with retiming - Reference robot catalogue (IPAnema-class, CoGiRo-class) Visualisation + ingestion + reports (Phase 2): - 2D analytics, 3D scene with tension heatmap and singularity indicator - Animation (playback, frame stepping, live streaming) with MP4/GIF export - Workspace volume rendering - Experiment recording (CSV + JSON metadata + reproducibility manifest) - Replay engine + dataset comparison - Publication-grade reports: LaTeX figures, booktabs tables, Markdown - FastAPI service + Streamlit research console - Optional external-physi…5f38e95