pytransform3d.transform_manager.NumpyTimeseriesTransform#
- class pytransform3d.transform_manager.NumpyTimeseriesTransform(time, pqs)[source]#
Bases:
TimeVaryingTransform
Transformation sequence, represented in a numpy array.
The interpolation is computed using screw linear interpolation (ScLERP) method.
- Parameters:
- time: array, shape (n_steps,)
Numeric timesteps corresponding to the transformation samples. You can use, for example, unix timestamps, relative time (starting with 0).
- pqsarray, shape (n_steps, 7)
Time-sequence of transformations, with each row representing a single sample as position-quarternion (PQ) structure.
Methods
__init__
(time, pqs)as_matrix
(query_time)Get transformation matrix at given time.
Checks all transformations.
Examples using pytransform3d.transform_manager.NumpyTimeseriesTransform
#
Managing Transformations over Time
Managing Transformations over Time