delta_calibrate: Fix Python3 error in DELTA_ANALYZE

Reported by @CODeRUS.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2022-06-13 13:51:07 -04:00
parent 29e9ac6ec5
commit 7f9ea231b7
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ def measurements_to_distances(measured_params, delta_params):
od - opw
for od, opw in zip(mp['OUTER_DISTS'], mp['OUTER_PILLAR_WIDTHS']) ]
# Convert angles in degrees to an XY multiplier
obj_angles = map(math.radians, MeasureAngles)
obj_angles = list(map(math.radians, MeasureAngles))
xy_angles = list(zip(map(math.cos, obj_angles), map(math.sin, obj_angles)))
# Calculate stable positions for center measurements
inner_ridge = MeasureRidgeRadius * scale