Skip to content

GPS math and calculation capability (Enhancement) [Ultimate goal is tracking progress on a GPS course] #209

@GoogleCodeExporter

Description

@GoogleCodeExporter
Which board (stock / gruvin9x / sky9x / Taranis) are you using?
TARANIS

What is your openTx FW version?
opentx-taranis-noheli-notemplates-en-r2834.bin

What is your openTx EEPROM version?
215

What steps will reproduce the problem?
1.  The GPS values reported in the telemetry are not usable.  (They are in NMEA 
format (or HH:MM:SS) and as such they cannot be directly used for calculations. 
 (need to be converted to decimal degrees)
2.  There are no functions for entering waypoints (reference GPS positions)
3.  There are no functions for calculating distance/heading from existing 
position to/from waypooints.


What is desired:
A)  A way to enter a "course" (series of GPS positions)
B)  A way to use current GPS position and course positions to calculate 
progress around the course.
        i) Distance to/from
        ii) Heading to/from
C) A way to use the distance/heading values during flight (announce with voice 
for example).
D) Expose these to the user for programming to allow advanced GPS courses and 
scoring of GPS-based flight tasks.
E) Expose this into the logging function.

My ultimate goal would be to have OPENTX perform the function currently 
performed by the "SKYNAVIGATOR"  (see manual at 
http://www.icare-rc.com/document/SkyNav%20Handbook%20v%20_2_.pdf)

Implementation possibilities:
i) Send the GPS and altitude information externally through serial port and 
perform all of the calculations and in-flight reporting via an external app on 
a cell phone.
ii) Expose just enough math and variables and allow users to act on this using 
Lua scripts.
iii) Develope the custom functions, variables, and math functions and allow 
users to program these via custom functions. (In the normal manner in OPENTX)



What is the expected output? What do you see instead?

Please provide any additional information below.

See attached file for SKYNAVIGATOR (GPS Triangle racing system) which could per 
performed in OPENTX transmitter using Vario and GPS sensors.

Original issue reported on code.google.com by pch...@comcast.net on 31 Dec 2013 at 10:55

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions