Browse Source

autotest: fixed import of mavwp

master
Andrew Tridgell 12 years ago
parent
commit
21436dc1a6
  1. 3
      Tools/autotest/apmrover2.py
  2. 3
      Tools/autotest/arducopter.py
  3. 3
      Tools/autotest/arduplane.py
  4. 3
      Tools/autotest/common.py

3
Tools/autotest/apmrover2.py

@ -2,7 +2,8 @@
import util, pexpect, sys, time, math, shutil, os import util, pexpect, sys, time, math, shutil, os
from common import * from common import *
import mavutil, random from pymavlink import mavutil
import random
# get location of scripts # get location of scripts
testdir=os.path.dirname(os.path.realpath(__file__)) testdir=os.path.dirname(os.path.realpath(__file__))

3
Tools/autotest/arducopter.py

@ -2,7 +2,8 @@
import util, pexpect, sys, time, math, shutil, os import util, pexpect, sys, time, math, shutil, os
from common import * from common import *
import mavutil, mavwp, random from pymavlink import mavutil, mavwp
import random
# get location of scripts # get location of scripts
testdir=os.path.dirname(os.path.realpath(__file__)) testdir=os.path.dirname(os.path.realpath(__file__))

3
Tools/autotest/arduplane.py

@ -2,7 +2,8 @@
import util, pexpect, sys, time, math, shutil, os import util, pexpect, sys, time, math, shutil, os
from common import * from common import *
import mavutil, random from pymavlink import mavutil
import random
# get location of scripts # get location of scripts
testdir=os.path.dirname(os.path.realpath(__file__)) testdir=os.path.dirname(os.path.realpath(__file__))

3
Tools/autotest/common.py

@ -1,4 +1,5 @@
import util, pexpect, time, math, mavwp import util, pexpect, time, math
from pymavlink import mavwp
# a list of pexpect objects to read while waiting for # a list of pexpect objects to read while waiting for
# messages. This keeps the output to stdout flowing # messages. This keeps the output to stdout flowing

Loading…
Cancel
Save