pyrobopath.collision_detection.trajectory.TrajectoryPoint#

class pyrobopath.collision_detection.trajectory.TrajectoryPoint(data: List[float] | Tuple[float, ...] | ndarray[Any, dtype[floating]], time: float)[source]#

Bases: object

Generic trajectory point described as a one dimensional vector

Methods

dist

The distance between this point and other

interp

Interpolate from the this point to 'other' at s : [0, 1]

dist(other: TrajectoryPoint)[source]#

The distance between this point and other

interp(other: TrajectoryPoint, s: float)[source]#

Interpolate from the this point to ‘other’ at s : [0, 1]