Tools: fixed type of max-gap in CAN fix2 script
This commit is contained in:
parent
06b9b804a1
commit
e00608d922
@ -11,7 +11,7 @@ from argparse import ArgumentParser
|
||||
parser = ArgumentParser(description='Fix2 gap example')
|
||||
parser.add_argument("--bitrate", default=1000000, type=int, help="CAN bit rate")
|
||||
parser.add_argument("--node-id", default=100, type=int, help="CAN node ID")
|
||||
parser.add_argument("--max-gap", default=0.25, type=int, help="max gap in seconds")
|
||||
parser.add_argument("--max-gap", default=0.25, type=float, help="max gap in seconds")
|
||||
parser.add_argument("port", default=None, type=str, help="serial port or mavcan URI")
|
||||
args = parser.parse_args()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user