2
0
mirror of https://github.com/team2059/Dent synced 2024-12-18 20:52:29 -05:00

Fixed drivecheck motor var

This commit is contained in:
Adam Long 2015-02-13 16:08:19 +00:00
parent e657226af5
commit fb7734f443
3 changed files with 3 additions and 2 deletions

View File

@ -5,6 +5,7 @@
#include "../../RobotMap.h"
CheckDrive::CheckDrive(int motorID) : CommandGroup("CheckDrive"){
Requires(DentRobot::drivetrain);
motor = motorID;
}
void CheckDrive::Initialize(){
SetTimeout(1.0);

View File

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

View File

@ -11,4 +11,4 @@ class CheckRobot: public CommandGroup{
CheckRobot();
};
#endif
// vim: ts2:sw=2:et
// vim: ts=2:sw=2:et