mavsdk_tests: don't constrain speed factor to int

Speed factors slower than 1 should also be possible.
This commit is contained in:
Julian Oes 2020-01-06 14:16:16 +01:00
parent 735749e341
commit 3387c9599c
1 changed files with 1 additions and 1 deletions

View File

@ -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")