Important: These forums are for discussions between SkyDemon users. They are not routinely monitored by SkyDemon staff so any urgent issues should be sent directly to our Customer Support.

Bug in parsing Flarm PFLAA sentence - distance always shown as 0nm


Author
Message
b3nn0
b
Too Much Forum (90 reputation)Too Much Forum (90 reputation)Too Much Forum (90 reputation)Too Much Forum (90 reputation)Too Much Forum (90 reputation)Too Much Forum (90 reputation)Too Much Forum (90 reputation)Too Much Forum (90 reputation)Too Much Forum (90 reputation)
Group: Forum Members
Posts: 35, Visits: 3.2K
Hi,
there seems to be a bug in your Flarm-NMEA parser (PFLAA sentence).
For the sake of testing, I did a little simulation in my Stratux.
Relevant NMEA output:
$PFLAU,26,1,2,1,2,17,2,30,1337,111111*7B
$PFLAA,2,1111,743,30,1,111111,180,0,36,0.0,0*54

The PFLAA sentence shows a relativeNorth distance of 1111m and a relativeEast distance of 743m.
However, SkyDemon shows the distance as 0,0nm it its banner. The voice alert tells the correct distance.


Tim Dawson
Tim Dawson
SkyDemon Team (560K reputation)SkyDemon Team (560K reputation)SkyDemon Team (560K reputation)SkyDemon Team (560K reputation)SkyDemon Team (560K reputation)SkyDemon Team (560K reputation)SkyDemon Team (560K reputation)SkyDemon Team (560K reputation)SkyDemon Team (560K reputation)
Group: Forum Members
Posts: 6.7K, Visits: 5.5K
It's the PFLAU message that is generating an alert in SkyDemon. The distance reading does appear to have a bug in it, this is occurring where the distance is less than 1nm. Thanks for letting us know.

However we would ask that if your device is pretending to be a Flarm device, please do NOT issue PFLAU messages. If you do, you will override SkyDemon's own traffic collision and awareness algorithms. That is not typically what users want.

Edited 9/10/2020 9:37:48 AM by Tim Dawson
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Login

Explore
Messages
Mentions
Search