DoF-6413 / chargedUp

Code base for 2023 season DOF
MIT License
3 stars 1 forks source link

Feat add ramsete controller to drive train #51

Closed alt09 closed 1 year ago

alt09 commented 1 year ago

this is a little explanation of what is a Ramsete controller and how is used https://docs.wpilib.org/en/stable/docs/software/advanced-controls/trajectories/ramsete.html this is a example to how we can use the Ramsete controller in the code in GitHub https://github.com/wpilibsuite/allwpilib/blob/main/wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/RamseteCommand.java#L154

when this is done we will be able to control our drive train using a Ramset controller that accepts a path as a argument

alt09 commented 1 year ago

its a example for a team https://github.com/team8/FRC-2022-Public/blob/main/src/main/java/com/palyrobotics/frc2022/subsystems/controllers/drive/RamseteDriveController.java#L17

El1zabethS commented 1 year ago

All variables are set up, we are just trying to get it to run now. Next step: Update motor safety.

El1zabethS commented 1 year ago

motor saftey done. make sure to add ALL values for ramsete controllers :>