diff --git a/Tools/autotest/antennatracker.py b/Tools/autotest/antennatracker.py index b06df26492..438e6d7ce6 100644 --- a/Tools/autotest/antennatracker.py +++ b/Tools/autotest/antennatracker.py @@ -162,6 +162,13 @@ class AutoTestTracker(vehicle_test_suite.TestSuite): timeout=90, comparator=operator.le) + def BaseMessageSet(self): + '''ensure we're getting messages we expect''' + self.set_parameter('BATT_MONITOR', 4) + self.reboot_sitl() + for msg in 'BATTERY_STATUS', : + self.assert_receive_message(msg) + def disabled_tests(self): return { "ArmFeatures": "See https://github.com/ArduPilot/ardupilot/issues/10652", @@ -178,5 +185,6 @@ class AutoTestTracker(vehicle_test_suite.TestSuite): self.MAV_CMD_MISSION_START, self.NMEAOutput, self.SCAN, + self.BaseMessageSet, ]) return ret