Commit 391f4419 authored by Damien Petit's avatar Damien Petit

fix camera frame reorientation for hrp2_10 and hrp2_14 close #7

parent e93c0588
......@@ -102,8 +102,9 @@ class Robot (Hrp2):
[ 0., 0., 0., 1.]])
for camera in [cameraBottomLeftPosition, cameraBottomRightPosition,
cameraTopLeftPosition, cameraTopRightPosition]:
camera = camera * c1_M_c
cameraTopLeftPosition, cameraTopRightPosition,
cameraXtionRGBPosition]:
camera[:] = camera * c1_M_c
self.AdditionalFrames.append(
("cameraBottomLeft",
......
......@@ -97,7 +97,7 @@ class Robot (Hrp2):
for camera in [cameraBottomLeftPosition, cameraBottomRightPosition,
cameraTopLeftPosition, cameraTopRightPosition]:
camera = camera * c1_M_c
camera[:] = camera * c1_M_c
self.AdditionalFrames.append(
("cameraBottomLeft",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment