Servo only traveling 1/2 of range

Hello,

I am using a brand new maestro 24. I have one linear servo that I have configured with correct min, max, and checked it with the slider. When I made a sequence it only travels 1/2 the range (say only left from center), even though I have defined frames that have the full range of travel (all the way from left to right). I have tried everything! I love the maestros and have been using them for many years.

Why would the full travel be accessible with the slider but not in the sequence?

I have saved frames properly and kept the naming convention in the sequence.

Thanks

Update:
-I powered everything down and swapped the new maestro 24 with a maestro 24 from a few years ago. I loaded the settings file into the old one. Same behavior

-I switched back to the brand new one. I carefully deleted every frame in the sequence. I then created new frames. I hit “play sequence” and it worked perfectly, I saw full travel.

-Even after the successful “play sequence” in the “sequence” tab the script won’t give full travel

Fixed the issue. Was in the script. thanks to Grok AI for quick troubleshooting! It nailed the problem.

1 Like
# Vanguard
begin
  check_initial
  if
    debounce_and_recheck
    if
      run_sequence
      wait_for_release
    endif
  endif
  10 delay
repeat

sub check_initial
  18 get_position 500 less_than
  return

sub debounce_and_recheck
  50 delay
  18 get_position 500 less_than
  return

sub wait_for_release
  begin
    18 get_position 500 greater_than
    if
      50 delay
      return
    endif
    10 delay
  repeat

sub run_sequence
  1200 6112 frame_0  # Frame 0 (replace 6112 with Sequence tab value)
  2300 7488 frame_0  # Frame 1 (replace 7488)
  500 7260 frame_0   # Frame 2
  1500 5657 frame_0  # Frame 3
  3000 4736 frame_0  # Frame 4
  1500 5858 frame_0  # Frame 5
  1500 6539 frame_0  # Frame 6
 1800 7007 frame_0  # Frame 7
  1500 6299 frame_0  # Frame 8
  2200 7488 frame_0  # Frame 9
  1500 5671 frame_0  # Frame 10
  2000 6178 frame_0  # Frame 11
  2000 5430 frame_0  # Frame 12
  1500 4736 frame_0  # Frame 13
  2100 6285 frame_0  # Frame 14
  1500 5938 frame_0  # Frame 15
  2500 6579 frame_0  # Frame 16
  2000 7488 frame_0  # Frame 17
  1500 7033 frame_0  # Frame 18
  500 5791 frame_0   # Frame 19
  2600 6232 frame_0  # Frame 20
  1500 5671 frame_0  # Frame 21
  2300 5283 frame_0  # Frame 22
  2200 5778 frame_0  # Frame 23
  2600 7488 frame_0  # Frame 24
  1500 6566 frame_0  # Frame 25
  1500 6058 frame_0  # Frame 26
  1500 7060 frame_0  # Frame 27
  2200 7274 frame_0  # Frame 28
  1200 7488 frame_0  # Frame 29
  1500 5831 frame_0  # Frame 30
  2200 6085 frame_0  # Frame 31
  1500 5350 frame_0  # Frame 32
  1500 5096 frame_0  # Frame 33
  2500 5764 frame_0  # Frame 34
  2500 5136 frame_0  # Frame 35
  1500 6673 frame_0  # Frame 36
  2500 6352 frame_0  # Frame 37
  500 7488 frame_0  # Frame 38
  500 6125 frame_0  # Frame 39
  return

sub frame_0
  0 servo
  delay
  return

Hello.

I am glad to hear that you were able to fix the problem! Thank you for letting us know.

So far in my experience AI struggles with the Maestro programming language and seems to try to use syntax or commands from various other languages (although I haven’t tried Grok specifically).

Brandon