mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
Tools: fixed fuel flow EFI test
This commit is contained in:
parent
71141080a1
commit
6b2fe38ce8
@ -4257,8 +4257,9 @@ class AutoTestPlane(vehicle_test_suite.TestSuite):
|
||||
"throttle_position": 31,
|
||||
"intake_manifold_temperature": 28,
|
||||
}, very_verbose=1, epsilon=2)
|
||||
|
||||
if check_fuel_flow:
|
||||
if abs(m.fuel_flow - 0.2) > 0.0001:
|
||||
if abs(m.fuel_flow - 0.2) < 0.0001:
|
||||
raise NotAchievedException("Expected fuel flow")
|
||||
|
||||
self.disarm_vehicle()
|
||||
|
Loading…
Reference in New Issue
Block a user