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.
This commit is contained in:
1 parent
b7af93220d
commit
0e8b70cf39
8 files changed
+17
-10
No files matched your search
+3
-3
@@ -9,8 +9,8 @@ WristMech wristObj;
|
||||
// Chassis constructor
|
||||
ez::Drive chassis(
|
||||
// These are your drive motors, the first motor is used for sensing!
|
||||
{-1, -2}, // Left Chassis Ports (negative port will reverse it!)
|
||||
{3, 4}, // Right Chassis Ports (negative port will reverse it!)
|
||||
{12, 14}, // Left Chassis Ports (negative port will reverse it!)
|
||||
{-11, -13}, // Right Chassis Ports (negative port will reverse it!)
|
||||
|
||||
21, // IMU Port
|
||||
3.25, // Wheel Diameter (Remember, 4" wheels without screw holes are actually 4.125!)
|
||||
@@ -284,7 +284,7 @@ void opcontrol() {
|
||||
|
||||
// Call custom drive functions here
|
||||
pistonControl.control_piston(Pistons::claw_piston, ControlPeriod::driver,
|
||||
Controller::master, Buttons::arrow_buttons);
|
||||
Controller::slave, Buttons::arrow_buttons);
|
||||
|
||||
// chassis.opcontrol_tank(); // Tank control
|
||||
chassis.opcontrol_arcade_standard(ez::SPLIT); // Standard split arcade
|
||||
|
||||
Reference in new issue
Block a user