Team5830 / 2022-Rapid-React

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

Make Move and Turn commands relative #18

Closed asteele11 closed 2 years ago

asteele11 commented 2 years ago

The "Move" command and the "Turn" command both use fixed values instead of moving relative to the current position. In order to make the robot move a distance from it's current position we should add a new command that takes the distance to move and adds it to the current position from the encoder before calling the existing Move command.