Traj3DResampleTime {trajr} | R Documentation |
Resample a 3D trajectory to a constant time interval
Description
Constructs a new 3-dimensional trajectory by resampling the input trajectory to a fixed time interval. Points are linearly interpolated along the trajectory. Spatial and time units are preserved.
Usage
Traj3DResampleTime(trj3d, stepTime, newFps = NULL)
Arguments
trj3d |
The 3-dimensional trajectory to be resampled. |
stepTime |
The resampled trajectory step time. Each step in the new trajectory will have this duration. |
newFps |
Value to be stored as the FPS value in the new trajectory (see
|
Value
A new 3-dimensional trajectory with a constant time interval for each
step. Points in the new trajectory are calculated by linearly interpolating
along trj3d
.
See Also
Traj3DFromCoords
, TrajResampleTime
[Package trajr version 1.5.1 Index]