Commit 93e4e75a authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Use derivativeAtParam and not velocityAtParam

parent e0f46579
......@@ -271,7 +271,7 @@ namespace hpp {
plugin_->client()->robot()->setCurrentConfig (config.in());
if (velocity_) {
config =
plugin_->client()->problem()->velocityAtParam ((CORBA::ULong)pathIndex()->value(),currentParam_);
plugin_->client()->problem()->derivativeAtParam ((CORBA::ULong)pathIndex()->value(),1,currentParam_);
plugin_->client()->robot()->setCurrentVelocity (config.in());
}
gepetto::gui::MainWindow::instance()->requestApplyCurrentConfiguration();
......
Markdown is supported
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