update lib

This commit is contained in:
ary 2023-09-27 09:58:38 -04:00
parent cfbc204bbd
commit cba2244024
2 changed files with 2 additions and 2 deletions

View File

@ -511,7 +511,7 @@ class Drive {
* \param toggle_heading
* toggle for heading correction
*/
void set_drive_pid(double target, int speed, bool slew_on = false, bool toggle_heading = true);
void set_drive(double target, int speed, bool slew_on = false, bool toggle_heading = true);
/**
* Sets the robot to turn using PID.

View File

@ -38,7 +38,7 @@ int Drive::get_swing_min() { return swing_min; }
e_mode Drive::get_mode() { return mode; }
// Set drive PID
void Drive::set_drive_pid(double target, int speed, bool slew_on, bool toggle_heading) {
void Drive::set_drive(double target, int speed, bool slew_on, bool toggle_heading) {
TICK_PER_INCH = get_tick_per_inch();
// Print targets