From 9ea1e385f1d68c9a4f2ed07917809c3f2f5b4795 Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Sun, 7 Sep 2014 15:11:02 -0400 Subject: [PATCH] Added vim modelines --- build | 3 +-- configure | 1 + src/Definitions.h | 1 + src/HHBase.cpp | 1 + src/HHBase.h | 1 + src/HHRobot.cpp | 1 + src/HHRobot.h | 1 + src/Subsystems/Collector.cpp | 1 + src/Subsystems/Collector.h | 1 + src/Subsystems/Compressor.cpp | 1 + src/Subsystems/Compressor.h | 1 + src/Subsystems/Controller.cpp | 1 + src/Subsystems/Controller.h | 1 + src/Subsystems/Dashboard.cpp | 1 + src/Subsystems/Dashboard.h | 1 + src/Subsystems/Shooter.cpp | 1 + src/Subsystems/Shooter.h | 1 + src/Subsystems/Sonar.cpp | 1 + src/Subsystems/Sonar.h | 1 + 19 files changed, 19 insertions(+), 2 deletions(-) diff --git a/build b/build index 2c03942..e47bc6c 100755 --- a/build +++ b/build @@ -36,5 +36,4 @@ if sys.argv[1] == 'buildclean': if sys.argv[1] == 'deploy': deploy() - - +# vim: ts=2:sw=2:et diff --git a/configure b/configure index 4691644..2749747 100755 --- a/configure +++ b/configure @@ -7,3 +7,4 @@ ucpp setup -t 2059 ucpp init ucpp configure cd .. +# vim: ts=2:sw=2:et diff --git a/src/Definitions.h b/src/Definitions.h index f923875..178e06d 100644 --- a/src/Definitions.h +++ b/src/Definitions.h @@ -72,3 +72,4 @@ #define DRIVE_SPEED_FALLBACK 2 #endif +// vim: ts=2:sw=2:et diff --git a/src/HHBase.cpp b/src/HHBase.cpp index af4465c..3bd972e 100644 --- a/src/HHBase.cpp +++ b/src/HHBase.cpp @@ -37,3 +37,4 @@ void HHBase::TeleopPeriodic(){ } void HHBase::Test(){} START_ROBOT_CLASS(HHBase); +// vim: ts=2:sw=2:et diff --git a/src/HHBase.h b/src/HHBase.h index 11fd713..4bec309 100644 --- a/src/HHBase.h +++ b/src/HHBase.h @@ -34,3 +34,4 @@ class HHBase : public IterativeRobot{ void Test(); }; #endif +// vim: ts=2:sw=2:et diff --git a/src/HHRobot.cpp b/src/HHRobot.cpp index 52a4676..b8373ff 100644 --- a/src/HHRobot.cpp +++ b/src/HHRobot.cpp @@ -66,3 +66,4 @@ void HHRobot::Handler(){ compressorSystem->RetractCollector(); } } +// vim: ts=2:sw=2:et diff --git a/src/HHRobot.h b/src/HHRobot.h index 9f34261..d0943e5 100644 --- a/src/HHRobot.h +++ b/src/HHRobot.h @@ -25,3 +25,4 @@ class HHRobot{ void Handler(); }; #endif +// vim: ts=2:sw=2:et diff --git a/src/Subsystems/Collector.cpp b/src/Subsystems/Collector.cpp index 2fa58a1..f2b343d 100644 --- a/src/Subsystems/Collector.cpp +++ b/src/Subsystems/Collector.cpp @@ -25,3 +25,4 @@ void HHCollector::CollectBall(){ void HHCollector::ReleaseBall(){ collectorMotor->Set(255); } +// vim: ts=2:sw=2:et diff --git a/src/Subsystems/Collector.h b/src/Subsystems/Collector.h index 9ae8bdc..d12116a 100644 --- a/src/Subsystems/Collector.h +++ b/src/Subsystems/Collector.h @@ -15,3 +15,4 @@ class HHCollector{ void ReleaseBall(); void SpinWithShot(float); }; +// vim: ts=2:sw=2:et diff --git a/src/Subsystems/Compressor.cpp b/src/Subsystems/Compressor.cpp index 7098d6c..efdd133 100644 --- a/src/Subsystems/Compressor.cpp +++ b/src/Subsystems/Compressor.cpp @@ -39,3 +39,4 @@ void HHCompressor::ExtendCollector(){ void HHCompressor::RetractCollector(){ e_CollectorSolenoidState=RETRACTED; } +// vim: ts=2:sw=2:et diff --git a/src/Subsystems/Compressor.h b/src/Subsystems/Compressor.h index c82a3f5..2937384 100644 --- a/src/Subsystems/Compressor.h +++ b/src/Subsystems/Compressor.h @@ -17,3 +17,4 @@ class HHCompressor{ void ExtendCollector(); void RetractCollector(); }; +// vim: ts=2:sw=2:et diff --git a/src/Subsystems/Controller.cpp b/src/Subsystems/Controller.cpp index 725bf6b..4c92c37 100644 --- a/src/Subsystems/Controller.cpp +++ b/src/Subsystems/Controller.cpp @@ -30,3 +30,4 @@ void JoystickController::GetLeftJoystickAxis(){ leftJoystickAxisValues[i]=leftJoystick->GetRawAxis(i); } } +// vim: ts=2:sw=2:et diff --git a/src/Subsystems/Controller.h b/src/Subsystems/Controller.h index a19eb04..4ed2298 100644 --- a/src/Subsystems/Controller.h +++ b/src/Subsystems/Controller.h @@ -17,3 +17,4 @@ class JoystickController void GetLeftJoystickAxis(); void GetRightJoystickAxis(); }; +// vim: ts=2:sw=2:et diff --git a/src/Subsystems/Dashboard.cpp b/src/Subsystems/Dashboard.cpp index 4a1a145..6dfd02a 100644 --- a/src/Subsystems/Dashboard.cpp +++ b/src/Subsystems/Dashboard.cpp @@ -20,3 +20,4 @@ bool HHDashboard::PutBoolValue(const char* key, bool value){ SmartDashboard::PutBoolean(key,value); return true; } +// vim: ts=2:sw=2:et diff --git a/src/Subsystems/Dashboard.h b/src/Subsystems/Dashboard.h index 279a039..ff03fe0 100644 --- a/src/Subsystems/Dashboard.h +++ b/src/Subsystems/Dashboard.h @@ -11,3 +11,4 @@ class HHDashboard{ bool GetBoolValue(const char* key); bool PutBoolValue(const char* key, bool value); }; +// vim: ts=2:sw=2:et diff --git a/src/Subsystems/Shooter.cpp b/src/Subsystems/Shooter.cpp index 263ce99..1d674d0 100644 --- a/src/Subsystems/Shooter.cpp +++ b/src/Subsystems/Shooter.cpp @@ -73,3 +73,4 @@ float HHShooter::GetAngle(){ max=max-max;//=0 return 300-((b+max)*(300/min)); } +// vim: ts=2:sw=2:et diff --git a/src/Subsystems/Shooter.h b/src/Subsystems/Shooter.h index e177073..4e59c2e 100644 --- a/src/Subsystems/Shooter.h +++ b/src/Subsystems/Shooter.h @@ -23,3 +23,4 @@ class HHShooter{ float FloatToPWM(float input); float GetAngle(); }; +// vim: ts=2:sw=2:et diff --git a/src/Subsystems/Sonar.cpp b/src/Subsystems/Sonar.cpp index f760a17..da9da24 100644 --- a/src/Subsystems/Sonar.cpp +++ b/src/Subsystems/Sonar.cpp @@ -58,3 +58,4 @@ float HHSonar::GetInches(std::string from){ return (float)(-1); } } +// vim: ts=2:sw=2:et diff --git a/src/Subsystems/Sonar.h b/src/Subsystems/Sonar.h index 9d35987..a9d7282 100644 --- a/src/Subsystems/Sonar.h +++ b/src/Subsystems/Sonar.h @@ -9,3 +9,4 @@ class HHSonar{ //from is (in string form) "FRONT", "BACK", "FRONTLEFT", "FRONTRIGHT"... float GetInches(std::string from); }; +// vim: ts=2:sw=2:et