remove deprecated functionality

This commit is contained in:
meeussen 2009-10-08 00:19:19 +00:00
parent 422116370d
commit 26b69d8e63
2 changed files with 0 additions and 4 deletions

View File

@ -205,8 +205,6 @@ public:
/// explicitly stating "parent" because we want directional-ness for tree structure /// explicitly stating "parent" because we want directional-ness for tree structure
/// every link can have one parent /// every link can have one parent
boost::shared_ptr<Joint> parent_joint; boost::shared_ptr<Joint> parent_joint;
/// Get Parent Link throught the Parent Joint
boost::shared_ptr<Link> parent_link __attribute__((deprecated)); // use getParent() instead
std::vector<boost::shared_ptr<Joint> > child_joints; std::vector<boost::shared_ptr<Joint> > child_joints;
std::vector<boost::shared_ptr<Link> > child_links; std::vector<boost::shared_ptr<Link> > child_links;
@ -225,7 +223,6 @@ public:
this->visual.reset(); this->visual.reset();
this->collision.reset(); this->collision.reset();
this->parent_joint.reset(); this->parent_joint.reset();
this->parent_link.reset();
this->child_joints.clear(); this->child_joints.clear();
this->child_links.clear(); this->child_links.clear();
}; };

View File

@ -406,7 +406,6 @@ bool Link::initXml(TiXmlElement* config)
void Link::setParent(boost::shared_ptr<Link> parent) void Link::setParent(boost::shared_ptr<Link> parent)
{ {
this->parent_link = parent;
this->parent_link_ = parent; this->parent_link_ = parent;
ROS_DEBUG("set parent Link '%s' for Link '%s'", parent->name.c_str(), this->name.c_str()); ROS_DEBUG("set parent Link '%s' for Link '%s'", parent->name.c_str(), this->name.c_str());
} }