Hi Chris,
> Perhaps this should be a tunable parameter?
yes, I think it should be. What the optimal elevation mask would be is
not obvious to me. Some factors:
- if we are flying at 100m, the horizon may be a fair bit further away
than usual, and noise from low sats may be less
- when a plane is rolled at 70 degrees in a turn, the patch antenna
will have higher gain towards the horizon. Could we lose some of the
higher elevation satellites?
I think we want a GPS_ELEV_MASK parameter. Unfortunately the GPS object
is dynamically allocated, and a quirk of our current parameter system is
we can't have parameters on dynamically allocated objects. I've been
thinking of re-doing the GPS driver to fix this, basically getting rid
of the separately compilable GPS drivers, and just always compile them
all in. That would save a lot of ram on APM2, plus would also mean we
could have parameters in the GPS driver. I'd also like parameters for
this like SBAS, and the dynamic mode.
Cheers, Tridge