Commit 2450ecfd authored by Jakob Dommaschk's avatar Jakob Dommaschk
Browse files

fix indentation error

parent fd93495a
......@@ -144,22 +144,22 @@ class ImageVectors(Node):
self.publisher_.publish(T)
self.get_logger().info('I publish: ' + str(T))
# Publish tf2 topic
TF2 = TFMessage()
Tstamped = TransformStamped()
Theader = Header()
Theader.seq = self.tf2_frame_id
self.tf2_frame_id = self.tf2_frame_id + 1
Theader.stamp = node.get_clock().now().to_msg()
Theader.frame_id = "camera"
Tstamped.transform = T
Tstamped.child_frame_id = "aruco_marker"
Tstamped.header = Theader
TF2.transforms = [Tstamped]
self.publisher_tf2.publish(TF2)
# Publish tf2 topic
TF2 = TFMessage()
Tstamped = TransformStamped()
Theader = Header()
Theader.seq = self.tf2_frame_id
self.tf2_frame_id = self.tf2_frame_id + 1
Theader.stamp = node.get_clock().now().to_msg()
Theader.frame_id = "camera"
Tstamped.transform = T
Tstamped.child_frame_id = "aruco_marker"
Tstamped.header = Theader
TF2.transforms = [Tstamped]
self.publisher_tf2.publish(TF2)
def main(args=None):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment