calibrationd: fix indentation (#23502)
parent
9941c99f7c
commit
de572c3755
|
@ -79,12 +79,12 @@ class Calibrator():
|
|||
|
||||
def reset(self, rpy_init=RPY_INIT, valid_blocks=0, smooth_from=None):
|
||||
if not np.isfinite(rpy_init).all():
|
||||
self.rpy = RPY_INIT.copy()
|
||||
self.rpy = RPY_INIT.copy()
|
||||
else:
|
||||
self.rpy = rpy_init.copy()
|
||||
|
||||
if not np.isfinite(valid_blocks) or valid_blocks < 0:
|
||||
self.valid_blocks = 0
|
||||
self.valid_blocks = 0
|
||||
else:
|
||||
self.valid_blocks = valid_blocks
|
||||
|
||||
|
|
Loading…
Reference in New Issue