Copter: correct name used to retrieve parameters for frame

This commit is contained in:
Peter Barker 2024-04-17 19:24:51 +10:00 committed by Peter Barker
parent 8f2b2cfe31
commit 8e6a7f8ead
1 changed files with 1 additions and 2 deletions

View File

@ -8881,8 +8881,7 @@ class AutoTestCopter(vehicle_test_suite.TestSuite):
# the model string for Callisto has crap in it.... we
# should really have another entry in the vehicleinfo data
# to carry the path to the JSON.
actual_model = model.split(":")[0]
defaults = self.model_defaults_filepath(actual_model)
defaults = self.model_defaults_filepath(frame)
if not isinstance(defaults, list):
defaults = [defaults]
self.customise_SITL_commandline(