mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-10 18:24:11 +01:00
b297ef0ae5
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2535 ebee16cc-31ac-478f-84a7-5cbb03baadba
16 lines
212 B
Python
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()
|
|
|
|
|
|
|