Recalibrate the grasp point and camera for reliable top grasps

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-29 19:10:11 +09:00
co-authored by Claude Opus 5.5
parent 4665f3cfeb
commit b0e9ce39ab
8 changed files with 141 additions and 11 deletions
+3 -2
View File
@@ -33,8 +33,9 @@ EDGE_PCT = (1, 99) # percentiles taken as the object's edges (robust to
MIN_SATURATION = 50 # HSV S below this is white / grey / black
DARK_V = 60 # HSV V below this has no hue the camera can tell (black trousers: V ~48, S ~95, read
# "blue"; blue jeans V ~90, 2026-10-22)
ROUND_FIX_MM = (13.9, -3.1) # mm (x, y), arm frame, added to a round thing's centre: the camera read cup centres this
# far off, mean of three spots 7-11 cm apart (hover readings, 2026-10-27; +-4 mm between them)
ROUND_FIX_MM = (19.0, -4.0) # mm (x, y), arm frame, added to a round thing's centre: the camera read cup centres this
# far off; fitted with the grasp point to 8 free-drive top grasps at 5 spots (2026-10-29,
# data/grasp_top_teach.json, centres seen without this fix; every one within 5 mm)
EDGE_PX = 4 # a box this close to the bottom of the frame is cut off: height and centre z unknown
STALE_S = 1.5 # s; an older detection file means the camera service is not live
SURE_SCORE = 0.35 # a box scoring less (person.WEAK_SCORE) is kept only when depth measures this size there: