From 3387c9599cc09c1171a41617d1d30c4c7b01fd22 Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Mon, 6 Jan 2020 14:16:16 +0100 Subject: [PATCH] mavsdk_tests: don't constrain speed factor to int Speed factors slower than 1 should also be possible. --- test/mavsdk_tests/mavsdk_test_runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/mavsdk_tests/mavsdk_test_runner.py b/test/mavsdk_tests/mavsdk_test_runner.py index bd93ce9983..d5c31f9e3f 100755 --- a/test/mavsdk_tests/mavsdk_test_runner.py +++ b/test/mavsdk_tests/mavsdk_test_runner.py @@ -201,7 +201,7 @@ def main(): parser = argparse.ArgumentParser() parser.add_argument("--log-dir", help="Directory for log files, stdout if not provided") - parser.add_argument("--speed-factor", type=int, default=1, + parser.add_argument("--speed-factor", default=1, help="How fast to run the simulation") parser.add_argument("--iterations", type=int, default=1, help="How often to run the simulation")