Skip to content

Commit

Permalink
Adds support for $PFLAA and $PFLA… …U traffic sentences from the FLAR…
Browse files Browse the repository at this point in the history
  • Loading branch information
nrbray and Nigel Bray authored Oct 17, 2023
1 parent 5f27ba4 commit 36cca57
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions pynmea2/types/talker.py
Original file line number Diff line number Diff line change
Expand Up @@ -1038,3 +1038,35 @@ class ALK(TalkerSentence,SeaTalk):
("Data Byte 8", "data_byte8"),
("Data Byte 9", "data_byte9")
)

# Implemented by Davis Chappins for FLARM traffic
#PFLAU: Operating status and priority intruder and obstacle data
class LAU(TalkerSentence):
fields = (
("RX","RX"),
("TX","TX"),
("GPS","GPS"),
("Power","Power"),
("AlarmLevel","AlarmLevel"),
("RelativeBearing","RelativeBearing"),
("AlarmType","AlarmType"),
("RelativeVertial","RelativeVertical"),
("RelativeDistance","RelativeDistance"),

)

#PFLAA: Data on other moving objects around
class LAA(TalkerSentence):
fields = (
("AlarmLevel","AlarmLevel"),
("RelativeNorth","RelativeNorth"),
("RelativeEast","RelativeEast"),
("RelativeVertical","RelativeVertical"),
("ID-Type","ID-Type"),
("ID","ID"),
("Track","Track"),
("TurnRate","TurnRate"),
("GroundSpeed","GroundSpeed"),
("ClimbRate","ClimbRate"),
("Type","Type"),
)

0 comments on commit 36cca57

Please sign in to comment.