update lib (turn)
This commit is contained in:
parent
cba2244024
commit
e2d70947c8
@ -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.
|
||||||
|
|||||||
@ -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);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user