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
819f8c12
Unverified
Commit
819f8c12
authored
Apr 03, 2020
by
Justin Carpentier
Committed by
GitHub
Apr 03, 2020
Browse files
Merge pull request #1135 from jmirabel/urdf_initialize_limits
[URDF] Don't leave velocity and acceleration limits uninitialized.
parents
155aba33
e3d8608d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/parsers/urdf/model.cpp
View file @
819f8c12
...
@@ -159,6 +159,9 @@ namespace pinocchio
...
@@ -159,6 +159,9 @@ namespace pinocchio
{
{
max_effort
<<
joint
->
limits
->
effort
;
max_effort
<<
joint
->
limits
->
effort
;
max_velocity
<<
joint
->
limits
->
velocity
;
max_velocity
<<
joint
->
limits
->
velocity
;
}
else
{
max_effort
<<
infty
;
max_velocity
<<
infty
;
}
}
model
.
addJointAndBody
(
UrdfVisitorBase
::
CONTINUOUS
,
axis
,
model
.
addJointAndBody
(
UrdfVisitorBase
::
CONTINUOUS
,
axis
,
...
...
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