step.servo.utility

Functions

estimate_servo_move_time(→ float)

Estimate time (in seconds) for a servo to move between two angles.

Module Contents

step.servo.utility.estimate_servo_move_time(start_angle: float, end_angle: float) float

Estimate time (in seconds) for a servo to move between two angles. Returns 0 when the delta is zero to avoid unnecessary sleeps.