roboplan.roboplan_ext.simple_ik

Simple IK solver module

Classes

SimpleIkOptions

Options struct for simple IK solver.

SimpleIk

Simple inverse kinematics (IK) solver based on the Jacobian pseudoinverse.

Module Contents

class roboplan.roboplan_ext.simple_ik.SimpleIkOptions(group_name='', max_iters=100, max_time=0.01, max_restarts=2, step_size=0.01, damping=0.001, max_linear_error_norm=0.001, max_angular_error_norm=0.001, check_collisions=True)

Options struct for simple IK solver.

Parameters:
  • group_name (str)

  • max_iters (int)

  • max_time (float)

  • max_restarts (int)

  • step_size (float)

  • damping (float)

  • max_linear_error_norm (float)

  • max_angular_error_norm (float)

  • check_collisions (bool)

property group_name: str

The joint group name to be used by the solver.

Return type:

str

property max_iters: int

Max iterations for one try of the solver.

Return type:

int

property max_time: float

Max total computation time, in seconds.

Return type:

float

property max_restarts: int

Maximum number of restarts until success.

Return type:

int

property step_size: float

The integration step for the solver.

Return type:

float

property damping: float

Damping value for the Jacobian pseudoinverse.

Return type:

float

property max_linear_error_norm: float

The maximum linear error norm, in meters.

Return type:

float

property max_angular_error_norm: float

The maximum angular error norm, in radians.

Return type:

float

property check_collisions: bool

Whether to check collisions.

Return type:

bool

class roboplan.roboplan_ext.simple_ik.SimpleIk(scene, options)

Simple inverse kinematics (IK) solver based on the Jacobian pseudoinverse.

Parameters:
solveIk(goal: roboplan_ext.core.CartesianConfiguration, start: roboplan_ext.core.JointConfiguration, solution: roboplan_ext.core.JointConfiguration) bool
solveIk(goals: collections.abc.Sequence[roboplan_ext.core.CartesianConfiguration], start: roboplan_ext.core.JointConfiguration, solution: roboplan_ext.core.JointConfiguration) bool

Solves inverse kinematics (multiple goal).