mirror of https://github.com/ArduPilot/ardupilot
Tools: Fix message rate setting in tests
This commit is contained in:
parent
9042e7de1a
commit
dad98d99eb
|
@ -6413,8 +6413,8 @@ class TestSuite(ABC):
|
||||||
self.remove_message_hook(hook)
|
self.remove_message_hook(hook)
|
||||||
for script in dead.installed_scripts:
|
for script in dead.installed_scripts:
|
||||||
self.remove_installed_script(script)
|
self.remove_installed_script(script)
|
||||||
for (message_id, interval_us) in dead.overridden_message_rates.items():
|
for (message_id, rate_hz) in dead.overridden_message_rates.items():
|
||||||
self.set_message_interval(message_id, interval_us)
|
self.set_message_rate_hz(message_id, rate_hz)
|
||||||
for module in dead.installed_modules:
|
for module in dead.installed_modules:
|
||||||
print("Removing module (%s)" % module)
|
print("Removing module (%s)" % module)
|
||||||
self.remove_installed_modules(module)
|
self.remove_installed_modules(module)
|
||||||
|
|
Loading…
Reference in New Issue