MissionPlanner icon indicating copy to clipboard operation
MissionPlanner copied to clipboard

Orphan, undocumented "TimeInAir" parameter

Open airborneimager opened this issue 13 years ago • 3 comments

There is a displayable APM parameter called "timeInAir" which looks to be a very useful item to display in the MP. Unfortunately, there appears to be no documentation regarding what starts and stops the timer underlying this display. Moreover, it appears to persist from one disconnect to the next reconnect of the APM to the MP. This timer is only useful if it starts and stops intelligently, or if it can be reset by the user so it starts each flight at zero. it should be made useful, and documented in the Wiki.

airborneimager avatar May 28 '13 05:05 airborneimager

it will now reset on each connect. and starts and stops when the throttle of the mav is above 12 %

meee1 avatar May 28 '13 09:05 meee1

Great - thanks for the reply.

On Tue, May 28, 2013 at 2:34 AM, meee1 [email protected] wrote:

it will now reset on each connect. and starts and stops when the throttle of the mav is above 12 %

— Reply to this email directly or view it on GitHubhttps://github.com/diydrones/MissionPlanner/issues/62#issuecomment-18540192 .

airborneimager avatar May 28 '13 21:05 airborneimager

Actually, using a throttle value of 12% as a start/stop trigger is perhaps not perfect - I often pull back to idle when dropping down from high altitude. This would stop the TimeInAir clock. Could you consider ANDING this with a nonzero value of either airspeed or ground speed, which should only be true if the (fixed-wing) aircraft is in flight? This way the TimeInAir clock would continue to increment even if the throttle were at idle during flight. Please let me know if you would like me to submit this as a new issue.

On Tue, May 28, 2013 at 2:34 AM, meee1 [email protected] wrote:

it will now reset on each connect. and starts and stops when the throttle of the mav is above 12 %

— Reply to this email directly or view it on GitHubhttps://github.com/diydrones/MissionPlanner/issues/62#issuecomment-18540192 .

airborneimager avatar May 28 '13 21:05 airborneimager