|
@ -209,7 +209,7 @@ class LocateArUcoTag(hm.HelloNode): |
|
|
transform = self.tf_buffer.lookup_transform('base_link', |
|
|
transform = self.tf_buffer.lookup_transform('base_link', |
|
|
tag_name, |
|
|
tag_name, |
|
|
now) |
|
|
now) |
|
|
self.get_logger().info("Found Requested Tag: \n%s", transform) |
|
|
|
|
|
|
|
|
self.get_logger().info(f"Found Requested Tag: \n{transform}") |
|
|
|
|
|
|
|
|
# Publish the transform |
|
|
# Publish the transform |
|
|
self.transform_pub.publish(transform) |
|
|
self.transform_pub.publish(transform) |
|
@ -455,4 +455,4 @@ def main(): |
|
|
node.destroy_node() |
|
|
node.destroy_node() |
|
|
rclpy.shutdown() |
|
|
rclpy.shutdown() |
|
|
``` |
|
|
``` |
|
|
Instantiate the `LocateArUcoTag()` object and run the `main()` method. |
|
|
|
|
|
|
|
|
Instantiate the `LocateArUcoTag()` object and run the `main()` method. |