Commit 76227f40 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by jcarpent
Browse files

[Minor] Default lower position limit should be -infinity, not +infinity

parent b7b2a688
......@@ -124,7 +124,7 @@ namespace se3
max_effort = Eigen::VectorXd::Constant(joint_model.nv(), std::numeric_limits<double>::max());
max_velocity = Eigen::VectorXd::Constant(joint_model.nv(), std::numeric_limits<double>::max());
min_config = Eigen::VectorXd::Constant(joint_model.nq(), std::numeric_limits<double>::max());
min_config = Eigen::VectorXd::Constant(joint_model.nq(), -std::numeric_limits<double>::max());
max_config = Eigen::VectorXd::Constant(joint_model.nq(), std::numeric_limits<double>::max());
return addJoint(parent, joint_model, joint_placement, joint_name, max_effort, max_velocity, min_config, max_config);
......
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