|
RIT VEXU Core API
|
#include <drive_commands.h>
Public Member Functions | |
| PurePursuitCommand (TankDrive &drive_sys, Feedback &feedback, PurePursuit::Path path, directionType dir, double max_speed=1, double end_speed=0) | |
| bool | run () override |
| void | on_timeout () override |
Autocommand wrapper class for pure pursuit function in the TankDrive class
| PurePursuitCommand::PurePursuitCommand | ( | TankDrive & | drive_sys, |
| Feedback & | feedback, | ||
| PurePursuit::Path | path, | ||
| directionType | dir, | ||
| double | max_speed = 1, | ||
| double | end_speed = 0 ) |
Construct a Pure Pursuit AutoCommand
| path | The list of coordinates to follow, in order |
| dir | Run the bot forwards or backwards |
| feedback | The feedback controller determining speed |
| max_speed | Limit the speed of the robot (for pid / pidff feedbacks) |
|
override |
Reset the drive system when it times out
|
override |
Direct call to TankDrive::pure_pursuit