From cbecb3eff95b87f0151d118c83672b6f537c0de5 Mon Sep 17 00:00:00 2001
From: Andrew Tridgell <tridge@samba.org>
Date: Tue, 24 Apr 2012 22:18:50 +1000
Subject: [PATCH] sitl: we don't need mavlink in copter sim

---
 Tools/autotest/pysim/sim_multicopter.py | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/Tools/autotest/pysim/sim_multicopter.py b/Tools/autotest/pysim/sim_multicopter.py
index 803e5f1e2..95e190264 100755
--- a/Tools/autotest/pysim/sim_multicopter.py
+++ b/Tools/autotest/pysim/sim_multicopter.py
@@ -5,14 +5,6 @@ import util, time, os, sys, math
 import socket, struct
 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):
     '''send flight information to mavproxy and flightgear'''
     global fdm
-- 
GitLab