diff --git a/node-hub/dora-reachy2/dora_reachy2/head.py b/node-hub/dora-reachy2/dora_reachy2/head.py index 4bfd365b..c1eec1aa 100644 --- a/node-hub/dora-reachy2/dora_reachy2/head.py +++ b/node-hub/dora-reachy2/dora_reachy2/head.py @@ -32,7 +32,7 @@ def main(): y_max = boxes[3] x = ( x_min + x_max - ) / 2 - 10 # Deviate a bit to take into accound the off centered camera + ) / 2 - 10 # Deviate a bit to take into account the off centered camera y = (3 * y_min + y_max) / 4 ry = (x - resolution[1] / 2) * FOV_H / 2 / resolution[1] rz = (y - resolution[0] / 2) * FOV_V / 2 / resolution[0]