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.
This commit is contained in:
1 parent
24ee947fd5
commit
94f88d09d6
11 files changed
+370
-84
No files matched your search
@@ -60,6 +60,7 @@ namespace ez{
|
||||
void arm_auton_control(int pickState);
|
||||
void cycle_states();
|
||||
void reset_state();
|
||||
void hard_reset_arm(); // Once the arm hits a button the rotation sensor value is reset to 0
|
||||
void arm_control(); // Computes the velocity for the arm to move at.
|
||||
|
||||
void set_arm_kp(float _armKP);
|
||||
|
||||
Reference in new issue
Block a user