#include <replay.hpp>
Definition at line 10 of file replay.hpp.
◆ getControllerInput()
| static void hololib::DriverReplay::getControllerInput |
( |
pros::Controller |
master | ) |
|
|
static |
Gets controller input.
- Parameters
-
| master | The controller to get input from. |
- Returns
- void
◆ logReplayData()
| static void hololib::DriverReplay::logReplayData |
( |
pros::Controller |
master, |
|
|
int |
timeout_ms, |
|
|
std::function< Pose(bool)> |
poseGetter |
|
) |
| |
|
static |
Logs replay data to a file.
- Parameters
-
| master | The controller to get input from. |
| timeout_ms | The time to log data for. |
- Returns
- void
◆ runDriverReplay()
| static void hololib::DriverReplay::runDriverReplay |
( |
std::vector< PathPoint > |
data, |
|
|
float |
lookahead |
|
) |
| |
|
static |
Runs the driver replay.
- Parameters
-
| data | The path data to use for the replay. |
| lookahead | The lookahead distance for the path. |
- Returns
- void