Is there any way I can run a sequence just once using the new firmware commands…
What I’m trying to achieve is as follows…
I have written some short simple sequences and stored them in the EEPROM. I have an Atmega128 that is processing gyros and deciding what to do to try and retain balance.
It is adjusting the incoming streams from SEQ to allow the bot to try and stay upright.
If the degree of movement becomes too high or it has fallen over then I want to run a stored sequence to stand up again or step backwards etc.
I send the PL
S command for the relevant sequence but I have to calculate how much time it will take to complete the sequence and send PL
to stop the sequence from looping.
Is there any way I can just run it once and stop automatically.
BTW, because the bot has now lost its place in the sequence it was trying to run before it fell over(whatever), I make the bot ignore any further commands from SEQ until the handler restarts the sequence