helpGPSD - Support: sr #109470, gpsprof -r cannot replay logfiles


sr #109470: gpsprof -r cannot replay logfiles

Submitted by:  None
Submitted on:  Fri 02 Mar 2018 11:16:32 PM UTC  
Category: NonePriority: 5 - Normal
Severity: 5 - BlockerStatus: None
Privacy: PublicAssigned to: None
Originator Email: -unavailable-Open/Closed: Open
Operating System: GNU/Linux

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Fri 02 Mar 2018 11:20:25 PM UTC, comment #1:

missed a bit in the original submission:

$ gpsprof -l foo.log > foo.gpt
$ gpsprof -r < foo.log


Fri 02 Mar 2018 11:16:32 PM UTC, original submission:

Current (3.17) gpsprof is broken:

$ gpsprof > foo.gpt
correctly generates a gnuplot file with 100 samples.

$ gpsprof -l foo.log > foo.gpt
gpsprof: replotting......(0.01 sec) done.
Traceback (most recent call last):
File "/usr/bin/gpsprof", line 529, in <module>
File "/usr/bin/gpsprof", line 206, in postprocess
self.centroid = (sum([x[0] for x in self.fixes]) / len(self.fixes),
ZeroDivisionError: division by zero

rewinding to 3.16 has a different, but also fatal breakage, in that all positions read from the logfile are recorded as 0 or nan:

plot "-" using 1:2 with points ls 3 title "101 GPS fixes" , cx(t, cep),cy(t, cep) ls 1 title "CEP (50%) = 0.000000 meters", cx(t, cep95),cy(t, cep95) title "CEP (95%) = 0.000000 meters", cx(t, cep99),cy(t, cep99) title "CEP (99%) = 0.0000

    1. meters"

# Position uncertainty, 2018-03-02T23:14:16, u-blox, 9600 8N1, cycle 1s
0.000000 0.000000 0.000000 0.000000 nan
0.000000 0.000000 0.000000 0.000000 nan
0.000000 0.000000 0.000000 0.000000 nan
0.000000 0.000000 0.000000 0.000000 nan
0.000000 0.000000 0.000000 0.000000 nan

The total effect is that no offline plots can be generated.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by None (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    No Changes Have Been Made to This Item

    Back to the top

    Powered by Savane 3.1-cleanup1