Use new urdf SharedPtr typedefs
Closed this issue · 2 comments
nxdefiant commented
Urdf has moved to a new SharedPtr type which results in a compile error:
/opt/ros/ros_catkin_ws/src/srdfdom/src/model.cpp: In member function 'void srdf::Model::loadGroups(const urdf::ModelInterface&, TiXmlElement*)':
/opt/ros/ros_catkin_ws/src/srdfdom/src/model.cpp:182:43: error: variable 'boost::shared_ptr<const urdf::Link> l' has initializer but incomplete type
boost::shared_ptr<const urdf::Link> l = urdf_model.getLink(tip_str);
Replacing
boost::shared_ptr<const urdf::Link> l
with
urdf::LinkConstSharedPtr l
fixes this error.