Browse Source

Fix typo in reachy node

tags/v0.3.10-rc0
haixuantao 11 months ago
parent
commit
71e365de83
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      node-hub/dora-reachy2/dora_reachy2/head.py

+ 1
- 1
node-hub/dora-reachy2/dora_reachy2/head.py View File

@@ -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]


Loading…
Cancel
Save