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.
main
Carter2026-09-09 13:29:07 -04:00
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.
Carter2026-09-05 19:01:14 -04:00
0e8b70cf39
Fixed a bug with how the controllers where being setup and added include paths to the pid_tuner and pid_input files, also fixed a bug where I forgot to setup the default constructor for all the new classes I made.
Carter2026-09-03 08:50:46 -04:00
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.
Carter2026-09-02 20:20:52 -04:00
bd0e77e240
Added an initialize folder in include also set up the color sorter code
Carter2026-08-17 08:53:07 -04:00
6be8dd7070
setting up the starter files
Carter2026-07-21 16:25:28 -04:00