mirror of
https://github.com/UGA-Innovation-Factory/UR10-Sentry.git
synced 2026-02-09 02:17:01 +00:00
Adjusted vertical speed, set up limits, lowered bbox up bias
This commit is contained in:
@@ -73,7 +73,7 @@ class BBoxProcessor:
|
||||
closest_distance = 9999
|
||||
for box in box_list:
|
||||
distance = math.sqrt(
|
||||
(box[0] + box[2] / 2 - 500) ** 2 + (box[1] + box[3] / 2 - 300) ** 2
|
||||
(box[0] + box[2] / 2 - 500) ** 2 + (box[1] + box[3] / 2 - 400) ** 2
|
||||
)
|
||||
if distance < closest_distance:
|
||||
closest = box
|
||||
|
||||
Reference in New Issue
Block a user