Commit d9ffff2e authored by Joseph Mirabel's avatar Joseph Mirabel

Decrease differences between basic and manipulation plugin.

parent 46ed367a
......@@ -155,17 +155,6 @@ namespace hpp {
return hpp_;
}
void HppManipulationWidgetsPlugin::updateRobotJoints(const QString robotName)
{
Q_UNUSED(robotName)
hpp::Names_t_var joints = client()->robot()->getAllJointNames ();
for (size_t i = 0; i < joints->length (); ++i) {
const char* jname = joints[(ULong) i];
hpp::Names_t_var lnames = client()->robot()->getLinkNames (jname);
jointMap_[jname] = JointElement(jname, "", lnames, 0, true);
}
}
Roadmap *HppManipulationWidgetsPlugin::createRoadmap(const std::string &jointName)
{
ManipulationRoadmap* r = new ManipulationRoadmap(this);
......
......@@ -72,10 +72,6 @@ namespace hpp {
/// Get the instance of corba manipulation client.
HppManipClient* manipClient () const;
/// Get the list of joints from corbaserver and update internal joint map.
/// \param robotName name of the robot (unused)
void updateRobotJoints (const QString robotName);
/// Create the roadmap of a given joint.
/// \param jointName name of the joint
virtual Roadmap* createRoadmap (const std::string& jointName);
......
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