1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-03 11:24:10 +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()