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
3namespace Robot {
4
8class LadyBrown {
9public:
16 void run();
17
18 static void edge_check(void *param);
19
20 static bool needs_warning;
21
26 void checkStop();
27
28 LadyBrown();
29
30 LadyBrown(double kP, double kI, double kD);
31
32 double pid_update();
33
37 void toggle();
38
39private:
40 double kP;
41 double kI;
42 double kD;
43
48};
49} // namespace Robot
double pid_update()
Definition ladybrown.cpp:72
static void edge_check(void *param)
Definition ladybrown.cpp:46
void run()
Runs the main function of the intake system.
Definition ladybrown.cpp:33
bool alliance_color
blue is false, red is true.
Definition ladybrown.h:47
static bool needs_warning
Definition ladybrown.h:20
void checkStop()
Checks whether the intake should stop to skip the ring depending on color. It is the embodiment of vi...
void toggle()
Toggles intake elevation.
Definition ladybrown.cpp:69
Definition auton.h:8