1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-10 18:24:11 +01:00
LibrePilot/flight/Modules/FlightPlan/flightplans/test.py

16 lines
212 B
Python

import openpilot
import sys
n = 0
timenow = openpilot.time()
while n < 120:
n = n+1
openpilot.debug(n, timenow)
timenow = openpilot.delayUntil(timenow, 1000)
if openpilot.hasStopRequest():
sys.exit()