Compare min and max positions instead of using assert with initial position (which can fail spuriously if the first pose arrives before the first movement; and also when the turtle reaches the exact same position again).