Team5830 / 2022-Rapid-React

Team 5830's robot code for FIRST Rapid React (2022)
MIT License
0 stars 0 forks source link

Turn PID command #13

Closed asteele11 closed 2 years ago

asteele11 commented 2 years ago

We need to create commands to allow us to make the robot follow a path. The two basic commands we will need are to move forward or backward a distance and to turn to an angle. Both of these can be PID feedback commands. The encoders will be used for the move command and the gyro for the turn command. An description of how to do this, along with an example is here:

https://docs.wpilib.org/en/stable/docs/software/commandbased/pid-subsystems-commands.html