Commit 44221323 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Update to change of signature of getWaypoints

parent 0b4b6bfd
......@@ -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();
......
......@@ -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");
......
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