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
b17b8a30
Commit
b17b8a30
authored
Jan 18, 2018
by
Joseph Mirabel
Committed by
Joseph Mirabel
Jan 18, 2018
Browse files
Fix compilation warning
parent
831237b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/path-optimization/simple-time-parameterization.cc
View file @
b17b8a30
...
...
@@ -103,11 +103,11 @@ namespace hpp {
// Retrieve velocity limits
const
DevicePtr_t
&
robot
=
problem
().
robot
();
size_type
d
=
robot
->
numberDof
()
-
robot
->
extraConfigSpace
().
dimension
();
vector_t
ub
(
robot
->
model
().
velocityLimit
),
lb
(
-
robot
->
model
().
velocityLimit
),
cb
((
ub
+
lb
)
/
2
);
assert
(
cb
.
size
()
==
d
);
assert
(
cb
.
size
()
+
robot
->
extraConfigSpace
().
dimension
()
==
robot
->
numberDof
());
// The velocity must be in [lb, ub]
ub
=
cb
+
safety
*
(
ub
-
cb
);
...
...
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