From 0b74430a11356f350e34aa6ce620d0c71488c765 Mon Sep 17 00:00:00 2001 From: Oleg Kalachev Date: Tue, 17 Mar 2020 23:04:33 +0300 Subject: [PATCH] =?UTF-8?q?selfcheck.py:=20don=E2=80=99t=20fall=20down=20o?= =?UTF-8?q?n=20unset=20known=5Ftilt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- clover/src/selfcheck.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clover/src/selfcheck.py b/clover/src/selfcheck.py index c2340784..107aaf78 100755 --- a/clover/src/selfcheck.py +++ b/clover/src/selfcheck.py @@ -340,7 +340,7 @@ def is_process_running(binary, exact=False, full=False): def check_aruco(): if is_process_running('aruco_detect', full=True): info('aruco_detect/length = %g m', rospy.get_param('aruco_detect/length')) - known_tilt = rospy.get_param('aruco_detect/known_tilt') + known_tilt = rospy.get_param('aruco_detect/known_tilt', '') if known_tilt == 'map': known_tilt += ' (ALL markers are on the floor)' elif known_tilt == 'map_flipped': @@ -356,7 +356,7 @@ def check_aruco(): return if is_process_running('aruco_map', full=True): - known_tilt = rospy.get_param('aruco_map/known_tilt') + known_tilt = rospy.get_param('aruco_map/known_tilt', '') if known_tilt == 'map': known_tilt += ' (marker\'s map is on the floor)' elif known_tilt == 'map_flipped':