Skip to content

Commit

Permalink
Cleanup log severity
Browse files Browse the repository at this point in the history
  • Loading branch information
amalnanavati committed Aug 29, 2023
1 parent c5a390c commit b82d2c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ada_feeding/scripts/create_action_servers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit b82d2c7

Please sign in to comment.