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.
This commit is contained in:
1 parent
0e8b70cf39
commit
6d79b61626
6 files changed
+457
-37
No files matched your search
@@ -30,7 +30,7 @@ inline ez::Piston claw({'G',true});
|
||||
*/
|
||||
inline pros::Rotation liftRotation({15});
|
||||
inline pros::Rotation armRotation({16});
|
||||
inline pros::Rotation wristRotatio({17});
|
||||
inline pros::Rotation wristRotation({17});
|
||||
|
||||
inline pros::Optical colorSensorOne({18});
|
||||
inline pros::Optical colorSensorTwo({19});
|
||||
|
||||
Reference in new issue
Block a user