Skip to content

Flights

Offer Shmuely edited this page Aug 21, 2022 · 8 revisions

Horus Widget that count number of flights

  • flight considered successful: after 30sec the engine above 25%, and telemetry is active (to indicated that the model connected), and safe switch ON
  • flight considered ended: after 8sec of battery disconnection (detected by no telemetry)
  • warning: do NOT use this widget if model is using GV9!!!

widget assume the following:

  • the model have motor
  • the motor is activated on channel 3 (can be change in settings)
  • there is telemetry with one of the above [RSSI|RxBt|A1|A2|1RSS|2RSS|RQly]
  • there is a safe switch (arm switch)
  • global variable GV9 is free (i.e. not used)

state machine:

  • ground --> flight-starting --> flight-on --> flight-ending --> ground
  • all-flags on for 30s => flight-on
  • no telemetry for 8s => flight-completed

Note:

  • there is two options of voice indication (just copy flight_logged2.wav-->flight_logged.wav, flight_ended2.wav-->flight_ended.wav)
  • you can also put your own
  • if you do not like the sound, just delete the files

view of the widget on the Top Bar

image

view of the widget with debug mode on

image

image

To change the existing number of flight, edit the value of GV9

FlightCount2

FlightCount3

Clone this wiki locally