Main Content

Ground Truth Trajectories

Create trajectories from position, motion, and rotation

Create trajectories from geodetic coordinates, translational and rotational motion, and position, orientation, and velocity.

Functions

expand all

geoTrajectoryWaypoint trajectory in geodetic coordinates
kinematicTrajectoryRate-driven trajectory generator
waypointTrajectoryWaypoint trajectory generator
quaternionCreate a quaternion array
rotmatConvert quaternion to rotation matrix
eulerConvert quaternion to Euler angles (radians)
eulerdConvert quaternion to Euler angles (degrees)
rotvecConvert quaternion to rotation vector (radians)
rotvecdConvert quaternion to rotation vector (degrees)
compactConvert quaternion array to N-by-4 matrix
partsExtract quaternion parts
rotateframeQuaternion frame rotation
rotatepointQuaternion point rotation
normQuaternion norm
normalizeQuaternion normalization
distAngular distance in radians
slerpSpherical linear interpolation
meanrotQuaternion mean rotation
randrotUniformly distributed random rotations

Topics

Model Platform Motion Using Trajectory Objects

This topic introduces how to use three different trajectory objects to model platform trajectories, and how to choose between them.