I had Navio GPS working fine on a Raspi 3.
I removed the GPS antenna for a few weeks to test manual flight
I have now replaced the Pi3 with a Pi 4 and have plugged the antenna back in but I’m getting nothing
When I run
./ublox_capture.py --port spi:0.0 --baudrate 5000000 --show
on the pi I get the output below – the ublox is sending bad messages?
Any thoughts I how to fix – or do I have dead hardware? The rest of the Navio appears ok. Motor drives, sensors etc
(0, 0)
try set binary at 5000000
ACK_ACK: clsID=6, msgID=0
ACK_ACK: clsID=6, msgID=8
ACK_ACK: clsID=6, msgID=1
ACK_ACK: clsID=6, msgID=1
ACK_ACK: clsID=6, msgID=1
ACK_ACK: clsID=6, msgID=1
ACK_ACK: clsID=6, msgID=1
ACK_ACK: clsID=6, msgID=1
ACK_ACK: clsID=6, msgID=1
ACK_NACK: clsID=6, msgID=1
ACK_NACK: clsID=6, msgID=1
ACK_ACK: clsID=6, msgID=1
ACK_NACK: clsID=6, msgID=1
ACK_NACK: clsID=6, msgID=1
ACK_ACK: clsID=6, msgID=1
ACK_ACK: clsID=6, msgID=1
NAV_SOL: iTOW=5137000, fTOW=0, week=0, gpsFix=0, flags=64, ecefX=637813700, ecefY=0, ecefZ=0, pAcc=649531392, ecefVX=0, ecefVY=0, ecefVZ=0, sAcc=450, pDOP=9999, reserved1=2, numSV=0, reserved2=215800
Traceback (most recent call last):
File "./ublox_capture.py", line 57, in <module>
msg = dev.receive_message()
File "/home/pi/git/pyUblox/ublox.py", line 840, in receive_message
self.special_handling(msg)
File "/home/pi/git/pyUblox/ublox.py", line 790, in special_handling
if msg.name() == 'CFG_NAV5':
File "/home/pi/git/pyUblox/ublox.py", line 569, in name
raise UBloxError('Unknown message %s length=%u' % (str(type), len(self._buf)))
ublox.UBloxError: Unknown message (1, 7) length=100