From a82607256ee2bbced7674c1d0eb694c748a5fa36 Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Sat, 7 Feb 2015 13:28:08 -0500 Subject: [PATCH] Added vim modelines --- CommandBase.cpp | 1 + CommandBase.h | 1 + Commands/Autonomous/AutoDrive.cpp | 1 + Commands/Autonomous/AutoDrive.h | 1 + Commands/Autonomous/Autonomous.cpp | 1 + Commands/Autonomous/Autonomous.h | 1 + Commands/Collector/CloseCollector.cpp | 1 + Commands/Collector/CloseCollector.h | 1 + Commands/Collector/CollectTote.cpp | 1 + Commands/Collector/CollectTote.h | 1 + Commands/Collector/OpenCollector.cpp | 1 + Commands/Collector/OpenCollector.h | 1 + Commands/Collector/ReleaseTote.cpp | 1 + Commands/Collector/ReleaseTote.h | 1 + Commands/Drivetrain/Drive.cpp | 1 + Commands/Drivetrain/Drive.h | 1 + Commands/Elevator/Calibrate.cpp | 1 + Commands/Elevator/Calibrate.h | 1 + Commands/Elevator/Lower.cpp | 1 + Commands/Elevator/Lower.h | 1 + Commands/Elevator/Raise.cpp | 1 + Commands/Elevator/Raise.h | 1 + DentRobot.cpp | 3 ++- OI.cpp | 1 + OI.h | 1 + RobotMap.h | 1 + Subsystems/Collector.cpp | 1 + Subsystems/Collector.h | 1 + Subsystems/Drivetrain.cpp | 1 + Subsystems/Drivetrain.h | 1 + Subsystems/Elevator.cpp | 1 + Subsystems/Elevator.h | 1 + 32 files changed, 33 insertions(+), 1 deletion(-) diff --git a/CommandBase.cpp b/CommandBase.cpp index c09ffd6..90e3d27 100644 --- a/CommandBase.cpp +++ b/CommandBase.cpp @@ -16,3 +16,4 @@ void CommandBase::init(){ elevator = new Elevator(); oi = new OI(); } +// vim: ts2:sw=2:et diff --git a/CommandBase.h b/CommandBase.h index a0e5d05..c1cb716 100644 --- a/CommandBase.h +++ b/CommandBase.h @@ -19,3 +19,4 @@ class CommandBase: public Command { static OI *oi; }; #endif +// vim: ts2:sw=2:et diff --git a/Commands/Autonomous/AutoDrive.cpp b/Commands/Autonomous/AutoDrive.cpp index 0eb43d6..511039f 100644 --- a/Commands/Autonomous/AutoDrive.cpp +++ b/Commands/Autonomous/AutoDrive.cpp @@ -20,3 +20,4 @@ void AutoDrive::End(){ void AutoDrive::Interrupted(){ End(); } +// vim: ts2:sw=2:et diff --git a/Commands/Autonomous/AutoDrive.h b/Commands/Autonomous/AutoDrive.h index f7538b2..eaab4a2 100644 --- a/Commands/Autonomous/AutoDrive.h +++ b/Commands/Autonomous/AutoDrive.h @@ -16,3 +16,4 @@ class AutoDrive: public Command{ void Interrupted(); }; #endif +// vim: ts2:sw=2:et diff --git a/Commands/Autonomous/Autonomous.cpp b/Commands/Autonomous/Autonomous.cpp index a57859a..93aced5 100644 --- a/Commands/Autonomous/Autonomous.cpp +++ b/Commands/Autonomous/Autonomous.cpp @@ -6,3 +6,4 @@ Autonomous::Autonomous(){ AddSequential(new AutoDrive()); AddSequential(new Raise()); } +// vim: ts2:sw=2:et diff --git a/Commands/Autonomous/Autonomous.h b/Commands/Autonomous/Autonomous.h index 52161e0..88cf308 100644 --- a/Commands/Autonomous/Autonomous.h +++ b/Commands/Autonomous/Autonomous.h @@ -11,3 +11,4 @@ class Autonomous: public CommandGroup{ Autonomous(); }; #endif +// vim: ts2:sw=2:et diff --git a/Commands/Collector/CloseCollector.cpp b/Commands/Collector/CloseCollector.cpp index ffebfb3..3b7a866 100644 --- a/Commands/Collector/CloseCollector.cpp +++ b/Commands/Collector/CloseCollector.cpp @@ -17,3 +17,4 @@ void CloseCollector::End(){ void CloseCollector::Interrupted(){ End(); } +// vim: ts2:sw=2:et diff --git a/Commands/Collector/CloseCollector.h b/Commands/Collector/CloseCollector.h index 3042699..6be493a 100644 --- a/Commands/Collector/CloseCollector.h +++ b/Commands/Collector/CloseCollector.h @@ -17,3 +17,4 @@ class CloseCollector: public Command{ }; #endif +// vim: ts2:sw=2:et diff --git a/Commands/Collector/CollectTote.cpp b/Commands/Collector/CollectTote.cpp index e7fad0f..cbd5923 100644 --- a/Commands/Collector/CollectTote.cpp +++ b/Commands/Collector/CollectTote.cpp @@ -19,3 +19,4 @@ void CollectTote::End(){ void CollectTote::Interrupted(){ End(); } +// vim: ts2:sw=2:et diff --git a/Commands/Collector/CollectTote.h b/Commands/Collector/CollectTote.h index c06fac3..de2d7db 100644 --- a/Commands/Collector/CollectTote.h +++ b/Commands/Collector/CollectTote.h @@ -17,3 +17,4 @@ class CollectTote: public Command{ }; #endif +// vim: ts2:sw=2:et diff --git a/Commands/Collector/OpenCollector.cpp b/Commands/Collector/OpenCollector.cpp index 27e94ed..1ec498e 100644 --- a/Commands/Collector/OpenCollector.cpp +++ b/Commands/Collector/OpenCollector.cpp @@ -18,3 +18,4 @@ void OpenCollector::End(){ void OpenCollector::Interrupted(){ End(); } +// vim: ts2:sw=2:et diff --git a/Commands/Collector/OpenCollector.h b/Commands/Collector/OpenCollector.h index c75b20b..47ae5f5 100644 --- a/Commands/Collector/OpenCollector.h +++ b/Commands/Collector/OpenCollector.h @@ -17,3 +17,4 @@ class OpenCollector: public Command{ }; #endif +// vim: ts2:sw=2:et diff --git a/Commands/Collector/ReleaseTote.cpp b/Commands/Collector/ReleaseTote.cpp index 0ee9ce1..222cfe7 100644 --- a/Commands/Collector/ReleaseTote.cpp +++ b/Commands/Collector/ReleaseTote.cpp @@ -20,3 +20,4 @@ void ReleaseTote::End(){ void ReleaseTote::Interrupted(){ End(); } +// vim: ts2:sw=2:et diff --git a/Commands/Collector/ReleaseTote.h b/Commands/Collector/ReleaseTote.h index deacad9..521b7da 100644 --- a/Commands/Collector/ReleaseTote.h +++ b/Commands/Collector/ReleaseTote.h @@ -17,3 +17,4 @@ class ReleaseTote: public Command{ }; #endif +// vim: ts2:sw=2:et diff --git a/Commands/Drivetrain/Drive.cpp b/Commands/Drivetrain/Drive.cpp index 6d39788..b6bb601 100644 --- a/Commands/Drivetrain/Drive.cpp +++ b/Commands/Drivetrain/Drive.cpp @@ -33,3 +33,4 @@ void Drive::End(){ void Drive::Interrupted(){ End(); } +// vim: ts2:sw=2:et diff --git a/Commands/Drivetrain/Drive.h b/Commands/Drivetrain/Drive.h index 4ecc4eb..17583fa 100644 --- a/Commands/Drivetrain/Drive.h +++ b/Commands/Drivetrain/Drive.h @@ -16,3 +16,4 @@ class Drive: public Command{ void Interrupted(); }; #endif +// vim: ts2:sw=2:et diff --git a/Commands/Elevator/Calibrate.cpp b/Commands/Elevator/Calibrate.cpp index 55ff8b0..87f2c25 100644 --- a/Commands/Elevator/Calibrate.cpp +++ b/Commands/Elevator/Calibrate.cpp @@ -23,3 +23,4 @@ void Calibrate::End(){ void Calibrate::Interrupted(){ End(); } +// vim: ts2:sw=2:et diff --git a/Commands/Elevator/Calibrate.h b/Commands/Elevator/Calibrate.h index 72fdbed..5d70334 100644 --- a/Commands/Elevator/Calibrate.h +++ b/Commands/Elevator/Calibrate.h @@ -14,3 +14,4 @@ class Calibrate: public Command{ void Interrupted(); }; #endif +// vim: ts2:sw=2:et diff --git a/Commands/Elevator/Lower.cpp b/Commands/Elevator/Lower.cpp index 03cf6eb..ca38e6a 100644 --- a/Commands/Elevator/Lower.cpp +++ b/Commands/Elevator/Lower.cpp @@ -22,3 +22,4 @@ void Lower::End(){ void Lower::Interrupted(){ End(); } +// vim: ts2:sw=2:et diff --git a/Commands/Elevator/Lower.h b/Commands/Elevator/Lower.h index 1f39059..3a83b57 100644 --- a/Commands/Elevator/Lower.h +++ b/Commands/Elevator/Lower.h @@ -14,3 +14,4 @@ class Lower: public Command{ void Interrupted(); }; #endif +// vim: ts2:sw=2:et diff --git a/Commands/Elevator/Raise.cpp b/Commands/Elevator/Raise.cpp index 1bbccba..ab41f45 100644 --- a/Commands/Elevator/Raise.cpp +++ b/Commands/Elevator/Raise.cpp @@ -22,3 +22,4 @@ void Raise::End(){ void Raise::Interrupted(){ End(); } +// vim: ts2:sw=2:et diff --git a/Commands/Elevator/Raise.h b/Commands/Elevator/Raise.h index 8960dd8..abc519b 100644 --- a/Commands/Elevator/Raise.h +++ b/Commands/Elevator/Raise.h @@ -15,3 +15,4 @@ class Raise: public Command{ }; #endif +// vim: ts2:sw=2:et diff --git a/DentRobot.cpp b/DentRobot.cpp index 14cf442..77c6a8f 100644 --- a/DentRobot.cpp +++ b/DentRobot.cpp @@ -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 diff --git a/OI.cpp b/OI.cpp index e5576c9..876143d 100644 --- a/OI.cpp +++ b/OI.cpp @@ -29,3 +29,4 @@ Joystick* OI::GetRightStick(){ Joystick* OI::GetLeftStick(){ return leftStick; } +// vim: ts2:sw=2:et diff --git a/OI.h b/OI.h index e89ec0a..6bdbe19 100644 --- a/OI.h +++ b/OI.h @@ -13,3 +13,4 @@ class OI Joystick* GetLeftStick(); }; #endif +// vim: ts2:sw=2:et diff --git a/RobotMap.h b/RobotMap.h index eb0a2c7..3e866a5 100644 --- a/RobotMap.h +++ b/RobotMap.h @@ -25,3 +25,4 @@ #define COLLECTOR_RIGHT_CAN 9 #endif +// vim: ts2:sw=2:et diff --git a/Subsystems/Collector.cpp b/Subsystems/Collector.cpp index e039511..fbcca5d 100644 --- a/Subsystems/Collector.cpp +++ b/Subsystems/Collector.cpp @@ -26,3 +26,4 @@ bool Collector::BoxCollected(){ return false; //return boxSwitch->Get(); } +// vim: ts2:sw=2:et diff --git a/Subsystems/Collector.h b/Subsystems/Collector.h index cf6b23c..24dcc1d 100644 --- a/Subsystems/Collector.h +++ b/Subsystems/Collector.h @@ -15,3 +15,4 @@ class Collector: public Subsystem bool BoxCollected(); }; #endif +// vim: ts2:sw=2:et diff --git a/Subsystems/Drivetrain.cpp b/Subsystems/Drivetrain.cpp index 80df4e7..7db8487 100644 --- a/Subsystems/Drivetrain.cpp +++ b/Subsystems/Drivetrain.cpp @@ -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 diff --git a/Subsystems/Drivetrain.h b/Subsystems/Drivetrain.h index 81a5168..b4114b4 100644 --- a/Subsystems/Drivetrain.h +++ b/Subsystems/Drivetrain.h @@ -13,3 +13,4 @@ class Drivetrain: public Subsystem{ void DriveArcade(float, float); }; #endif +// vim: ts2:sw=2:et diff --git a/Subsystems/Elevator.cpp b/Subsystems/Elevator.cpp index 1616321..281fb5e 100644 --- a/Subsystems/Elevator.cpp +++ b/Subsystems/Elevator.cpp @@ -30,3 +30,4 @@ bool Elevator::GetElevatorBottom(){ bool Elevator::GetElevatorTop(){ return elevatorTop->Get(); } +// vim: ts2:sw=2:et diff --git a/Subsystems/Elevator.h b/Subsystems/Elevator.h index 1d8a771..44c57de 100644 --- a/Subsystems/Elevator.h +++ b/Subsystems/Elevator.h @@ -21,3 +21,4 @@ class Elevator{ bool GetElevatorBottom(); }; #endif +// vim: ts2:sw=2:et