mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
autotest: use get_parameter in place of mav's param object
This is the only place in the code that does this
This commit is contained in:
parent
b1ccf3b3f8
commit
bcc1cb9dbb
@ -8568,7 +8568,7 @@ switch value'''
|
||||
for (ins_prefix, sim_prefix, pre_value, post_value) in param_map:
|
||||
for axis in axes:
|
||||
pname = ins_prefix+"_"+axis
|
||||
v = self.mav.param(pname)
|
||||
v = self.get_parameter(pname)
|
||||
expected_v = getattr(post_value, axis.lower())
|
||||
if v == expected_v:
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user