diff --git a/Commands/Test/CheckDrive.cpp b/Commands/Test/CheckDrive.cpp index 73aff31..d51d658 100644 --- a/Commands/Test/CheckDrive.cpp +++ b/Commands/Test/CheckDrive.cpp @@ -5,6 +5,7 @@ #include "../../RobotMap.h" CheckDrive::CheckDrive(int motorID) : CommandGroup("CheckDrive"){ Requires(DentRobot::drivetrain); + motor = motorID; } void CheckDrive::Initialize(){ SetTimeout(1.0); diff --git a/Commands/Test/CheckRobot.cpp b/Commands/Test/CheckRobot.cpp index 6d98ccd..871c51b 100644 --- a/Commands/Test/CheckRobot.cpp +++ b/Commands/Test/CheckRobot.cpp @@ -10,4 +10,4 @@ CheckRobot::CheckRobot(){ AddSequential(new CheckDrive(DRIVE_BACK_LEFT_CAN)); AddSequential(new CheckDrive(DRIVE_BACK_RIGHT_CAN)); } -// vim: ts2:sw=2:et +// vim: ts=2:sw=2:et diff --git a/Commands/Test/CheckRobot.h b/Commands/Test/CheckRobot.h index 702478d..d0df68e 100644 --- a/Commands/Test/CheckRobot.h +++ b/Commands/Test/CheckRobot.h @@ -11,4 +11,4 @@ class CheckRobot: public CommandGroup{ CheckRobot(); }; #endif -// vim: ts2:sw=2:et +// vim: ts=2:sw=2:et