Skip to content

Landing predictions become inf / nan #49

Description

@KevWal

Playing back this GPS track: https://github.com/KevWal/pits/blob/63f0a1918b78d8278c807f693a08f81b01c122c2/nmea/Friday-No-GSV-VTG.NMEA

I get issues with the prediction code:

LORA0: $$KW01,236,21:03:57,52.01939,-0.15447,17022,35,83,5,31.3,4.317,0.99,52.29643,2.62463,3.3,3333,-70,6,22,NBA6C
...
LORA0: $$KW01,237,21:04:16,52.01968,-0.15169,16838,1,0,5,31.2,4.273,0.97,52.29172,2.58097,3.3,3270,-64,8,23,N
8479
...
LORA0: $$KW01,238,21:04:27,52.01996,-0.14920,16674,35,83,5,31.2,4.356,inf, nan, nan,0.0,2147483647,-64,8,23,N1051
...
LORA0: $$KW01,239,21:04:27,52.02020,-0.14700,16529,35,77,5,31.2,4.311,inf, nan, nan,0.0,2147483647,-64,8,23,N
BCD6

Playing it back a second time, I get the same thing (Scroll back buffer didnt go back far enough to find the start of the issue):

LORA0: $$KW01,254,22:39:14,52.03025,0.02985,11048,87,91,5,30.4,4.350,inf, nan, nan,0.0,2147483647,-62,6,64,N6B11
...
LORA0: $$KW01,255,22:39:30,52.03013,0.03556,10942,87,91,5,30.6,4.276,inf, nan, nan,0.0,2147483647,-62,6,64,N
0E80
...
LORA0: $$KW01,256,22:39:47,52.02990,0.04163,10833,87,92,5,30.6,4.353,inf, nan, nan,0.0,2147483647,-62,6,64,N*3319

Interestingly, 2 values are fixed again at the very end of the playback:

LORA0: SSDV image 176 packet 79 of 114
LORA0: $$KW01,408,23:19:34,51.99414,0.58410,00126,20,92,5,31.0,4.346,inf, nan, nan,0.0,2147483647,-60,6,95,NC940
LORA0: SSDV image 176 packet 80 of 114
LORA0: $$KW01,409,23:19:35,51.99412,0.58437,00116,20,92,5,31.0,4.263,inf, nan, nan,0.0,2147483647,-60,6,95,N
2BA4
LORA0: SSDV image 176 packet 81 of 114
LORA0: $$KW01,410,23:19:35,51.99412,0.58454,00109,20,92,5,31.0,4.263,inf, nan, nan,0.0,2147483647,-60,6,95,ND6F9
LORA0: ^^KW01,434.712,1,2,48,96,0
07DE
LORA0: SSDV image 176 packet 82 of 114
LORA0: $$KW01,411,23:19:45,51.99410,0.58506,00090,14,90,5,30.9,4.263,inf,51.99411,0.58481,0.0,0,-60,6,95,NAA24
LORA0: SSDV image 176 packet 83 of 114
LORA0: $$KW01,412,23:19:47,51.99410,0.58519,00084,1,0,5,30.9,4.300,inf,51.99410,0.58519,0.0,0,-60,6,95,N
1E58
LORA0: SSDV image 176 packet 84 of 114
LORA0: $$KW01,413,23:19:53,51.99410,0.58560,00065,14,90,5,30.9,4.300,inf,51.99410,0.58519,0.0,0,-60,6,95,N*FFFA

Cheers
Kev

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions