parse_motor_values

parse_motor_values(values: list[int]) → tuple[int, int, int, int, bool][source]

Unpack MOTOR*_VALUES into (open, close, time_open, time_close, hold).

time_open/time_close are the TOTAL milliseconds to open/close. hold is this motor’s default for whether to keep holding torque after arriving (see Motor.move). Legacy settings are shorter – the oldest store only [open, close] – and every missing field falls back to a default (0 ms, hold on), so old calibrations keep working untouched.