update lib (swing)
This commit is contained in:
parent
e2d70947c8
commit
c32e283605
@ -533,7 +533,7 @@ class Drive {
|
||||
* \param speed
|
||||
* 0 to 127, max speed during motion
|
||||
*/
|
||||
void set_swing_pid(e_swing type, double target, int speed);
|
||||
void set_swing(e_swing type, double target, int speed);
|
||||
|
||||
/**
|
||||
* Resets all PID targets to 0.
|
||||
|
||||
@ -99,7 +99,7 @@ void Drive::set_turn(double target, int speed) {
|
||||
}
|
||||
|
||||
// Set swing PID
|
||||
void Drive::set_swing_pid(e_swing type, double target, int speed) {
|
||||
void Drive::set_swing(e_swing type, double target, int speed) {
|
||||
// Print targets
|
||||
if (print_toggle) printf("Swing Started... Target Value: %f\n", target);
|
||||
current_swing = type;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user