Difference between revisions of "Talk:Flight Plans"
Jump to navigation
Jump to search
(documentation of available flight plan variables) |
|||
Line 16: | Line 16: | ||
* PowerVoltage() := return current voltage of the battery | * PowerVoltage() := return current voltage of the battery | ||
* InsideKill(GetPosX(), GetPosY())) := inside of a point??? | * InsideKill(GetPosX(), GetPosY())) := inside of a point??? | ||
==> Done the 02/09/16 |
Latest revision as of 02:45, 9 February 2016
At 6.1 Expressions there is the entry:
"some internal autopilot variables (not fully documented, see examples)".
I think it would be very helpful to start a list of these variables, in order to know how powerful flightplan programming can be.
In order to start (may be alphabetically):
* autopilot_flight_time := time since autopilot was booted * datalink_time := time since last connection of telemetry to ground control station * GetPosAlt() := returns the current altitude above ground level * GetPosX() := returns x (easting) of current position (relative to reference???) * GetPosY() := returns y (northing) of current position (relative to reference???) * ground_alt := altitude above ground level * nav_radius := default radius as given in the airframe file * NavKillThrottle() := function to switch off throttle * PowerVoltage() := return current voltage of the battery * InsideKill(GetPosX(), GetPosY())) := inside of a point???
==> Done the 02/09/16