GPS internals: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 9: Line 9:
It is assumed the reader is familiar with using the GPS in flight, as detailed in the [[user's manual|GPS]].
It is assumed the reader is familiar with using the GPS in flight, as detailed in the [[user's manual|GPS]].


The GPS is a work in progress - if you have problems with a feature, or think functionality is missing, don't work around the problem yourself, get in touch. It's far better to support a feature used by 50% of real-world devices, in the core code, than to duplicate it many times over. (Of course, if the feature is only found in *one* real world device, it may not be added to the core code)
The GPS is a work in progress - if you have problems with a feature, or think functionality is missing, don't work around the problem yourself, get in touch. It's far better to support a feature used by 50% of real-world devices, in the core code, than to duplicate it many times over. (Of course, if the feature is only found in ''one'' real world device, it may not be added to the core code)


==Concepts==
==Concepts==
Line 30: Line 30:
==Command List==
==Command List==


More commands can be added! just ask!
More commands can be added! Let James know what you want (and why) and it can probably be done.


;leg
;leg
Line 43: Line 43:
;nearest
;nearest
: load the nearest waypoint (of a type) into the scratch. The following parameters are supported:
: load the nearest waypoint (of a type) into the scratch. The following parameters are supported:
:# max-results - maximum number of nearby waypoints to load. Default is 1.
: ;max-results
:# type - a type string. 'any', 'all' or an empty value mean all types
: : maximum number of nearby waypoints to load. Default is 1.
: ; type
: :  a type string. 'any', 'all' or an empty value mean all types


;search,
;search
: load waypoints by matching ident or name. The following parameters are supported:
: load waypoints by matching ident or name. The following parameters are supported:
:# type - as for 'nearest'
: ;type
:# ident - the string to search on
: :  as for 'nearest'
order-by-range - a flag indicating if matches should be returned sorted by distance (the default) or alphabetically
: ;ident
exact - a flag indicated if matches must be exact (true) or partial (false). In
: : the string to search on
: ; order-by-range
: :  a flag indicating if matches should be returned sorted by distance (the default) or alphabetically
: ;exact
: : a flag indicated if matches must be exact (true) or partial (false). In
;next
;next
580

edits

Navigation menu