started migrating LogData() from last year. not operational
This commit is contained in:
parent
d9137085c3
commit
370dc154c6
@ -16,10 +16,12 @@
|
|||||||
* 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;
|
||||||
TankDrive drive;
|
TankDrive drive;
|
||||||
Shooter shooter;
|
Shooter shooter;
|
||||||
Joystick rstick, lstick;
|
Joystick rstick, lstick;
|
||||||
@ -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
|
||||||
|
Reference in New Issue
Block a user