HoloLib
High-performance holonomic (X-Drive) control library for VEX V5
Loading...
Searching...
No Matches
replay.h File Reference
#include "api.h"
#include "hololib/pose.h"
#include <functional>
#include <vector>

Go to the source code of this file.

Classes

struct  ReplayData
 A snapshot of joystick and pose data for macro recording/playback. More...
 
struct  ControllerButton
 Links a controller button to a lambda callback function. More...
 

Variables

std::vector< ControllerButtoncontrollerButtons
 List of predefined controller button callbacks.
 

Variable Documentation

◆ controllerButtons

std::vector<ControllerButton> controllerButtons
inline
Initial value:
{
{pros::E_CONTROLLER_DIGITAL_UP, []() {}},
{pros::E_CONTROLLER_DIGITAL_DOWN, []() {}},
{pros::E_CONTROLLER_DIGITAL_LEFT, []() {}},
{pros::E_CONTROLLER_DIGITAL_RIGHT, []() {}},
{pros::E_CONTROLLER_DIGITAL_A, []() {}},
{pros::E_CONTROLLER_DIGITAL_B, []() {}},
{pros::E_CONTROLLER_DIGITAL_X, []() {}},
{pros::E_CONTROLLER_DIGITAL_Y, []() {}},
{pros::E_CONTROLLER_DIGITAL_L1, []() {}},
{pros::E_CONTROLLER_DIGITAL_L2, []() {}},
{pros::E_CONTROLLER_DIGITAL_R1, []() {}},
{pros::E_CONTROLLER_DIGITAL_R2, []() {}},
}

List of predefined controller button callbacks.

Definition at line 27 of file replay.h.