Skip to content

Commit

Permalink
Merge pull request #36 from robotpilot/develop
Browse files Browse the repository at this point in the history
Hotfix 35
  • Loading branch information
robotpilot authored Apr 26, 2021
2 parents 00cda56 + 4886ce3 commit c2f39da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tf2_rclpy_example/tf2_rclpy_example/broadcaster.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def __init__(self):
self.get_logger().info('Move Arm!')
self.move = True
self.rad = 0.0
self.tf_broadcater = TransformBroadcaster(self)
self.tf_broadcaster = TransformBroadcaster(self)

self.move_service_server = self.create_service(
SetBool,
Expand Down Expand Up @@ -105,7 +105,7 @@ def broadcast(self):

tf_stamped_list.append(tf_stamped)

self.tf_broadcater.sendTransform(tf_stamped_list)
self.tf_broadcaster.sendTransform(tf_stamped_list)

if self.move is True:
self.rad += 0.01
Expand Down

0 comments on commit c2f39da

Please sign in to comment.