Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
sot-hrp2
Commits
ec3bb4a9
Commit
ec3bb4a9
authored
Nov 26, 2013
by
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/dynamic_graph/sot/hrp2_10/robot.py.in
View file @
ec3bb4a9
...
...
@@ -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",
...
...
src/dynamic_graph/sot/hrp2_14/robot.py.in
View file @
ec3bb4a9
...
...
@@ -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",
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment