mirror of
https://github.com/team2059/Zaphod
synced 2025-01-07 22:14:14 -05:00
Added vim modelines
This commit is contained in:
parent
696ff5bf76
commit
9ea1e385f1
3
build
3
build
@ -36,5 +36,4 @@ if sys.argv[1] == 'buildclean':
|
||||
|
||||
if sys.argv[1] == 'deploy':
|
||||
deploy()
|
||||
|
||||
|
||||
# vim: ts=2:sw=2:et
|
||||
|
1
configure
vendored
1
configure
vendored
@ -7,3 +7,4 @@ ucpp setup -t 2059
|
||||
ucpp init
|
||||
ucpp configure
|
||||
cd ..
|
||||
# vim: ts=2:sw=2:et
|
||||
|
@ -72,3 +72,4 @@
|
||||
#define DRIVE_SPEED_FALLBACK 2
|
||||
|
||||
#endif
|
||||
// vim: ts=2:sw=2:et
|
||||
|
@ -37,3 +37,4 @@ void HHBase::TeleopPeriodic(){
|
||||
}
|
||||
void HHBase::Test(){}
|
||||
START_ROBOT_CLASS(HHBase);
|
||||
// vim: ts=2:sw=2:et
|
||||
|
@ -34,3 +34,4 @@ class HHBase : public IterativeRobot{
|
||||
void Test();
|
||||
};
|
||||
#endif
|
||||
// vim: ts=2:sw=2:et
|
||||
|
@ -66,3 +66,4 @@ void HHRobot::Handler(){
|
||||
compressorSystem->RetractCollector();
|
||||
}
|
||||
}
|
||||
// vim: ts=2:sw=2:et
|
||||
|
@ -25,3 +25,4 @@ class HHRobot{
|
||||
void Handler();
|
||||
};
|
||||
#endif
|
||||
// vim: ts=2:sw=2:et
|
||||
|
@ -25,3 +25,4 @@ void HHCollector::CollectBall(){
|
||||
void HHCollector::ReleaseBall(){
|
||||
collectorMotor->Set(255);
|
||||
}
|
||||
// vim: ts=2:sw=2:et
|
||||
|
@ -15,3 +15,4 @@ class HHCollector{
|
||||
void ReleaseBall();
|
||||
void SpinWithShot(float);
|
||||
};
|
||||
// vim: ts=2:sw=2:et
|
||||
|
@ -39,3 +39,4 @@ void HHCompressor::ExtendCollector(){
|
||||
void HHCompressor::RetractCollector(){
|
||||
e_CollectorSolenoidState=RETRACTED;
|
||||
}
|
||||
// vim: ts=2:sw=2:et
|
||||
|
@ -17,3 +17,4 @@ class HHCompressor{
|
||||
void ExtendCollector();
|
||||
void RetractCollector();
|
||||
};
|
||||
// vim: ts=2:sw=2:et
|
||||
|
@ -30,3 +30,4 @@ void JoystickController::GetLeftJoystickAxis(){
|
||||
leftJoystickAxisValues[i]=leftJoystick->GetRawAxis(i);
|
||||
}
|
||||
}
|
||||
// vim: ts=2:sw=2:et
|
||||
|
@ -17,3 +17,4 @@ class JoystickController
|
||||
void GetLeftJoystickAxis();
|
||||
void GetRightJoystickAxis();
|
||||
};
|
||||
// vim: ts=2:sw=2:et
|
||||
|
@ -20,3 +20,4 @@ bool HHDashboard::PutBoolValue(const char* key, bool value){
|
||||
SmartDashboard::PutBoolean(key,value);
|
||||
return true;
|
||||
}
|
||||
// vim: ts=2:sw=2:et
|
||||
|
@ -11,3 +11,4 @@ class HHDashboard{
|
||||
bool GetBoolValue(const char* key);
|
||||
bool PutBoolValue(const char* key, bool value);
|
||||
};
|
||||
// vim: ts=2:sw=2:et
|
||||
|
@ -73,3 +73,4 @@ float HHShooter::GetAngle(){
|
||||
max=max-max;//=0
|
||||
return 300-((b+max)*(300/min));
|
||||
}
|
||||
// vim: ts=2:sw=2:et
|
||||
|
@ -23,3 +23,4 @@ class HHShooter{
|
||||
float FloatToPWM(float input);
|
||||
float GetAngle();
|
||||
};
|
||||
// vim: ts=2:sw=2:et
|
||||
|
@ -58,3 +58,4 @@ float HHSonar::GetInches(std::string from){
|
||||
return (float)(-1);
|
||||
}
|
||||
}
|
||||
// vim: ts=2:sw=2:et
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user