update lib (turn)

This commit is contained in:
ary 2023-09-27 10:04:55 -04:00
parent cba2244024
commit e2d70947c8
2 changed files with 2 additions and 2 deletions

View File

@ -521,7 +521,7 @@ class Drive {
* \param speed * \param speed
* 0 to 127, max speed during motion * 0 to 127, max speed during motion
*/ */
void set_turn_pid(double target, int speed); void set_turn(double target, int speed);
/** /**
* Turn using only the left or right side. * Turn using only the left or right side.

View File

@ -85,7 +85,7 @@ void Drive::set_drive(double target, int speed, bool slew_on, bool toggle_headin
} }
// Set turn PID // Set turn PID
void Drive::set_turn_pid(double target, int speed) { void Drive::set_turn(double target, int speed) {
// Print targets // Print targets
if (print_toggle) printf("Turn Started... Target Value: %f\n", target); if (print_toggle) printf("Turn Started... Target Value: %f\n", target);