From d2912aebd8c2612b3ec0e9c38ff640fd73429b6e Mon Sep 17 00:00:00 2001 From: Oleg Kalachev Date: Sat, 11 May 2019 10:16:10 +0300 Subject: [PATCH] selfcheck.py: increase angular velocity limit --- clever/src/selfcheck.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clever/src/selfcheck.py b/clever/src/selfcheck.py index ca46692d..bfee57cd 100755 --- a/clever/src/selfcheck.py +++ b/clever/src/selfcheck.py @@ -253,7 +253,7 @@ def check_velocity(): failure('vertical velocity estimation is %.2f m/s; is copter staying still?' % vert) angular = velocity.twist.angular - ANGULAR_VELOCITY_LIMIT = 0.01 + ANGULAR_VELOCITY_LIMIT = 0.1 if abs(angular.x) > ANGULAR_VELOCITY_LIMIT: failure('pitch rate estimation is %.2f rad/s (%.2f deg/s); is copter staying still?', angular.x, math.degrees(angular.x))