#!dimctrl --exec

# ==========================================================================
# Wait for drivectrl to reply that its tracking the given source
# ==========================================================================

# DRIVE: Moving
> ...waiting for DRIVE_CONTROL
>    to be in state 7: Moving
.s DRIVE_CONTROL 7
> ...moving

# DRIVE: TRACKING
> ...waiting for DRIVE_CONTROL
>    to be in state 8: Tracking
.s DRIVE_CONTROL 8
> ...tracking requested wobble position

> waiting 10 sec for drive to calm down
> and tracking beeing stable
.w 10000
