Skip to content
GitLab
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-rbprm-corba
Commits
418e5af5
Commit
418e5af5
authored
Mar 24, 2020
by
Pierre Fernbach
Browse files
fix compilation warnings
parent
9fde602f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/rbprmbuilder.impl.cc
View file @
418e5af5
...
...
@@ -975,7 +975,7 @@ short RbprmBuilder::generateContactState(::CORBA::UShort cId, const char* name,
if
(
rep
.
success_
)
{
lastStatesComputed_
.
push_back
(
rep
.
result_
);
lastStatesComputedTime_
.
push_back
(
std
::
make_pair
(
-
1.
,
rep
.
result_
));
return
lastStatesComputed_
.
size
()
-
1
;
return
(
CORBA
::
Short
)(
lastStatesComputed_
.
size
()
-
1
)
;
}
}
return
-
1
;
...
...
@@ -2785,7 +2785,7 @@ CORBA::Short RbprmBuilder::isLimbInContactIntermediary(const char* limbName, uns
}
}
CORBA
::
Short
RbprmBuilder
::
getNumStates
()
throw
(
hpp
::
Error
)
{
return
lastStatesComputed_
.
size
();
}
CORBA
::
Short
RbprmBuilder
::
getNumStates
()
throw
(
hpp
::
Error
)
{
return
(
CORBA
::
Short
)
lastStatesComputed_
.
size
();
}
CORBA
::
Short
RbprmBuilder
::
computeIntermediary
(
unsigned
short
stateFrom
,
unsigned
short
stateTo
)
throw
(
hpp
::
Error
)
try
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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