placeholder for encoder code in Shooter.h

This commit is contained in:
Aidan Ferguson 2016-02-10 19:55:20 -05:00
parent fbae5efebf
commit c36024a86d

View File

@ -70,13 +70,25 @@ public:
// Move the Ramp to the set position. // Move the Ramp to the set position.
switch (state) switch (state)
{ {
case Shoot: case Shoot:
if (ramp->GetForwardLimitOK())
{ {
ramp->Set(1); if (ramp->GetForwardLimitOK())
} else {
ramp->Set(1);
} else
{
ramp->Set(0);
}
}
case Half:
{ {
ramp->Set(0); //yeah, put something here when you get the encoder working.
std::cout << "Hey! Didja install an encoder? Because this is placeholder that Aidan would have removed if you had installed one and told him about it.\n";
}
case Down:
{
//see half.
std::cout << "Hey! Didja install an encoder? Because this is placeholder that Aidan would have removed if you had installed one and told him about it.\n";
} }
} }
} }