FRC2706 / 2020-2706-Robot-Code

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

Autonomous Command: Drive X Distance #75

Open kevlam2706 opened 4 years ago

kevlam2706 commented 4 years ago

Implement a drivetrain command to drive a certain distance X (forward or backward).

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

This may involve some PID tuning on the drivebase. Be careful :)