From f94a6984718010409d1545e86404f9efd4873634 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Mon, 16 Dec 2024 12:21:01 +1100 Subject: [PATCH] autotest: ensure WATER_DEPTH has correct rate with multiple backends --- Tools/autotest/rover.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Tools/autotest/rover.py b/Tools/autotest/rover.py index af876bdece..ec6d8a5f4c 100644 --- a/Tools/autotest/rover.py +++ b/Tools/autotest/rover.py @@ -6121,7 +6121,9 @@ Brakes have negligible effect (with=%0.2fm without=%0.2fm delta=%0.2fm) if not self.current_onboard_log_contains_message("DPTH"): raise NotAchievedException("Expected DPTH log message") - # self.context_pop() + self.progress("Ensuring we get WATER_DEPTH at 12Hz with 2 backends") + self.set_message_rate_hz('WATER_DEPTH', 12) + self.assert_message_rate_hz('WATER_DEPTH', 12) def EStopAtBoot(self): '''Ensure EStop prevents arming when asserted at boot time'''