mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
Tools: autotest: use absolute path to defaults file for QuadPlane
This commit is contained in:
parent
74c114e455
commit
be3428de65
@ -58,13 +58,14 @@ class AutoTestQuadPlane(AutoTest):
|
|||||||
|
|
||||||
vinfo = vehicleinfo.VehicleInfo()
|
vinfo = vehicleinfo.VehicleInfo()
|
||||||
defaults_file = vinfo.options["ArduPlane"]["frames"][self.frame]["default_params_filename"]
|
defaults_file = vinfo.options["ArduPlane"]["frames"][self.frame]["default_params_filename"]
|
||||||
|
defaults_filepath = os.path.join(testdir, defaults_file)
|
||||||
|
|
||||||
self.sitl = util.start_SITL(self.binary,
|
self.sitl = util.start_SITL(self.binary,
|
||||||
wipe=True,
|
wipe=True,
|
||||||
model=self.frame,
|
model=self.frame,
|
||||||
home=self.home,
|
home=self.home,
|
||||||
speedup=self.speedup,
|
speedup=self.speedup,
|
||||||
defaults_file=defaults_file,
|
defaults_file=defaults_filepath,
|
||||||
valgrind=self.valgrind,
|
valgrind=self.valgrind,
|
||||||
gdb=self.gdb,
|
gdb=self.gdb,
|
||||||
gdbserver=self.gdbserver,
|
gdbserver=self.gdbserver,
|
||||||
|
Loading…
Reference in New Issue
Block a user