Skip to content

Commit

Permalink
Fixed flake8 errors
Browse files Browse the repository at this point in the history
Signed-off-by: Pintaudi Giorgio <[email protected]>
  • Loading branch information
LastStarDust committed Aug 1, 2024
1 parent 1621f01 commit e92eb67
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
import launch_testing.actions
import launch_testing.markers
from launch_testing_ros import WaitForTopics
import rclpy
import pytest
import rclpy
from std_msgs.msg import String


Expand All @@ -43,7 +43,7 @@ def trigger_callback():
node = rclpy.create_node('trigger')
publisher = node.create_publisher(String, 'input', 10)
while publisher.get_subscription_count() == 0:
rclpy.spin_once(node, timeout_sec=0.1)
rclpy.spin_once(node, timeout_sec=0.1)
msg = String()
msg.data = 'Hello World'
publisher.publish(msg)
Expand Down

0 comments on commit e92eb67

Please sign in to comment.