frc-docs icon indicating copy to clipboard operation
frc-docs copied to clipboard

Controls Tutorial for Motion Profiling

Open gerth2 opened this issue 1 year ago • 3 comments

Using vertical elevator as the driving example for now

Entering draft PR for comments.

Will update as functionality is added

gerth2 avatar Mar 01 '24 21:03 gerth2

Question for the group.

TrapezoidProfile from wpimath (or something similar) is needed to complete this PR.

Two options for how to generate it without blowing up scope:

  1. rewrite by hand in .js
  2. Use something like https://www.codeconvert.ai/app to auto-convert with some fixup.

AI code ownership can be fraught in a corporate context, but I'm not sure how much that applies in open source. Thoughts on the risk before we move forward with 2 over 1? I'm fine with either.

Note, as mentioned in the past, a nifty thing would be a webasm build of wpimath that we build these sims around. But that's still a longer lead-time item.

gerth2 avatar Mar 08 '24 03:03 gerth2

Two options for how to generate it without blowing up scope:

1. rewrite by hand in .js

2. Use something like https://www.codeconvert.ai/app to auto-convert with some fixup.

Or https://github.com/wpilibsuite/frc-docs/issues/1831

sciencewhiz avatar Mar 13 '24 03:03 sciencewhiz