-
Notifications
You must be signed in to change notification settings - Fork 45
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
Doc Expansion #890
Doc Expansion #890
Conversation
Renamed `AutoLoop` to `AutoRoutine` Fixed `auto-routines` doc examples after removal of `TriggerExt`
…Routine` and some docs
…-> `AutoRoutine` and some docs" This reverts commit adcab05.
- changed `atTimeAndPlace` to `atTimeAndPose` - removed unused `timeOffset` member from `AutoTrajectory` - inlined some methods only used once - added easier flipping to trajectory sample fetching - added method to get the underlying trajectory of an `AutoTrajectory`
Co-authored-by: shueja <[email protected]>
Co-authored-by: shueja <[email protected]>
I like the restructuring of the .md files, but I'll want to do a final spelling/wording pass before merging this. |
Fix grammar / wording / sidebar
Co-authored-by: shueja <[email protected]>
Co-authored-by: shueja <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to use RobotContainer for all the code examples that use Robot? Since it's still in the WPILib templates many teams will still be using it and I feel this could be a source of confusion
The "Auto Controller" is a function that consumes a `Pose2d` as well as a sample (`SwerveSample` or `DifferentialSample` depending on drive base). | ||
The controller should capture your drive subsystem to directly control it. | ||
|
||
## Basic PID Controller |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This particular implementation is overkill. I think we should recommend a function in the drivebase subsystem, which captures the subsystem and PID controllers. This is how the CTRE examples work.
Approved for merge. My one remaining comment can be tackled in a later PR because the currently recommended code does work. |
requires #884 to be merged first