Commit ec3bb4a9 authored by Thomas Moulard's avatar Thomas Moulard
Browse files

Merge pull request #8 from damien-petit/topic/camera_frame_reorientation

fix camera frame reorientation for hrp2_10 and hrp2_14 close #7
parents e93c0588 391f4419
......@@ -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