Hi, using an 12 channel Maestro and I have 10 sequences defined as below, however when I add an eleventh, the other get mixed up when called by the Arduino using restartScript.
So Sequence 4 works without issue, but add an eleventh and sequence 4 seems to miss steps and do parts of sequence 6, take the 11th sequence out and it works.
It does not seem to matter what the 11th script is either.
Can anyone help?
### Sequence subroutines: ###
# Sequence 0
sub Sequence_0
600 8000 0 0 0 0 0
0 0 0 0 0 0 frame_0..11 # Frame 1
500 0 frame_0 # Frame 1
Quit
return
# Sequence 1
sub Sequence_1
500 4160 0 0 0 0 0
0 0 0 0 0 0 frame_0..11 # Frame 0
500 0 frame_0 # Frame 1
Quit
return
# Sequence 2
sub Sequence_2
500 0 0 0 0 0 0
0 8000 0 0 0 0 frame_0..11 # Frame 0
500 0 frame_7 # Frame 1
quit
return
# Sequence 3
sub Sequence_3
500 0 0 0 0 0 0
0 3968 0 0 0 0 frame_0..11 # Frame 0
500 0 frame_7 # Frame 1
quit
return
# Sequence 4
sub Sequence_4
500 0 0 0 0 0 3136
0 0 0 0 0 0 frame_0..11 # Frame 0
500 8000 frame_6 # Frame 1
500 3968 frame_6 # Frame 2
500 8000 frame_6 # Frame 3
500 3968 frame_6 # Frame 4
500 8000 frame_6 # Frame 5
500 3987 frame_6 # Frame 6
500 8000 frame_6 # Frame 7
500 0 0 frame_5_6 # Frame 8
500 3968 frame_6 # Frame 9
500 0 frame_6 # Frame 10
quit
return
# Sequence 5
sub Sequence_5
500 0 0 0 0 0 6903
0 0 0 0 0 0 frame_0..11 # Frame 0
500 0 frame_5 # Frame 1
quit
return
# Sequence 6
sub Sequence_6
500 0 0 0 3968 0 0
0 0 0 0 0 0 frame_0..11 # Frame 0
500 0 frame_3 # Frame 1
quit
return
# Sequence 7
sub Sequence_7
500 0 0 0 8512 0 0
0 0 0 0 0 0 frame_0..11 # Frame 0
500 0 frame_3 # Frame 1
quit
return
# Sequence 8
sub Sequence_8
500 0 0 0 0 8000 0
0 0 0 0 0 0 frame_0..11 # Frame 0
500 0 frame_4 # Frame 1
quit
return
# Sequence 9
sub Sequence_9
500 0 0 0 0 3968 0
0 0 0 0 0 0 frame_0..11 # Frame 0
500 0 frame_4 # Frame 1
quit
return
sub frame_0..11
11 servo
10 servo
9 servo
8 servo
7 servo
6 servo
5 servo
4 servo
3 servo
2 servo
1 servo
0 servo
delay
return
sub frame_0
0 servo
delay
return
sub frame_1
1 servo
delay
return
sub frame_7
7 servo
delay
return
sub frame_6
6 servo
delay
return
sub frame_5_6
6 servo
5 servo
delay
return
sub frame_5
5 servo
delay
return
sub frame_3
3 servo
delay
return
sub frame_4
4 servo
delay
return