Skip to content

Commit

Permalink
post_submission: Set edge mean threshold to 10
Browse files Browse the repository at this point in the history
After changing the rest position, less of the robot is visible to the
cameras while sampling images for the sharpness test.  Due to this,
fewer edges are found, resulting in a lower "edge mean" value, even if
the sharpness of the camera is good.
Thus reduce the threshold to 10 to avoid false positives.
  • Loading branch information
luator committed Feb 8, 2024
1 parent b629508 commit 70101ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/trifingerpro_post_submission.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ def check_camera_sharpness(
True if test is successful, False if there is any issue.
"""
CAMERA_NAMES = ("camera60", "camera180", "camera300")
EDGE_MEAN_THRES = 12.0
EDGE_MEAN_THRES = 10.0

edge_means: typing.List[typing.List[float]] = [[], [], []]

Expand Down

0 comments on commit 70101ac

Please sign in to comment.