|
| Example 1 pipeline's plot-client2 output |
The following example demonstrates:
mkdir -p simlog && LOGPREFIX=simlog/$(date +%s) && mkdir "$LOGPREFIX" && \ PLOT_PORT=8000 \ sdgps \ --log "$LOGPREFIX"/log.txt \ --timestamp \ generate-simple-trajectory --rate inf --position-ecef '[-3884259, 4607249, 2082592]' \ ! shift-gnss-time --read-start-time-from "$LOGPREFIX"/start_gnss_time \ ! simulate-raw sylphase-simulator: --cn0 40 --start-stream-time 0 \ ! sylphase-simulator-txrx --antenna-lna-gain 25 \ --start-tx-at-receiver-time-read-from "$LOGPREFIX"/start_receiver_time \ ! tracker \ ! decoder \ ! static-kf2 --abort-signals-ignored-for 2 --p-log 1e-9 --p-ignore 1e-12 \ --estimate-ionospheric-delay \ ! gpsdo --force-zero-frequency-offset --disable-fast-slew \ --write-first-second-gnss-time-to "$LOGPREFIX"/start_gnss_time \ --write-first-second-receiver-time-to "$LOGPREFIX"/start_receiver_time \ --maintain-phase-shift-over-resets --plot --plot-live-history 60 \ --vcxo-frequency=25000000/8
When the above pipeline runs:
2026-04-24 12:45:04.686610 sylphase-simulator-txrx: [t=17.225s] [1/0/GAL_E1B/Sig26] Tracking stopped after 1714 correlations; reason: tracking loop signalled to stop [Src: acq] 2026-04-24 12:45:04.760706 sylphase-simulator-txrx: [t=17.299s] [2/0/GPS_L2C/Sig25] Acquired; tracking started [Doppler: 2452Hz] [Accel: -0Hz/s] [Age: 0.001s] [Src: hint] 2026-04-24 12:45:05.105021 sylphase-simulator-txrx: Dropped PPS.In pulse because start_tx_offset_ hasn't been determined yet. 2026-04-24 12:45:05.261298 sylphase-simulator-txrx: [t=17.799s] [2/0/GPS_L2C/Sig24] Acquired; tracking started [Doppler: -1890Hz] [Accel: -0Hz/s] [Age: 0.017s] [Src: hint] 2026-04-24 12:45:05.510913 sylphase-simulator-txrx: Dropped PPS.Out pulse because start_tx_offset_ hasn't been determined yet. 2026-04-24 12:45:05.560635 sylphase-simulator-txrx: [t=18.099s] [2/0/GPS_L2C/Sig05] Acquired; tracking started [Doppler: 2823Hz] [Accel: -0Hz/s] [Age: 0.002s] [Src: hint] 2026-04-24 12:45:05.788169 sylphase-simulator-txrx: [t=18.327s] [3/0/GAL_E5b/Sig26] Tracking stopped after 3031 correlations; reason: tracking loop signalled to stop [Src: hint] 2026-04-24 12:45:06.104607 sylphase-simulator-txrx: Dropped PPS.In pulse because start_tx_offset_ hasn't been determined yet. 2026-04-24 12:45:06.511380 sylphase-simulator-txrx: Dropped PPS.Out pulse because start_tx_offset_ hasn't been determined yet. 2026-04-24 12:45:07.105167 sylphase-simulator-txrx: Dropped PPS.In pulse because start_tx_offset_ hasn't been determined yet. [...] 2026-04-24 12:45:17.601831 static-kf2: [t=29.995s] Obtained GNSS fix (extrapolated -0.005s); attempting to initialize filter... 2026-04-24 12:45:17.601841 static-kf2: GNSS time: 1461087935.455 = 2026-04-24T17:45:35.455328783588666398 GPS 2026-04-24 12:45:17.601850 static-kf2: Position: [-521834, -5521415, 3139401] Velocity: [-1.555, -0.635, -3.232] 2026-04-24 12:45:17.601860 static-kf2: ... initialization succeeded; filter is now running. [press ?] [time: 0.00 / inf] [device_t0: 1461089768.709158136 s] [FPGA temp: 48 °C] [DAC temp: 60 °C] [PCB temp: 49 °C] [CPU temp: 44 °C] [receiver time: 31.79] [ACQ# 7.01] [ACQ# 2.92] [GPS_L1 7/7] [GAL_E1B 7/7] [GPS_L2C 6/6] [GAL_E5b 7/7] [GPS_L1 7/7] [GAL_E1B 7/7] [GPS_L2C 0/6] [GAL_E5b 7/7] [static-kf2: settling (0 seconds left)] [PLL: waiting for data]
2026-04-24 12:45:32.612184 gpsdo: [t=45.005s] desired_inv_rate0 set to 0 = 0; desired VCXO frequency is 3.125000000 MHz; offset is 0.000 Hz 2026-04-24 12:45:32.612189 gpsdo: [t=45.005s] Initial frequency error: 4.9 ppb; locking frequency ... [press ?] [time: 0.00 / inf] [device_t0: 1461089768.709153961 s] [FPGA temp: 48 °C] [DAC temp: 60 °C] [PCB temp: 49 °C] [CPU temp: 34 °C] [receiver time: 47.40] [ACQ# 7.01] [ACQ# 3.15] [GPS_L1 7/7] [GAL_E1B 8/8] [GPS_L2C 6/6] [GAL_E5b 8/8] [GPS_L1 7/7] [GAL_E1B 7/8] [GPS_L2C 0/6] [GAL_E5b 7/8] [static-kf2: running; short 1 SV slots; 12 SVs phase locked/12 SVs used] [PLL: LOCKING FREQUENCY freq err: +4.728ppb (rms@0s: 0.000ppb) time err: +0.000ns (rms@0s: 0.000ns) control: 2.260ppb (std@0s: 0.000ppb) slew@0s:0% latency: 146ms delay: 147ms queue:1]
start_gnss_time value to simulate-raw, which starts simulating the configured scenario.Ch A - RF front-panel port. 2026-04-24 12:45:39.632573 gpsdo: [t=52.025s] Frequency error changed sign (4.9 -> -0.4 ppb); frequency lock achieved! Locking phase ... 2026-04-24 12:45:39.632584 gpsdo: [t=52.025s] first_second_receiver_time set to 52.539671040000000000 2026-04-24 12:45:39.632644 gpsdo: --write-first-second-gnss-time-to: Wrote FIRST_SECOND_GNSS_TIME of 1461087958.000000000000000000 to "/tmp/sdgps.487443893218509566/out.start_gnss_time". 2026-04-24 12:45:39.632669 gpsdo: --write-first-second-receiver-time-to: Wrote FIRST_SECOND_RECEIVER_TIME of 52.539671040000000000 to "/tmp/sdgps.487443893218509566/out.start_receiver_time". 2026-04-24 12:45:39.632675 gpsdo: [t=52.025s] Warning: PLL time error is large (-42.538 ns)! 2026-04-24 12:45:39.640781 shift-gnss-time: Read START_TIME of 1461087958.000000000000000000 from "/tmp/sdgps.487443893218509566/out.start_gnss_time". 2026-04-24 12:45:39.640792 shift-gnss-time: Starting trajectory at GNSS time 1461087958.000000000000000000 = 2026-04-24T17:45:58.000000000000000000 GPS 2026-04-24 12:45:39.640806 simulate-raw: [t=0.000s] Starting simulation at GNSS time 1461087958.000000000000000000 = output stream time 0.000000000000000000 2026-04-24 12:45:39.652157 simulate-raw: [t=0.000s] [0/0/GPS_L1 /Sig03/SV03] Came into view 2026-04-24 12:45:39.652166 simulate-raw: [t=0.000s] [0/0/GPS_L1 /Sig04/SV04] Came into view [...] 2026-04-24 12:45:39.652242 simulate-raw: [t=0.000s] [0/2/GAL_E1C/Sig19/SV19] Came into view 2026-04-24 12:45:39.652244 simulate-raw: [t=0.000s] [0/2/GAL_E1C/Sig20/SV20] Came into view 2026-04-24 12:45:39.652302 sylphase-simulator-txrx: --start-tx-at-receiver-time-read-from: Read START_RECEIVER_TIME of 52.539671040000000000 from "/tmp/sdgps.487443893218509566/out.start_receiver_time". 2026-04-24 12:45:39.652308 sylphase-simulator-txrx: Calculated start_tx_offset: 1313491776 samples = 52.539671040 s 2026-04-24 12:45:39.890839 sylphase-simulator-txrx: [t=52.540s] (PPS generator) Got first GNSS sample timestamp; shifting PPS phase to 0.539671040000000000s so PPS rising edge is coincident with transmission of first sample. 2026-04-24 12:45:39.923133 simulate-raw: [t=0.000s] [1/0/GPS_L2C/Sig03/SV03] Came into view 2026-04-24 12:45:39.923142 simulate-raw: [t=0.000s] [1/0/GPS_L2C/Sig04/SV04] Came into view [press ?] [time: 2.15 / inf] [device_t0: 1461089768.709155866 s] [FPGA temp: 49 °C] [DAC temp: 62 °C] [PCB temp: 5 0 °C] [CPU temp: 45 °C] [receiver time: 53.30] [ACQ# 7.01] [ACQ# 3.57] [GPS_L1 7/7] [GAL_E1B 8/8] [GPS_L2C 6/6] [ GAL_E5b 8/8] [GPS_L1 7/7] [GAL_E1B 7/8] [GPS_L2C 4/6] [GAL_E5b 7/8] [static-kf2: running; short 1 SV slots; 11 SVs phase locked/12 SVs used] [PLL: LOCKING PHASE freq err: +2.888ppb (rms@0s: 0.000ppb) time err: -42.333ns (rms@0s: 0 .000ns) control: 3.981ppb (std@0s: 0.000ppb) slew@0s:0% latency: 146ms delay: 147ms queue:1]
2026-04-24 12:45:39.933706 simulate-raw: [t=0.000s] [2/0/GAL_E5b/Sig19/SV19] Came into view 2026-04-24 12:45:39.933708 simulate-raw: [t=0.000s] [2/0/GAL_E5b/Sig20/SV20] Came into view 2026-04-24 12:45:40.122546 static-kf2: [t=52.513s] [1/0/GAL_E1B/Sig02/SV02] [low pseudorange p-value: 2.65e-10] [err:19.7m] [std:3.11m] [cn0: 46.6] 2026-04-24 12:45:40.651789 gpsdo: [t=53.045s] Warning: PLL time error is large (-42.320 ns)! 2026-04-24 12:45:41.672265 gpsdo: [t=54.065s] Warning: PLL time error is large (-40.773 ns)! 2026-04-24 12:45:42.692370 gpsdo: [t=55.085s] Warning: PLL time error is large (-38.314 ns)! 2026-04-24 12:45:43.710622 gpsdo: [t=56.105s] Warning: PLL time error is large (-35.627 ns)! 2026-04-24 12:45:44.732002 gpsdo: [t=57.125s] Warning: PLL time error is large (-32.854 ns)! 2026-04-24 12:45:45.752552 gpsdo: [t=58.145s] Warning: PLL time error is large (-30.093 ns)! 2026-04-24 12:45:46.772414 gpsdo: [t=59.165s] Warning: PLL time error is large (-27.522 ns)! 2026-04-24 12:45:47.792417 gpsdo: [t=60.185s] Warning: PLL time error is large (-25.105 ns)! 2026-04-24 12:45:48.812311 gpsdo: [t=61.205s] Warning: PLL time error is large (-22.769 ns)! 2026-04-24 12:45:49.831927 gpsdo: [t=62.225s] Warning: PLL time error is large (-20.741 ns)! 2026-04-24 12:45:50.852204 gpsdo: [t=63.245s] Warning: PLL time error is large (-18.660 ns)! 2026-04-24 12:45:51.872688 gpsdo: [t=64.265s] Warning: PLL time error is large (-16.502 ns)! 2026-04-24 12:45:52.892266 gpsdo: [t=65.285s] Warning: PLL time error is large (-14.475 ns)! 2026-04-24 12:45:53.911744 gpsdo: [t=66.305s] Warning: PLL time error is large (-12.852 ns)! 2026-04-24 12:45:54.932647 gpsdo: [t=67.325s] Warning: PLL time error is large (-11.256 ns)! [press ?] [time: 17.67 / inf] [device_t0: 1461089768.709157800 s] [FPGA temp: 49 °C] [DAC temp: 62 °C] [PCB temp: 5 0 °C] [CPU temp: 47 °C] [receiver time: 67.81] [ACQ# 7.01] [ACQ# 3.80] [GPS_L1 7/7] [GAL_E1B 8/8] [GPS_L2C 7/7] [ GAL_E5b 8/8] [GPS_L1 7/7] [GAL_E1B 7/8] [GPS_L2C 4/7] [GAL_E5b 7/8] [static-kf2: running; short 1 SV slots; 12 SVs phase locked/12 SVs used] [PLL: LOCKING PHASE freq err: +1.706ppb (rms@0s: 0.000ppb) time err: -11.326ns (rms@0s: 0 .000ns) control: 5.162ppb (std@0s: 0.000ppb) slew@0s:0% latency: 147ms delay: 148ms queue:1] 2026-04-24 12:45:55.952358 gpsdo: [t=68.345s] Warning: PLL time error is large (-9.867 ns)! 2026-04-24 12:45:56.972684 gpsdo: [t=69.365s] Warning: PLL time error is large (-8.395 ns)! 2026-04-24 12:45:57.992230 gpsdo: [t=70.385s] Warning: PLL time error is large (-7.124 ns)! 2026-04-24 12:45:58.002393 static-kf2: [t=70.396s] [1/0/GAL_E1B/Sig30/SV30] [low pseudorange p-value: 1.75e-10] [err:-12.3m] [std:1.93m] [cn0: 50.7] 2026-04-24 12:45:59.011786 gpsdo: [t=71.405s] Warning: PLL time error is large (-5.858 ns)! 2026-04-24 12:46:00.032162 gpsdo: [t=72.425s] Warning: PLL time error is large (-4.883 ns)! 2026-04-24 12:46:00.371773 static-kf2: [t=72.760s] [1/0/GAL_E1B/Sig30/SV30] [low pseudorange p-value: 2.26e-11] [err:8.89m] [std:1.33m] [cn0: 54.0] 2026-04-24 12:46:01.051751 gpsdo: [t=73.445s] Warning: PLL time error is large (-4.030 ns)! 2026-04-24 12:46:02.072649 gpsdo: [t=74.465s] Warning: PLL time error is large (-2.832 ns)! 2026-04-24 12:46:03.092632 gpsdo: [t=75.485s] Warning: PLL time error is large (-2.239 ns)! 2026-04-24 12:46:04.112113 gpsdo: [t=76.505s] Warning: PLL time error is large (-1.504 ns)! 2026-04-24 12:46:07.812157 gpsdo: [t=80.205s] Time error changed sign (-42.5 -> 0.0 ns); phase lock achieved! 2026-04-24 12:46:15.670124 simulate-raw: [t=35.780s] [0/1/GAL_E1B/Sig09/SV09] Went out of view 2026-04-24 12:46:15.670138 simulate-raw: [t=35.780s] [0/2/GAL_E1C/Sig09/SV09] Went out of view [press ?] [time: 37.88 / inf] [device_t0: 1461089768.709164863 s] [FPGA temp: 49 °C] [DAC temp: 62 °C] [PCB temp: 50 °C] [CPU temp: 48 °C] [receiver time: 90.02] [ACQ# 7.01] [ACQ# 6.78] [GPS_L1 7/7] [GAL_E1B 8/8] [GPS_L2C 7/7] [GAL_E5b 8/8] [GPS_L1 7/7] [GAL_E1B 8/8] [GPS_L2C 4/7] [GAL_E5b 8/8] [static-kf2: running; 12 SVs phase locked/12 SVs used] [PLL: LOCKED freq err: -0.002ppb (rms@60s: 0.171ppb) time err: +0.051ns (rms@60s: 0.026ns) control: 6.812 ppb (std@60s: 0.074ppb) slew@60s:94% latency: 147ms delay: 146ms queue:1]