Add --max-range parameter. Use it for relative position limits, and to discard bad position results.

(cherry picked from commit 0d725508f78cb2fd7759efbb66b45b867d6f7722)
This commit is contained in:
Oliver Jowett 2015-01-13 20:03:34 +00:00
parent 8b56cd104f
commit fefce7b4bd
8 changed files with 95 additions and 8 deletions

View file

@ -367,6 +367,7 @@ struct { // Internal state
double fUserLat; // Users receiver/antenna lat/lon needed for initial surface location
double fUserLon; // Users receiver/antenna lat/lon needed for initial surface location
int bUserFlags; // Flags relating to the user details
double maxRange; // Absolute maximum decoding range, in *metres*
// Interactive mode
struct aircraft *aircrafts;