GPS Issue | GPS blinks red and no data
-
Hi Team, we are having a new weird issue. We attached a M8N GPS to the 12 Pin J19 port. We are also attaching a ELRS receiver in the same port. The wiring is correct. Everything is powered up well.
The issue is when we start up our drone we do not get any GPS data, the GPS blinks red. The solution I found was that I need to manually stop the GPS in the mavlink shell and then restart it with baudrate set to 115200. I had to do these steps everytime I power up my drone.
I am not able to configure these steps in the voxl-px4.conf file. When I add these steps in the voxl-px4.conf, the GPS and the ESC refuses to run.
I am able to work it manually but i dont know how to automate it.
The commands i used were "qshell gps stop" " qshell gps start -b 115200"
Please help.
-
@qpvtltd What SDK do you have loaded? You can check this with
voxl-version
-
@qpvtltd You can edit the file
/usr/bin/voxl-px4-start
to change the gps start line and add the baudrate -
@tom HW version is M0054 and voxl-suite is 1.1.2
-
@Eric-Katzfey its is working now but it does not work when i add "-b 115200"...i removed it, so basically rolling back to the initial lines and now its working
-
@Eric-Katzfey it stopped working again. I had to manually restart the GPS from the mavlink shell. Help please.
-
@qpvtltd What happens if you specify a different baud rate like
-b 9600
,-b 57600
or-b 38400
? -
@Eric-Katzfey no. not working. GPS HDOP VDOP not showing. No data.
-
@qpvtltd You can add to the end of
/usr/bin/voxl-px4-start
. So, at the end of that file add something likeqshell gps stop
,/bin/sleep 1
, andqshell gps start
. Does that work? -
@Eric-Katzfey it is kind of working now using the default config file. still not able to figure out what was the actual issue. Thanks anyways.