Skip to content

Commit

Permalink
Fix log statement in aruco_tag_locator.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hello-binit committed Jul 26, 2024
1 parent 53445ff commit 22b49e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ros2/example_12.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -455,4 +455,4 @@ def main():
node.destroy_node()
rclpy.shutdown()
```
Instantiate the `LocateArUcoTag()` object and run the `main()` method.
Instantiate the `LocateArUcoTag()` object and run the `main()` method.

0 comments on commit 22b49e4

Please sign in to comment.