add the Kinematic Explorer - #13
Open
zeerekahmad wants to merge 1 commit into
Open
Conversation
A Streamlit app for visualising trajectory lattices, kinematic relationships and vehicle footprints across all three models. Every trajectory it draws comes from the C++ projectors, so the explorer and production code share one forward-simulation path rather than drifting apart. The polymath_kinematics.explorer subpackage holds pure functions - simulation, plotting, export, config and types - so they are testable without a Streamlit runtime. The app body stays in kinematic_explorer_app.py because that module *is* the Streamlit script: importing it from the console-script entry point would run every widget in bare mode before the server starts, so cli.py shells out to `streamlit run` instead. Offers geometry sliders including body overhangs, a front/rear axle reference selector, single-trajectory ramp controls, and CSV / JSON / PNG / SVG / PDF download. CI widens the wheel job to run the explorer suite, check that the subpackage imports cleanly, and start the console script headless - a healthy start is what proves the entry point does not execute the app body on import. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR: add the Kinematic Explorer
zeerekahmad/kinematic-explorerzeerekahmad/kinematics-wheel-packagingf8f0ec0Description
A Streamlit app for visualising trajectory lattices, kinematic relationships and vehicle footprints across all
three models. Every trajectory it draws comes from the C++ projectors, so the explorer and production code
share one forward-simulation path rather than drifting apart.
polymath_kinematics.explorersubpackage holds pure functions — simulation, plotting, export, configand types — so they are testable without a Streamlit runtime.
kinematic_explorer_app.pybecause that module is the Streamlit script: importingit from the console-script entry point would run every widget in bare mode before the server starts, so
cli.pyshells out tostreamlit runinstead.ramp controls, and CSV / JSON / PNG / SVG / PDF download.
console script headless — a healthy start is what proves the entry point does not execute the app body on
import.
Migration Guide
N/A — additive. The Streamlit dependency is confined to the optional
[explorer]extra.Related issues
Completeness checklist
Stack created with GitHub Stacks CLI • Give Feedback 💬