refactored
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
from msg_container import MsgContainer
|
||||
from receiver import Nmea
|
||||
|
||||
|
||||
class Gga(Nmea):
|
||||
def __init__(self, name: str, tid: str):
|
||||
Nmea.__init__(self, name, tid=tid, msg_type="GGA")
|
||||
|
||||
def on_recv(self, msg: MsgContainer):
|
||||
data = msg.data.decode(encoding="utf-8")
|
||||
print(data)
|
||||
Reference in New Issue
Block a user