Merge API branch into main #12

Merged
SemvdH merged 334 commits from api into main 2023-06-13 19:54:43 +00:00
Showing only changes of commit 5c46b857e0 - Show all commits

View File

@@ -92,6 +92,7 @@ class TestPositionChanger(unittest.TestCase):
end_time = time.time() + 10.0
print(type(proc_output))
self.node.get_logger().info("STARTING while loop test")
try:
while time.time() < end_time:
@@ -100,7 +101,6 @@ class TestPositionChanger(unittest.TestCase):
if not self.called_positionchanger_service:
future = move_position_client.call_async(request)
future.add_done_callback(self.move_position_callback)
launch_pytest.tools.assert_stderr_sync(proc_output, px4_controller_node, self.validate_output, timeout=5)
finally:
self.node.destroy_client(move_position_client)
self.node.destroy_publisher(lidar_publisher)