Skip to content

Commit

Permalink
trying repeats
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveMacenski committed Jun 11, 2024
1 parent 2f820a2 commit 53121ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nav2_docking/opennav_docking/test/test_docking_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ def test_docking_server(self):

# Spin once so that TF is published
rclpy.spin_once(self.node, timeout_sec=0.1)
rclpy.spin_once(self.node, timeout_sec=0.1)

print('test_docking_server Preample OK')

Expand Down Expand Up @@ -232,7 +233,7 @@ def test_docking_server(self):
print('test_docking_server dock preempt OK')

# Wait until we get the dock preemption
while len(self.action_result) == 0:
while len(self.action_result) < 1:
rclpy.spin_once(self.node, timeout_sec=0.1)
time.sleep(0.1)

Expand Down

0 comments on commit 53121ce

Please sign in to comment.