No GPS-fix indication with new dev versions

This forum is dedicated to software development related to MultiWii.
It is not the right place to submit a setup problem.
Software download
Post Reply
vistauser
Posts: 14
Joined: Mon Jul 25, 2011 7:58 pm
Location: Germering, Southern Germany

No GPS-fix indication with new dev versions

Post by vistauser »

Hi,

in firmware v2.1 i got nice fix indication with sat >=5 by the status LED blinking (ser. NMEA GPS is installed).
After testing r1177 and now r1232 this doesnt work anymore. Without this fix indication GPS is unuseable.

With #define GPS_LED-INDICATOR uncommented in r1232 i get some compiler errors.
I think, software changes in this area are the reason for this.
In v2.1 compiling and function are as expected.

GPS values in GUI are OK but i cant see any difference in display between indication of sat <5 or sat >=5 e.g. fix,
the green GPS fix marker is blinking all the way.
Any hints?
vistauser

vpb
Posts: 231
Joined: Mon Jul 23, 2012 4:09 pm

Re: No GPS-fix indication with new dev versions

Post by vpb »

I use AIO board, v2.1 green led flashes rapidly when GPS's fixed, on r1177, orange led slowly blinks after powering on, when GPS's fixed flashes twice (or three times) then stops for 1-2s then flashes again. It's harder to see but it's there.

Termic1
Posts: 40
Joined: Tue Aug 21, 2012 11:14 am

Re: No GPS-fix indication with new dev versions

Post by Termic1 »

vistauser wrote:Hi,

in firmware v2.1 i got nice fix indication with sat >=5 by the status LED blinking (ser. NMEA GPS is installed).
After testing r1177 and now r1232 this doesnt work anymore. Without this fix indication GPS is unuseable.

With #define GPS_LED-INDICATOR uncommented in r1232 i get some compiler errors.
I think, software changes in this area are the reason for this.
In v2.1 compiling and function are as expected.

GPS values in GUI are OK but i cant see any difference in display between indication of sat <5 or sat >=5 e.g. fix,
the green GPS fix marker is blinking all the way.
Any hints?
vistauser


New dev use different method to indicate valid fix:

Code: Select all

/* indicate a valid GPS fix with at least 5 satellites by flashing the LED  - Modified by MIS - Using stable LED (YELLOW on CRIUS AIO) led work as sat number indicator 
      - No GPS FIX -> LED blink at speed of incoming GPS frames
      - Fix and sat no. bellow 5 -> LED off
      - Fix and sat no. >= 5 -> LED blinks, one blink for 5 sat, two blinks for 6 sat, three for 7 ... */
    #define GPS_LED_INDICATOR

vistauser
Posts: 14
Joined: Mon Jul 25, 2011 7:58 pm
Location: Germering, Southern Germany

Re: No GPS-fix indication with new dev versions

Post by vistauser »

Hallo,

tnx alexinparis,
with r1240 now nice gps indications at the stable led on my flyduino mega fc and serial fmp04 gps.
only blinking with sat <5 stops after some seconds from power on and doesnt start blinking again if sats lower from 5 to 4.

altitude indication still fluctuating around zero (in v2.1 i had a good, nearly perfect indication of the actual altitude).

stable flying with only mag sensor activated is very good, as always,hi.

mfg
vistauser

Post Reply