pylabrobot.brooks.precise_flex.PreciseFlexSimulationDriver.set_axis_parameter#

async PreciseFlexSimulationDriver.set_axis_parameter(data_id: int, axis: PreciseFlexAxis, value, robot_number: int = 1) → None#

Change one joint’s element of a per-axis parameter array (pc); the rest are untouched.

Parameters:
  • data_id (int) – the per-axis DataID to change.

  • axis (PreciseFlexAxis) – which joint’s element to write; sent as the controller’s 1-based index (gripper is 5).

  • value – the new value for that element.

  • robot_number (int) – unit number, the robot (1 - N_ROB).

Return type:

None

Note

Volatile until a save-to-flash (DataID 901); a power cycle restores the flashed value.