Skip to content

Commit

Permalink
Tools: autotset add check for BATI logging
Browse files Browse the repository at this point in the history
  • Loading branch information
hendjoshsr71 committed Sep 22, 2021
1 parent d62a01b commit 3743643
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tools/autotest/arduplane.py
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,8 @@ def SmartBattery(self):
self.disarm_vehicle()
if not self.current_onboard_log_contains_message("BCL2"):
raise NotAchievedException("Expected BCL2 message")
if not self.current_onboard_log_contains_message("BATI"):
raise NotAchievedException("Expected BATI message")

def fly_do_change_speed(self):
# the following lines ensure we revert these parameter values
Expand Down

0 comments on commit 3743643

Please sign in to comment.