robotics_toolbox.utils.configuration_utils.interpolate

robotics_toolbox.utils.configuration_utils.interpolate(a, b, d)

Interpolate between two configurations, s.t. dist(a,b) = d

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)

  • d (float)

Return type:

ndarray | SE2 | SE3