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
b892bf24
Commit
b892bf24
authored
Mar 18, 2019
by
Joseph Mirabel
Browse files
[Minor] Fix compilation warning.
parent
55bebbb9
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/dubins-path.cc
View file @
b892bf24
...
...
@@ -230,7 +230,7 @@ namespace hpp {
end_
.
head
(
device_
->
configSize
()),
l
/
L
,
q
[
2
]);
const
int
*
types
=
DIRDATA
[
typeId_
];
for
(
std
::
size_t
i
=
0
;
i
<
3
;
++
i
)
{
value_type
curvature
;
value_type
curvature
=
0
;
switch
(
types
[
i
])
{
case
L_SEG
:
curvature
=
1.
/
rho_
;
...
...
src/steering-method/constant-curvature.cc
View file @
b892bf24
...
...
@@ -274,7 +274,7 @@ namespace hpp {
pathLength
=
fabs
(
tmax
-
tmin
)
/
L
*
length
();
}
Configuration_t
init
(
robot_
->
configSize
());
bool
res
(
impl_compute
(
init
,
tmin
));
assert
(
res
);
bool
res
(
impl_compute
(
init
,
tmin
));
assert
(
res
);
(
void
)
res
;
Configuration_t
end
(
robot_
->
configSize
());
res
=
impl_compute
(
end
,
tmax
);
assert
(
res
);
ConstantCurvaturePtr_t
result
(
createCopy
(
weak_
.
lock
()));
...
...
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