pylabrobot.brooks.precise_flex.PreciseFlexArm.set_motion_profile_values#
- async PreciseFlexArm.set_motion_profile_values(profile: int, speed_percent: float, speed2_percent: float, acceleration_percent: float, deceleration_percent: 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_percent (float) – Percentage of maximum speed (0-100). 100 = full speed.
speed2_percent (float) – Secondary speed setting (0-100), typically for Cartesian moves. Normally 0.
acceleration_percent (float) – Percentage of maximum acceleration (0-100). 100 = full acceleration.
deceleration_percent (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).