Skip to content
Snippets Groups Projects
Commit a795f12c authored by Thomas Moulard's avatar Thomas Moulard
Browse files

Enhance camera position.

parent c552c0c1
No related branches found
No related tags found
1 merge request!1[major][cpp] starting point to integrate pinocchio
...@@ -122,28 +122,31 @@ class Hrp2Laas (Hrp2): ...@@ -122,28 +122,31 @@ class Hrp2Laas (Hrp2):
device = None): device = None):
# Define camera positions w.r.t gaze. # Define camera positions w.r.t gaze.
# These positions have been copied from hrp2.geom and
# roughly checked. Do not trust them too much.
cameraBottomLeftPosition = np.matrix(( cameraBottomLeftPosition = np.matrix((
(1., 0., 0., 0.035), (0.98481, 0.00000, 0.17365, 0.035),
(0., 1., 0., 0.072), (0., 1., 0., 0.072),
(0., 0., 1., 0.075), (-0.17365, 0.00000, 0.98481, 0.075 - 0.03),
(0., 0., 0., 1.), (0., 0., 0., 1.),
)) ))
cameraBottomRightPosition = np.matrix(( cameraBottomRightPosition = np.matrix((
(1., 0., 0., 0.035), (0.98481, 0.00000, 0.17365, 0.035),
(0., 1., 0., -0.072), (0., 1., 0., -0.072),
(0., 0., 1., 0.075), (-0.17365, 0.00000, 0.98481, 0.075 - 0.03),
(0., 0., 0., 1.), (0., 0., 0., 1.),
)) ))
cameraTopLeftPosition = np.matrix(( cameraTopLeftPosition = np.matrix((
(0.99920, 0.00120, 0.03997, 0.01), (0.99920, 0.00120, 0.03997, 0.01),
(0.00000, 0.99955,-0.03000, 0.029), (0.00000, 0.99955,-0.03000, 0.029),
(-0.03999, 0.02997, 0.99875, 0.145), (-0.03999, 0.02997, 0.99875, 0.145 - 0.03),
(0., 0., 0., 1.), (0., 0., 0., 1.),
)) ))
cameraTopRightPosition = np.matrix(( cameraTopRightPosition = np.matrix((
(0.99920, 0.00000, 0.03999, 0.01), (0.99920, 0.00000, 0.03999, 0.01),
(0.00000, 1.00000, 0.00000, -0.029), (0.00000, 1.00000, 0.00000, -0.029),
(-0.03999, 0.00000, 0.99920, 0.145), (-0.03999, 0.00000, 0.99920, 0.145 - 0.03),
(0., 0., 0., 1.), (0., 0., 0., 1.),
)) ))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment