Changed a few variable nemes in the lift rotation file.

I also changed the lift reset function and the auton lift control to instead of looking at the array they will just set the lift target to the specified value.
This commit is contained in:
Carter Essen committed 2026-11-22 20:31:41 -05:00
1 parent ecebf87643
commit 83ac6ad184
3 files changed
+12 -48

No files matched your search

@@ -82,7 +82,6 @@ namespace ez{
float liftKP;
public:
int liftHeight; // Current height of the lift in centdegrees
int currLiftState;
int liftTarget;
float liftError;
@@ -92,7 +91,7 @@ namespace ez{
LiftMech(std::initializer_list<int> _liftStates, int _numLiftStates); // Constructor to initialze array and amount of values in array.
void lift_driver_control(enum ControllerR, enum ButtonsR);
void lift_auton_control(int pickState);
void lift_auton_control(long pickedHeight);
void cycle_states();
void reset_state();
void lift_control(); // Computes the velocity for the lift to move at.