You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Set some extra defaults, `-brd` would override them
170
169
ifoptions.defaultBoardisnotNone:
171
170
try:
@@ -182,8 +181,6 @@ def parse_args():
182
181
raiseargparse.ArgumentTypeError(options.defaultBoard, "Board name has not been found.")
183
182
ifoptions.markerSizeCmisNone:
184
183
options.markerSizeCm=options.squareSizeCm*0.75
185
-
else:
186
-
raiseargparse.ArgumentError(options.markerSizeCm, "-ms / --markerSizeCm needs to be provided (you can use -db / --defaultBoard if using calibration board from this repository or calib.io to calculate -ms automatically)")
187
184
ifoptions.squareSizeCm<2.2:
188
185
raiseargparse.ArgumentTypeError("-s / --squareSizeCm needs to be greater than 2.2 cm")
0 commit comments