Sylphase SDGPS
The software-defined GPS(/GNSS) toolkit
resample-solution

Type signature: (solution->solution)

The resample-solution node takes a solution stream representing a trajectory, then interpolates the trajectory using a cubic spline between each pair of input sample points.

Help

Usage:

resample-solution [OPTION]... SAMPLE_RATE

Allowed options:

Option Description
--help produce help message
--sample-rate SAMPLE_RATE output solution sample rate (units: Hertz)
--sample-offset SAMPLE_OFFSET (=0.000000000000000000) output solution sample offset (units: seconds)

Example

sdgps \
generate-simple-trajectory --rate inf --duration 30 --circle '{"radius":3,"axis_enu":[0,0,1],"period":30}' \
! plot-solution --wait --plot-position-finite-difference \
--reference-pipeline 'generate-simple-trajectory --rate inf --duration 30 --circle '\''{"radius":3,"axis_enu":[0,0,1],"period":30}'\'' ! resample-solution 101'