1516X High Stakes 2.0
Codebase for 1516X High Stakes season
Loading...
Searching...
No Matches
ladybrown.h
Go to the documentation of this file.
1#pragma once
2
3#include "lemlib/pid.hpp"
4namespace Robot {
5
9class LadyBrown {
10public:
11 // The ENUM associates with each location of the rotation sensor for the LadyBrown to move.
13
14 void run(bool async = true, int timeout = 1000);
15
16 void MoveToPoint(LadyBrown::LADYBROWN_STATE state, int max_error = 150, int timeout = 1000);
17
18 LadyBrown();
19
20 int get_target();
21
22private:
23 lemlib::PID MoveToPointPID;
24
26
27 int target;
28
30};
31} // namespace Robot
void run(bool async=true, int timeout=1000)
Definition ladybrown.cpp:20
lemlib::PID MoveToPointPID
Definition ladybrown.h:23
static LADYBROWN_STATE current_state
Definition ladybrown.h:25
void MoveToPoint(LadyBrown::LADYBROWN_STATE state, int max_error=150, int timeout=1000)
Definition ladybrown.cpp:72
Definition auton.h:10