FRC2706 / 2020-2706-Robot-Code

The Robot Code for the 2020 FIRST Robotics Competition INFINITE RECHARGE
Other
4 stars 2 forks source link

Autonomous: Drive X distance in Y seconds #93

Closed nicojopr closed 4 years ago

nicojopr commented 4 years ago

Extends #75, Implement a drivetrain command to drive a certain distance X (forward or backward) in a preset period of time

Use the Talon closed loop control mode for setting position.

Refer to the Phoenix documentation for guidelines, and/or see how it was done in the 2019 code.

https://phoenix-documentation.readthedocs.io/en/latest/ch16_ClosedLoop.html