Commit 1b7f6038 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Fix compilation (robot creation changed in hpp-corbaserver)

parent 665bc71d
...@@ -70,7 +70,7 @@ namespace hpp { ...@@ -70,7 +70,7 @@ namespace hpp {
try { try {
client ()->robot ()->getCurrentConfig(); client ()->robot ()->getCurrentConfig();
} catch (hpp::Error const& e) { } catch (hpp::Error const& e) {
hpp_->robot ()->create (gepetto::gui::Traits<QString>::to_corba("composite").in()); client ()->robot ()->createRobot (gepetto::gui::Traits<QString>::to_corba("composite").in());
} }
hpp_->robot ()->insertRobotModel (gepetto::gui::Traits<QString>::to_corba(rd.robotName_).in(), hpp_->robot ()->insertRobotModel (gepetto::gui::Traits<QString>::to_corba(rd.robotName_).in(),
gepetto::gui::Traits<QString>::to_corba(rd.rootJointType_).in(), gepetto::gui::Traits<QString>::to_corba(rd.rootJointType_).in(),
...@@ -90,7 +90,7 @@ namespace hpp { ...@@ -90,7 +90,7 @@ namespace hpp {
try { try {
client ()->robot ()->getCurrentConfig(); client ()->robot ()->getCurrentConfig();
} catch (hpp::Error const& e) { } catch (hpp::Error const& e) {
hpp_->robot ()->create (gepetto::gui::Traits<QString>::to_corba("composite").in()); client ()->robot ()->createRobot (gepetto::gui::Traits<QString>::to_corba("composite").in());
} }
hpp_->robot ()-> loadEnvironmentModel(gepetto::gui::Traits<QString>::to_corba(ed.package_).in(), hpp_->robot ()-> loadEnvironmentModel(gepetto::gui::Traits<QString>::to_corba(ed.package_).in(),
gepetto::gui::Traits<QString>::to_corba(ed.urdfFilename_).in(), gepetto::gui::Traits<QString>::to_corba(ed.urdfFilename_).in(),
......
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