mirror of https://github.com/ArduPilot/ardupilot
Copter: correct name used to retrieve parameters for frame
This commit is contained in:
parent
8f2b2cfe31
commit
8e6a7f8ead
|
@ -8881,8 +8881,7 @@ class AutoTestCopter(vehicle_test_suite.TestSuite):
|
||||||
# the model string for Callisto has crap in it.... we
|
# the model string for Callisto has crap in it.... we
|
||||||
# should really have another entry in the vehicleinfo data
|
# should really have another entry in the vehicleinfo data
|
||||||
# to carry the path to the JSON.
|
# to carry the path to the JSON.
|
||||||
actual_model = model.split(":")[0]
|
defaults = self.model_defaults_filepath(frame)
|
||||||
defaults = self.model_defaults_filepath(actual_model)
|
|
||||||
if not isinstance(defaults, list):
|
if not isinstance(defaults, list):
|
||||||
defaults = [defaults]
|
defaults = [defaults]
|
||||||
self.customise_SITL_commandline(
|
self.customise_SITL_commandline(
|
||||||
|
|
Loading…
Reference in New Issue