This website requires JavaScript.
Explore
Help
Register
Sign In
rooty
/
LibrePilot
Watch
1
Star
0
Fork
0
You've already forked LibrePilot
mirror of
https://bitbucket.org/librepilot/librepilot.git
synced
2024-12-13 20:48:42 +01:00
Code
Issues
Releases
Activity
a0b1d986e4
LibrePilot
/
flight
/
Modules
/
FlightPlan
/
flightplans
/
test.py
10 lines
98 B
Python
Raw
Normal View
History
Unescape
Escape
Added support for FlightPlan in win32 SiTL and fixed line endings in Python files, git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2411 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-14 00:54:30 +01:00
import
uavobjects
import
sys
Flight/FlightPlan: Enable Python VM and test flightplan execution. From now on a Python executable needs to be in the system path as it is used in the Makefile. A test script is statically linked (will eventually be uploaded by the GCS and stored in the VM), it can be found under: Modules/FlightPlan/flightplans/test.py To start the script send the FlightPlanControl object with the Start command, to stop send the Stop or Kill commands. Next release will be the OpenPilot python libraries and access to UAVObjects from the script. git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2480 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-19 04:34:01 +01:00
n
=
0
while
n
<
200000
:
uavobjects
.
FlightPlanStatusUpdate
(
n
)
n
=
n
+
1
Added support for FlightPlan in win32 SiTL and fixed line endings in Python files, git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2411 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-14 00:54:30 +01:00
Reference in New Issue
Copy Permalink