add type of proc_output

This commit is contained in:
Sem van der Hoeven
2023-06-12 11:55:26 +02:00
parent 3d18a14dcf
commit 5c46b857e0

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)