sitl: we don't need mavlink in copter sim

This commit is contained in:
Andrew Tridgell 2012-04-24 22:18:50 +10:00
parent 9d56d28615
commit cbecb3eff9
1 changed files with 0 additions and 8 deletions

View File

@ -5,14 +5,6 @@ import util, time, os, sys, math
import socket, struct import socket, struct
import select, fgFDM, errno import select, fgFDM, errno
# find the mavlink.py module
for d in [ 'pymavlink',
os.path.join(os.path.dirname(os.path.realpath(__file__)), '../pymavlink') ]:
if os.path.exists(d):
sys.path.insert(0, d)
import mavlink
def sim_send(m, a): def sim_send(m, a):
'''send flight information to mavproxy and flightgear''' '''send flight information to mavproxy and flightgear'''
global fdm global fdm