mirror of https://github.com/ArduPilot/ardupilot
autotest: fixed jsbsim on fedora
This commit is contained in:
parent
d5d2fc667f
commit
9d6d59b1dd
|
@ -1,13 +1,13 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
# run a jsbsim model as a child process
|
# run a jsbsim model as a child process
|
||||||
|
|
||||||
import sys, os, pexpect, fdpexpect, socket
|
import sys, os, pexpect, socket
|
||||||
import math, time, select, struct, signal, errno
|
import math, time, select, struct, signal, errno
|
||||||
|
|
||||||
sys.path.insert(0, os.path.join(os.path.dirname(os.path.realpath(__file__)), '..', 'pysim'))
|
sys.path.insert(0, os.path.join(os.path.dirname(os.path.realpath(__file__)), '..', 'pysim'))
|
||||||
sys.path.insert(0, os.path.join(os.path.dirname(os.path.realpath(__file__)), '..', '..', '..', '..', 'mavlink', 'pymavlink'))
|
sys.path.insert(0, os.path.join(os.path.dirname(os.path.realpath(__file__)), '..', '..', '..', '..', 'mavlink', 'pymavlink'))
|
||||||
|
|
||||||
import util, fgFDM, atexit
|
import util, fgFDM, atexit, fdpexpect
|
||||||
|
|
||||||
class control_state(object):
|
class control_state(object):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
|
Loading…
Reference in New Issue