update lib
This commit is contained in:
parent
cfbc204bbd
commit
cba2244024
@ -511,7 +511,7 @@ class Drive {
|
|||||||
* \param toggle_heading
|
* \param toggle_heading
|
||||||
* toggle for heading correction
|
* 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.
|
* Sets the robot to turn using PID.
|
||||||
|
|||||||
@ -38,7 +38,7 @@ int Drive::get_swing_min() { return swing_min; }
|
|||||||
e_mode Drive::get_mode() { return mode; }
|
e_mode Drive::get_mode() { return mode; }
|
||||||
|
|
||||||
// Set drive PID
|
// 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();
|
TICK_PER_INCH = get_tick_per_inch();
|
||||||
|
|
||||||
// Print targets
|
// Print targets
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user