pylabrobot.brooks.precise_flex.PreciseFlexArm.request_destination_joint_state#

async PreciseFlexArm.request_destination_joint_state(mode: int = 0) → Dict[PreciseFlexAxis, float]#

Get the destination or current joint location of the robot.

Parameters:
  • mode (int) – Selects return value. Defaults to 0.

  • moving (0 = Return current joint location if robot is not)

  • move (1 = Return target joint location of the previous or current)

Returns:

A dict mapping PreciseFlexAxis to float values. If mode = 1 or robot is moving, returns the target joint positions. If mode = 0 and robot is not moving, returns the current joint positions.

Return type:

Dict[PreciseFlexAxis, float]