6 Commits
Author SHA1 Message Date
Carter Essen 83ac6ad184 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.
2026-11-22 20:31:41 -05:00
Carter 7bf206c454 I uncoommented all the code to use the lift with the rotation sensor. Next I need to make it more usable and intuitive to setup. 2026-11-17 21:10:18 -05:00
Carter 94f88d09d6 First I changed the names for the mechanisms to match the current robot setup. I then made a new header file for the mechansims and a new cpp file for the mechanisms. The mechanisms now work the same way a piston works by allowing you to call the functions and input all the different variables inline. I also had to comment out all the old rotation code because of the changed names and not actually useing them, for now i'm just going to keep all the code where it is so I can look back on it for the future. 2026-11-04 16:59:34 -05:00
Carter 24ee947fd5 Fixed a problem where the OPControl was trying to pull values from an array that never had any values to begin with
causeing a segmentation fault and crashing the brain.
Also changed how the function lift_range_finder worked.  Instead of just makeing a variable eqaul to a number it also returns the value
so we can use it outside of the function.
We also added actual values to all the arrays.
2026-09-09 13:29:07 -04:00
Carter 6d79b61626 Added a way to control the arm, lift, and wrist mechanisms.
Made the arm check the height of the lift and move to a different state based on the height of the lift
and made the wrist move a specific amount only when the arm passes a threshold.
Added new functions that allow me to quickly change the controller and buttons being used to control
different mechanisms.
Added a new function specificly for autonomouse which allows me to select the desired positon of every
mechanism.
Changed the name of almost every function and enumeration to better match the rest of the program.
2026-09-05 19:01:14 -04:00
Carter b7af93220d Made a new pneumatics class and implemented it in driver control, also made a few different classes for the rotation sensors. Got all the rotation classes implemented with connection to the physical rotation sensors and the motors. Added another controller to be implemented later. 2026-09-02 20:20:52 -04:00