get_next_position#

lsst.ts.mthexapod.get_next_position(position_current, position_target, step_size_xy, step_size_z, step_size_uv, step_size_w)#

Get the next position.

Parameters:
  • position_current (Position) – Current position.

  • position_target (Position) – Target position.

  • step_size_xy (float) – Absolute maximum step size in the x, y direction in um. Put 0 if you want to do the movement in a single step.

  • step_size_z (float) – Absolute maximum step size in the z direction in um. Put 0 if you want to do the movement in a single step.

  • step_size_uv (float) – Absolute maximum step size in the rx, ry direction in deg. Put 0 if you want to do the movement in a single step.

  • step_size_w (float) – Absolute maximum step size in the rz direction in deg. Put 0 if you want to do the movement in a single step.

Returns:

position_next – Next position.

Return type:

Position