From 71e365de83e0b3da7434baba4ebd586a68267de3 Mon Sep 17 00:00:00 2001 From: haixuantao Date: Fri, 21 Feb 2025 18:03:17 +0100 Subject: [PATCH] Fix typo in reachy node --- node-hub/dora-reachy2/dora_reachy2/head.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]