Skip to content

Commit 22b49e4

Browse files
authored
Fix log statement in aruco_tag_locator.py
1 parent 53445ff commit 22b49e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ros2/example_12.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ class LocateArUcoTag(hm.HelloNode):
209209
transform = self.tf_buffer.lookup_transform('base_link',
210210
tag_name,
211211
now)
212-
self.get_logger().info("Found Requested Tag: \n%s", transform)
212+
self.get_logger().info(f"Found Requested Tag: \n{transform}")
213213

214214
# Publish the transform
215215
self.transform_pub.publish(transform)
@@ -455,4 +455,4 @@ def main():
455455
node.destroy_node()
456456
rclpy.shutdown()
457457
```
458-
Instantiate the `LocateArUcoTag()` object and run the `main()` method.
458+
Instantiate the `LocateArUcoTag()` object and run the `main()` method.

0 commit comments

Comments
 (0)