robotics_toolbox.utils.configuration_utils.distance_between_configurations

robotics_toolbox.utils.configuration_utils.distance_between_configurations(a, b)

Compute distance between two configurations, expressed either in task-space SE2/SE3 or joint space np.ndarray

Parameters:
  • a (_SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes] | SE2 | SE3)

  • b (_SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes] | SE2 | SE3)

Return type:

float