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
Guilhem Saurel
hpp-gui
Commits
44221323
Commit
44221323
authored
Jul 19, 2017
by
Joseph Mirabel
Committed by
Joseph Mirabel
Jul 19, 2017
Browse files
Update to change of signature of getWaypoints
parent
0b4b6bfd
Changes
2
Hide whitespace changes
Inline
Side-by-side
plugins/hppwidgetsplugin/hppwidgetsplugin.cc
View file @
44221323
...
...
@@ -343,7 +343,8 @@ namespace hpp {
if
(
type
==
"node"
)
{
int
pid
=
std
::
atoi
(
&
group
[
4
]);
// compute pid
hpp
::
floatSeqSeq_var
waypoints
=
hpp_
->
problem
()
->
getWaypoints
((
CORBA
::
UShort
)
pid
);
hpp
::
floatSeq_var
times
;
hpp
::
floatSeqSeq_var
waypoints
=
hpp_
->
problem
()
->
getWaypoints
((
CORBA
::
UShort
)
pid
,
times
.
out
());
if
(
n
<
waypoints
->
length
())
{
hpp_
->
robot
()
->
setCurrentConfig
(
waypoints
[
n
]);
MainWindow
::
instance
()
->
requestApplyCurrentConfiguration
();
...
...
plugins/hppwidgetsplugin/pathplayer.cc
View file @
44221323
...
...
@@ -83,7 +83,8 @@ namespace hpp {
colorE
(
1.
f
,
0.
f
,
0.
f
,
1.
f
);
gepetto
::
gui
::
WindowsManagerPtr_t
wsm
=
main
->
osg
();
HppWidgetsPlugin
::
HppClient
*
hpp
=
plugin_
->
client
();
hpp
::
floatSeqSeq_var
waypoints
=
hpp
->
problem
()
->
getWaypoints
((
CORBA
::
UShort
)
pid
);
hpp
::
floatSeq_var
times
;
hpp
::
floatSeqSeq_var
waypoints
=
hpp
->
problem
()
->
getWaypoints
((
CORBA
::
UShort
)
pid
,
times
.
out
());
if
(
!
wsm
->
getGroup
(
pn
,
false
))
{
wsm
->
createGroup
(
pn
);
wsm
->
addToGroup
(
pn
,
"hpp-gui"
);
...
...
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