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
Stack Of Tasks
pinocchio
Commits
6d24ef80
Commit
6d24ef80
authored
May 29, 2018
by
Joseph Mirabel
Committed by
Joseph Mirabel
May 30, 2018
Browse files
[Minor] Default lower position limit should be -infinity, not +infinity
parent
8a1528d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/multibody/model.hxx
View file @
6d24ef80
...
...
@@ -119,7 +119,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
);
...
...
Write
Preview
Supports
Markdown
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