started migrating LogData() from last year. not operational

This commit is contained in:
Aidan Ferguson 2016-02-08 18:43:18 -05:00
parent d9137085c3
commit 370dc154c6

View File

@ -16,7 +16,9 @@
* controlled motor. * controlled motor.
* *
*/ */
class Robot: public IterativeRobot { class Robot: public IterativeRobot
{
private:
CANTalon r1_drive, r2_drive, CANTalon r1_drive, r2_drive,
l1_drive, l2_drive, l1_drive, l2_drive,
shooter1, shooter2; shooter1, shooter2;
@ -28,6 +30,12 @@ class Robot: public IterativeRobot {
// The talon only receives control packets every 10ms. // The talon only receives control packets every 10ms.
//double kUpdatePeriod = 0.010; //double kUpdatePeriod = 0.010;
void LogData()
{
static PowerDistributionPanel pdp;
static DriverStation* ds =
}
public: public:
Robot() : Robot() :
r1_drive(1), // right wheel 1 r1_drive(1), // right wheel 1