Skip to content

Commit

Permalink
autotest: adjust tests that need full rate logging
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed Sep 30, 2024
1 parent 33268bc commit 834863f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Tools/autotest/arducopter.py
Original file line number Diff line number Diff line change
Expand Up @@ -9354,6 +9354,10 @@ def Replay(self):
'''test replay correctness'''
self.progress("Building Replay")
util.build_SITL('tool/Replay', clean=False, configure=False)
self.set_parameters({
"LOG_DARM_RATEMAX": 0,
"LOG_FILE_RATEMAX": 0,
})

bits = [
('GPS', self.test_replay_gps_bit),
Expand Down Expand Up @@ -10208,6 +10212,8 @@ def ATTITUDE_FAST(self):
self.set_parameters({
"LOG_BITMASK": new,
"LOG_DISARMED": 1,
"LOG_DARM_RATEMAX": 0,
"LOG_FILE_RATEMAX": 0,
})
path = self.generate_rate_sample_log()

Expand All @@ -10230,6 +10236,10 @@ def ATTITUDE_FAST(self):

def BaseLoggingRates(self):
'''ensure messages come out at specific rates'''
self.set_parameters({
"LOG_DARM_RATEMAX": 0,
"LOG_FILE_RATEMAX": 0,
})
path = self.generate_rate_sample_log()
self.delay_sim_time(10) # NFI why this is required
self.check_dflog_message_rates(path, {
Expand Down

0 comments on commit 834863f

Please sign in to comment.