autotest: fixed SITL without ROS installed

This commit is contained in:
Andrew Tridgell 2015-04-01 12:28:33 -07:00
parent ca92821445
commit a0028e3faf
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,6 @@
from multicopter import MultiCopter
from helicopter import HeliCopter
from iris_ros import IrisRos
import util, time, os, sys, math
import socket, struct
import select, errno
@ -139,6 +138,7 @@ fdm = fgFDM.fgFDM()
if opts.frame == 'heli':
a = HeliCopter(frame=opts.frame)
elif opts.frame == 'IrisRos':
from iris_ros import IrisRos
a = IrisRos()
else:
a = MultiCopter(frame=opts.frame)