mirror of
https://github.com/team2059/Dent
synced 2024-12-18 20:52:29 -05:00
Added vim modelines
This commit is contained in:
parent
1f6f1cf239
commit
a82607256e
@ -16,3 +16,4 @@ void CommandBase::init(){
|
||||
elevator = new Elevator();
|
||||
oi = new OI();
|
||||
}
|
||||
// vim: ts2:sw=2:et
|
||||
|
@ -19,3 +19,4 @@ class CommandBase: public Command {
|
||||
static OI *oi;
|
||||
};
|
||||
#endif
|
||||
// vim: ts2:sw=2:et
|
||||
|
@ -20,3 +20,4 @@ void AutoDrive::End(){
|
||||
void AutoDrive::Interrupted(){
|
||||
End();
|
||||
}
|
||||
// vim: ts2:sw=2:et
|
||||
|
@ -16,3 +16,4 @@ class AutoDrive: public Command{
|
||||
void Interrupted();
|
||||
};
|
||||
#endif
|
||||
// vim: ts2:sw=2:et
|
||||
|
@ -6,3 +6,4 @@ Autonomous::Autonomous(){
|
||||
AddSequential(new AutoDrive());
|
||||
AddSequential(new Raise());
|
||||
}
|
||||
// vim: ts2:sw=2:et
|
||||
|
@ -11,3 +11,4 @@ class Autonomous: public CommandGroup{
|
||||
Autonomous();
|
||||
};
|
||||
#endif
|
||||
// vim: ts2:sw=2:et
|
||||
|
@ -17,3 +17,4 @@ void CloseCollector::End(){
|
||||
void CloseCollector::Interrupted(){
|
||||
End();
|
||||
}
|
||||
// vim: ts2:sw=2:et
|
||||
|
@ -17,3 +17,4 @@ class CloseCollector: public Command{
|
||||
};
|
||||
|
||||
#endif
|
||||
// vim: ts2:sw=2:et
|
||||
|
@ -19,3 +19,4 @@ void CollectTote::End(){
|
||||
void CollectTote::Interrupted(){
|
||||
End();
|
||||
}
|
||||
// vim: ts2:sw=2:et
|
||||
|
@ -17,3 +17,4 @@ class CollectTote: public Command{
|
||||
};
|
||||
|
||||
#endif
|
||||
// vim: ts2:sw=2:et
|
||||
|
@ -18,3 +18,4 @@ void OpenCollector::End(){
|
||||
void OpenCollector::Interrupted(){
|
||||
End();
|
||||
}
|
||||
// vim: ts2:sw=2:et
|
||||
|
@ -17,3 +17,4 @@ class OpenCollector: public Command{
|
||||
};
|
||||
|
||||
#endif
|
||||
// vim: ts2:sw=2:et
|
||||
|
@ -20,3 +20,4 @@ void ReleaseTote::End(){
|
||||
void ReleaseTote::Interrupted(){
|
||||
End();
|
||||
}
|
||||
// vim: ts2:sw=2:et
|
||||
|
@ -17,3 +17,4 @@ class ReleaseTote: public Command{
|
||||
};
|
||||
|
||||
#endif
|
||||
// vim: ts2:sw=2:et
|
||||
|
@ -33,3 +33,4 @@ void Drive::End(){
|
||||
void Drive::Interrupted(){
|
||||
End();
|
||||
}
|
||||
// vim: ts2:sw=2:et
|
||||
|
@ -16,3 +16,4 @@ class Drive: public Command{
|
||||
void Interrupted();
|
||||
};
|
||||
#endif
|
||||
// vim: ts2:sw=2:et
|
||||
|
@ -23,3 +23,4 @@ void Calibrate::End(){
|
||||
void Calibrate::Interrupted(){
|
||||
End();
|
||||
}
|
||||
// vim: ts2:sw=2:et
|
||||
|
@ -14,3 +14,4 @@ class Calibrate: public Command{
|
||||
void Interrupted();
|
||||
};
|
||||
#endif
|
||||
// vim: ts2:sw=2:et
|
||||
|
@ -22,3 +22,4 @@ void Lower::End(){
|
||||
void Lower::Interrupted(){
|
||||
End();
|
||||
}
|
||||
// vim: ts2:sw=2:et
|
||||
|
@ -14,3 +14,4 @@ class Lower: public Command{
|
||||
void Interrupted();
|
||||
};
|
||||
#endif
|
||||
// vim: ts2:sw=2:et
|
||||
|
@ -22,3 +22,4 @@ void Raise::End(){
|
||||
void Raise::Interrupted(){
|
||||
End();
|
||||
}
|
||||
// vim: ts2:sw=2:et
|
||||
|
@ -15,3 +15,4 @@ class Raise: public Command{
|
||||
};
|
||||
|
||||
#endif
|
||||
// vim: ts2:sw=2:et
|
||||
|
@ -14,7 +14,7 @@ DentRobot::DentRobot(){
|
||||
printf("Initialized");
|
||||
}
|
||||
void DentRobot::RobotInit(){
|
||||
SmartDashboard::PutNumber("CodeVersion",0.001);
|
||||
SmartDashboard::PutNumber("CodeVersion",0.001);
|
||||
}
|
||||
void DentRobot::DisabledPeriodic(){
|
||||
Scheduler::GetInstance()->Run();
|
||||
@ -38,3 +38,4 @@ void DentRobot::TeleopPeriodic(){
|
||||
void DentRobot::TestPeriodic(){
|
||||
}
|
||||
START_ROBOT_CLASS(DentRobot);
|
||||
// vim: ts2:sw=2:et
|
||||
|
1
OI.cpp
1
OI.cpp
@ -29,3 +29,4 @@ Joystick* OI::GetRightStick(){
|
||||
Joystick* OI::GetLeftStick(){
|
||||
return leftStick;
|
||||
}
|
||||
// vim: ts2:sw=2:et
|
||||
|
@ -25,3 +25,4 @@
|
||||
#define COLLECTOR_RIGHT_CAN 9
|
||||
|
||||
#endif
|
||||
// vim: ts2:sw=2:et
|
||||
|
@ -26,3 +26,4 @@ bool Collector::BoxCollected(){
|
||||
return false;
|
||||
//return boxSwitch->Get();
|
||||
}
|
||||
// vim: ts2:sw=2:et
|
||||
|
@ -15,3 +15,4 @@ class Collector: public Subsystem
|
||||
bool BoxCollected();
|
||||
};
|
||||
#endif
|
||||
// vim: ts2:sw=2:et
|
||||
|
@ -20,3 +20,4 @@ void Drivetrain::DriveMecanum(float x, float y, float z, float sensitivity, floa
|
||||
rightRear->Set((correctX + correctY - correctZ));
|
||||
leftRear->Set((-correctX + correctY + correctZ)*-1);
|
||||
}
|
||||
// vim: ts2:sw=2:et
|
||||
|
@ -13,3 +13,4 @@ class Drivetrain: public Subsystem{
|
||||
void DriveArcade(float, float);
|
||||
};
|
||||
#endif
|
||||
// vim: ts2:sw=2:et
|
||||
|
@ -30,3 +30,4 @@ bool Elevator::GetElevatorBottom(){
|
||||
bool Elevator::GetElevatorTop(){
|
||||
return elevatorTop->Get();
|
||||
}
|
||||
// vim: ts2:sw=2:et
|
||||
|
@ -21,3 +21,4 @@ class Elevator{
|
||||
bool GetElevatorBottom();
|
||||
};
|
||||
#endif
|
||||
// vim: ts2:sw=2:et
|
||||
|
Loading…
Reference in New Issue
Block a user