Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Humanoid Path Planner
hpp-core
Commits
a881247a
Commit
a881247a
authored
Aug 11, 2010
by
florent
Browse files
Set projection of foot frame origin in sole center to 0.
* src/humanoid-robot.cc.
parent
ebbc659a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/humanoid-robot.cc
View file @
a881247a
...
...
@@ -521,6 +521,9 @@ void HumanoidRobot::setHumanoidProperties(const ChppHumanoidRobotShPtr& inRobot)
soleCenterInFootFrame
(
2
)
=
soleCenterInLeftFootFrameZ
->
value
();
foot
->
setSoleCenterInLocalFrame
(
soleCenterInFootFrame
);
foot
->
setSoleSize
(
soleLength
->
value
(),
soleWidth
->
value
());
vector3d
vzero
;
vzero
(
0
)
=
vzero
(
1
)
=
vzero
(
2
)
=
0.0
;
foot
->
setProjectionCenterLocalFrameInSole
(
vzero
);
inRobot
->
leftFoot
(
foot
);
// right ankle
name
=
rightAnkle
->
value
();
...
...
@@ -537,6 +540,7 @@ void HumanoidRobot::setHumanoidProperties(const ChppHumanoidRobotShPtr& inRobot)
soleCenterInFootFrame
(
1
)
*=
-
1
;
foot
->
setSoleCenterInLocalFrame
(
soleCenterInFootFrame
);
foot
->
setSoleSize
(
soleLength
->
value
(),
soleWidth
->
value
());
foot
->
setProjectionCenterLocalFrameInSole
(
vzero
);
inRobot
->
rightFoot
(
foot
);
// left wrist
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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