|
@@ -13,11 +13,16 @@ void executePushAnimationSequence(int seqID) {
|
|
|
setAnimationCode('a');
|
|
|
delay(4000);
|
|
|
pushSwitchDelayed(1000, 1000);
|
|
|
+ if (seqID == 2){
|
|
|
+ //Do not turn off display
|
|
|
+ return;
|
|
|
+ }
|
|
|
} else if (seqID < 4) {
|
|
|
//Hesitation push back
|
|
|
setAnimationCode('a');
|
|
|
delay(4000);
|
|
|
pushWithHesitation();
|
|
|
+ return;
|
|
|
} else if (seqID < 5) {
|
|
|
//Hesitation push and walk back
|
|
|
setAnimationCode('a');
|
|
@@ -32,6 +37,7 @@ void executePushAnimationSequence(int seqID) {
|
|
|
delay(1000);
|
|
|
servoCoverPusher.write(0);
|
|
|
servoSwitchPusher.write(0);
|
|
|
+ return;
|
|
|
} else if (seqID < 8) {
|
|
|
//Annoy push back
|
|
|
setAnimationCode('b');
|