fix small bug

release/4.3a0
Varun Agrawal 2021-10-27 10:01:50 -04:00
parent e4a2af5f3f
commit 755484c579
1 changed files with 2 additions and 1 deletions

View File

@ -31,7 +31,7 @@ BIAS_KEY = B(0)
np.set_printoptions(precision=3, suppress=True)
def parse_args():
def parse_args() -> argparse.Namespace:
"""Parse command line arguments."""
parser = argparse.ArgumentParser("ImuFactorExample.py")
parser.add_argument("--twist_scenario",
@ -48,6 +48,7 @@ def parse_args():
action='store_true')
parser.add_argument("--verbose", default=False, action='store_true')
args = parser.parse_args()
return args
class ImuFactorExample(PreintegrationExample):