concepts.math.interpolation_utils.PoseSpline#
- class PoseSpline[source]#
Bases:
SplineInterface
Pose spline interpolation.
This class is a wrapper of scipy.interpolate.interp1d that mimics the CubicSpline interface.
Methods
derivative
([n, x])from_points
(y_pos, y_quat[, quat_format])from_pose_sequence
(pose_sequence[, quat_format])get_next
(y, step_size[, minimum_x])Get the next target point on a spline interpolation.
project_to
(y[, minimum_x])Project a point to a pose spline interpolation.
- __init__(xs, y_pos, y_quat, quat_format='xyzw', fixed_quat=None)[source]#
Initialize a pose spline interpolation.
- __new__(**kwargs)#
- derivative(n=1, x=None)#
- Parameters:
- Return type:
- get_next(y, step_size, minimum_x=None)#
Get the next target point on a spline interpolation.