Commit 5f959225 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Add signal appliedConfigAtParam

parent a0bfae34
......@@ -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;
......
......@@ -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
......
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment