[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Strangeness with speed
From: |
Florian Kiera |
Subject: |
Re: Strangeness with speed |
Date: |
Thu, 17 Feb 2022 16:55:13 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 |
Am 17.02.22 um 15:20 schrieb Владимир Калачихин:
17.02.2022 14:14, Florian Kiera пишет:
Besides, its interesting that gpsd is calculating any speed at all
with the "sentences.nmea" file you gave us, as multiple NMEA
sentences are from the exact same time.
I think that gpsd never calculates the speed and ignores any time.
gpsd does calculate the speed by using the latest TPV and the current
TPV just fine. It uses simple mathematics so thats fine. As mentioned in
my last email: speed is 0 because the TPV before that has the same
coordinates so you haven't moved in that time at all.
But may be everything previously said are empty words.
In attachment - two NMEA files and two JSON outputs.
The JSON is obtained from NMEA by
cat sentences1.nmea | gpsdecode > senteces1.gpsd
File senteces1.gpsd has speed == 0, file senteces2.gpsd - not.
I don't see any differences between sentences1.nmea and
sentences2.nmea, except time. Both were created from one real NMEA,
but sentences1.nmea with changed time.
If this is about time - what's wrong with times in senteces1.gpsd?
What actually wonders me is why does gpsd give out a different TPV with
a small time difference? Maybe the high frequency of NMEA messages in
sentences1 is at fault?
--
###############################################################
Florian Kiera Tel: (0385) 3993 93 58
Logic Way GmbH Geschäftsführer: Andreas Loerzer
Hagenower Strasse 73 HTTP: http://www.logicway.de
19061 Schwerin email: mailto:florian.kiera@logicway.de
###############################################################
Re: Strangeness with speed, Florian Kiera, 2022/02/17
Re: Strangeness with speed, Gary E. Miller, 2022/02/17
Re: Strangeness with speed, Владимир Калачихин, 2022/02/18
Re: Strangeness with speed, Florian Kiera, 2022/02/18