Browse Source

Fix log statement in aruco_tag_locator.py

pull/18/merge
Binit Shah 3 months ago
committed by GitHub
parent
commit
22b49e4934
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      ros2/example_12.md

+ 2
- 2
ros2/example_12.md View File

@ -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.
Instantiate the `LocateArUcoTag()` object and run the `main()` method.

Loading…
Cancel
Save