Replies: 1 comment
|
Hi @irudnyts According to the available documentation, the GOKU GM10 uses a u-blox M10050 GNSS module, but apparently you need a specific firmware version BF4.3X for UBX protocol support. I am unclear if this means that older firmware versions (e.g. BF4.2.X) do not support UBX at all, or simply that - like most u-blox GNSS modules - they are configured to output the NMEA protocol rather than UBX by default. I'm not in a position to comment on Flywoo's proprietary software or firmware configurations - you'd need to speak to the manufacturer or supplier directly (or ask on the Flywoo Q&A forum) - and without seeing an example of the actual raw datastream I can only speculate, but here are a few observations & suggestions:
from serial import Serial
from pyubx2 import NMEA_PROTOCOL, UBX_PROTOCOL, UBXReader
PORT = "/dev/ttyS0"
BAUD = 57600 # should this be 115200?
TIMEOUT = 3
with Serial(PORT, BAUD, timeout=TIMEOUT) as stream:
ubr = UBXReader(stream, protfilter=NMEA_PROTOCOL | UBX_PROTOCOL)
for raw, parsed in ubr:
if raw is not None:
print(parsed)
from serial import Serial
from pyubx2 import UBXMessage, TXN_NONE, SET_LAYER_RAM
PORT = "/dev/ttyS0"
BAUD = 57600
TIMEOUT = 3
cfgdata = [
("CFG_MSGOUT_UBX_NAV_PVT_UART1", 1),
("CFG_MSGOUT_UBX_NAV_SAT_UART1", 1),
("CFG_MSGOUT_UBX_NAV_DOP_UART1", 1),
]
cmd = UBXMessage.config_set(SET_LAYER_RAM, TXN_NONE, cfgdata)
print(cmd)
with Serial(PORT, BAUD, timeout=TIMEOUT) as stream:
stream.write(cmd.serialize())Refer to the ublox M10050 interface specification for further details, or consult the manufacturer or supplier. Hope this helps. |
Uh oh!
There was an error while loading. Please reload this page.
Hey! I am trying to use
pyubx2to stream from Flywoo GOKU GM10. From the official documentation it uses UBLOX protocol, but when I stream from it, the unknown protocol is streamed:All reactions