Commit 7d7d6efc authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Fix simple humanoid.

parent bfbfc03d
......@@ -37,8 +37,8 @@ namespace hpp {
robot->currentConfiguration(robot->neutralConfiguration());
robot->computeForwardKinematics();
const value_type max = std::numeric_limits<value_type>::max();
const value_type min = std::numeric_limits<value_type>::max();
const value_type max = std::numeric_limits<value_type>::max();
const value_type min = -std::numeric_limits<value_type>::max();
robot->model().lowerPositionLimit.segment<3>(0).setConstant(min);
robot->model().upperPositionLimit.segment<3>(0).setConstant(max);
robot->model().lowerPositionLimit.segment<4>(3).setConstant(-1.01);
......
Supports Markdown
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