2
0
mirror of https://github.com/team2059/Dent synced 2025-01-07 22:14:14 -05:00

Call End when commands are interrupted

This commit is contained in:
Austen Adler 2015-02-02 20:08:04 -05:00
parent 653bb9aacc
commit 4717e6f029
7 changed files with 7 additions and 0 deletions

View File

@ -14,4 +14,5 @@ bool CloseCollector::IsFinished(){
void CloseCollector::End(){
}
void CloseCollector::Interrupted(){
End();
}

View File

@ -14,4 +14,5 @@ bool CollectTote::IsFinished(){
void CollectTote::End(){
}
void CollectTote::Interrupted(){
End();
}

View File

@ -14,4 +14,5 @@ bool StartCompressing::IsFinished(){
void StartCompressing::End(){
}
void StartCompressing::Interrupted(){
End();
}

View File

@ -14,4 +14,5 @@ bool StopCompressing::IsFinished(){
void StopCompressing::End(){
}
void StopCompressing::Interrupted(){
End();
}

View File

@ -30,4 +30,5 @@ bool Drive::IsFinished(){
void Drive::End(){
}
void Drive::Interrupted(){
End();
}

View File

@ -14,4 +14,5 @@ bool OpenCollector::IsFinished(){
void OpenCollector::End(){
}
void OpenCollector::Interrupted(){
End();
}

View File

@ -14,4 +14,5 @@ bool ReleaseTote::IsFinished(){
void ReleaseTote::End(){
}
void ReleaseTote::Interrupted(){
End();
}