pylabrobot.brooks.precise_flex.PreciseFlex.set_motion_profile_values#
- async PreciseFlex.set_motion_profile_values(profile: int, speed_pct: float, speed2_pct: float, acceleration_pct: float, deceleration_pct: float, acceleration_ramp: float, deceleration_ramp: float, in_range: float, straight: bool)#
Set motion profile values for the specified profile index on the PreciseFlex robot.
- Parameters:
profile (int) – Profile index to set values for.
speed_pct (float) – Percentage of maximum speed (0-100). 100 = full speed.
speed2_pct (float) – Secondary speed setting (0-100), typically for Cartesian moves. Normally 0.
acceleration_pct (float) – Percentage of maximum acceleration (0-100). 100 = full acceleration.
deceleration_pct (float) – Percentage of maximum deceleration (0-100). 100 = full deceleration.
acceleration_ramp (float) – Acceleration ramp time in seconds.
deceleration_ramp (float) – Deceleration ramp time in seconds.
in_range (float) – InRange value, from -1 to 100. -1 = allow blending, 0 = stop without checking, >0 = enforce position accuracy.
straight (bool) – If True, follow a straight-line path (-1). If False, follow a joint-based path (0).