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
5f959225
Commit
5f959225
authored
Aug 25, 2017
by
Joseph Mirabel
Committed by
Joseph Mirabel
Oct 09, 2017
Browse files
Add signal appliedConfigAtParam
parent
a0bfae34
Changes
3
Hide whitespace changes
Inline
Side-by-side
plugins/hppwidgetsplugin/hppwidgetsplugin.cc
View file @
5f959225
...
...
@@ -137,6 +137,7 @@ namespace hpp {
main
->
registerSlot
(
"requestCreateJointGroup"
,
this
);
main
->
registerSlot
(
"getHppIIOPurl"
,
this
);
main
->
registerSlot
(
"getSelectedJoint"
,
jointTreeWidget_
);
main
->
registerSignal
(
SIGNAL
(
appliedConfigAtParam
(
int
,
double
)),
pathPlayer_
);
ActionSearchBar
*
asb
=
main
->
actionSearchBar
();
JointAction
*
a
;
...
...
plugins/hppwidgetsplugin/pathplayer.cc
View file @
5f959225
...
...
@@ -300,6 +300,7 @@ namespace hpp {
plugin_
->
client
()
->
problem
()
->
configAtParam
((
short
unsigned
int
)
pathIndex
()
->
value
(),
currentParam_
);
plugin_
->
client
()
->
robot
()
->
setCurrentConfig
(
config
.
in
());
gepetto
::
gui
::
MainWindow
::
instance
()
->
requestApplyCurrentConfiguration
();
emit
appliedConfigAtParam
(
getCurrentPath
(),
currentParam_
);
}
inline
double
PathPlayer
::
sliderToLength
(
int
v
)
const
...
...
plugins/hppwidgetsplugin/pathplayer.hh
View file @
5f959225
...
...
@@ -48,6 +48,7 @@ namespace hpp {
virtual
void
displayPath_impl
(
const
std
::
string
jointName
);
signals:
void
displayPath_status
(
int
progress
);
void
appliedConfigAtParam
(
int
pid
,
double
param
);
private
slots
:
void
pathIndexChanged
(
int
i
);
...
...
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