diff --git a/DriveBase/src/Robot.cpp b/DriveBase/src/Robot.cpp index ae5a399..55350c5 100644 --- a/DriveBase/src/Robot.cpp +++ b/DriveBase/src/Robot.cpp @@ -16,10 +16,12 @@ * controlled motor. * */ -class Robot: public IterativeRobot { +class Robot: public IterativeRobot +{ +private: CANTalon r1_drive, r2_drive, - l1_drive, l2_drive, - shooter1, shooter2; + l1_drive, l2_drive, + shooter1, shooter2; TankDrive drive; Shooter shooter; Joystick rstick, lstick; @@ -28,6 +30,12 @@ class Robot: public IterativeRobot { // The talon only receives control packets every 10ms. //double kUpdatePeriod = 0.010; + void LogData() + { + static PowerDistributionPanel pdp; + static DriverStation* ds = + } + public: Robot() : r1_drive(1), // right wheel 1