pylabrobot.brooks.precise_flex.MotionProfile#

class pylabrobot.brooks.precise_flex.MotionProfile(profile: int, speed: float, speed2: float, acceleration: float, deceleration: float, acceleration_ramp: float, deceleration_ramp: float, in_range: float, straight: bool)#

Bases: NamedTuple

A controller motion profile, as reported by Profile <n> (field order matches the wire).

Attributes

acceleration

Alias for field number 3

acceleration_ramp

Alias for field number 5

deceleration

Alias for field number 4

deceleration_ramp

Alias for field number 6

in_range

Alias for field number 7

profile

Alias for field number 0

speed

Alias for field number 1

speed2

Alias for field number 2

straight

Alias for field number 8

Methods

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Parameters: