From b82d2c7ebf49814f7afda6f0c5a54e175a44bd11 Mon Sep 17 00:00:00 2001 From: Amal Nanavati Date: Mon, 28 Aug 2023 18:45:16 -0700 Subject: [PATCH] Cleanup log severity --- ada_feeding/scripts/create_action_servers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ada_feeding/scripts/create_action_servers.py b/ada_feeding/scripts/create_action_servers.py index 302cce30..0c101a52 100755 --- a/ada_feeding/scripts/create_action_servers.py +++ b/ada_feeding/scripts/create_action_servers.py @@ -387,7 +387,7 @@ async def execute_callback(goal_handle: ServerGoalHandle) -> Awaitable: # Check if the watchdog has failed if not self.watchdog_listener.ok(): - self.get_logger().info("Watchdog failed, aborting goal") + self.get_logger().warn("Watchdog failed, aborting goal") tree_action_server.preempt_goal( tree ) # blocks until the preempt succeeds @@ -399,7 +399,7 @@ async def execute_callback(goal_handle: ServerGoalHandle) -> Awaitable: tree.tick() feedback_msg = tree_action_server.get_feedback(tree) goal_handle.publish_feedback(feedback_msg) - self.get_logger().info(f"Publishing feedback {feedback_msg}") + self.get_logger().debug(f"Publishing feedback {feedback_msg}") # Check the tree status if tree.root.status == py_trees.common.Status.SUCCESS: