Trajectory
The trajectory module defines the interface and implementations for sensor trajectory modeling in the PERSEO framework. It provides an abstract base class Trajectory that specifies the contract for position, velocity, and acceleration queries at arbitrary times, along with a concrete CubicSplineTrajectory implementation using Scipy's CubicSpline interpolator. All trajectories support vectorized evaluation.
The CubicSplineTrajectory implementation ensures is the preferred trajectory for all PERSEO modules that require interpolated trajectory state vectors.
Custom Trajectory
The trajectory interface is designed to be easily adapted to support custom implementations. This means that any interpolator can be used to define a trajectory, as long as it provides the necessary methods and attributes.