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.