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
1 changed files with 11 additions and 3 deletions

View File

@ -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