Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build parametric Choreo auto based on measurements that can be taken on a real field #50

Open
nlaverdure opened this issue Jan 18, 2025 · 1 comment

Comments

@nlaverdure
Copy link
Member

nlaverdure commented Jan 18, 2025

Exploit Choreo's ability to define variables to make a parametric auto that can be stretched or shrunk when measurements are taken of the actual playing field at our events.

To improve user experience, we have replaced almost every number input in the application with mathematical expression inputs, powered by mathJS. MathJS has full dimensional analysis awareness, allowing inputs to be specified in whichever unit you like, and rejecting inputs that are not dimensionally correct. Choreo will also save the expression as you typed it, instead of evaluating and discarding it at the moment of submission.

Furthermore, Choreo allows you to define a project-wide set of variables that can be substituted into any appropriate expression in the project. Variables can be defined as single numbers with a variety of dimensions, but Choreo also has aggregate variables to organize the x, y, and heading components of an important pose.

Choose a set of measurements that are quick and easy to take with a measuring tape.

Only add as many measurements that are needed to define the parametric auto.

In case there is not enough time to take all measurements, prioritize the measurements to be taken, ordered by how much our autos are sensitive to error in each measurement.

@nlaverdure
Copy link
Member Author

See SleipnirGroup/Choreo#297

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

No branches or pull requests

1 participant