From 22b49e4934bdc1197851ff0611d1dc6534472674 Mon Sep 17 00:00:00 2001 From: Binit Shah Date: Fri, 26 Jul 2024 14:20:22 -0400 Subject: [PATCH] Fix log statement in aruco_tag_locator.py --- ros2/example_12.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ros2/example_12.md b/ros2/example_12.md index 0da73b1..9b49cd5 100644 --- a/ros2/example_12.md +++ b/ros2/example_12.md @@ -209,7 +209,7 @@ class LocateArUcoTag(hm.HelloNode): transform = self.tf_buffer.lookup_transform('base_link', tag_name, now) - self.get_logger().info("Found Requested Tag: \n%s", transform) + self.get_logger().info(f"Found Requested Tag: \n{transform}") # Publish the transform self.transform_pub.publish(transform) @@ -455,4 +455,4 @@ def main(): node.destroy_node() rclpy.shutdown() ``` -Instantiate the `LocateArUcoTag()` object and run the `main()` method. \ No newline at end of file +Instantiate the `LocateArUcoTag()` object and run the `main()` method.