Skip to content
This repository was archived by the owner on Jul 26, 2020. It is now read-only.

Commit 78937f0

Browse files
committed
Pretend to support the c270
1 parent 6c1a3fa commit 78937f0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sb_vision/find_3D_coords.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@ def load_camera_calibrations(camera_model: str) -> Tuple[List[List[float]],
7373
:param camera_model: file to load
7474
:return: camera calibrations
7575
"""
76+
# Handle older versions of robotd asking for a c270 calibration where it
77+
# doesn't exist.
78+
camera_model = "C016" if camera_model == "c270" else camera_model
79+
7680
builtin_models_dir = Path(__file__).parent
7781
model_file = builtin_models_dir / '{}_calibration.xml'.format(
7882
camera_model,

0 commit comments

Comments
 (0)