Return empty (null) shared_ptr rather than NULL (wich could fail compilation).
Change std::string::find for std::string::rfind function in getGripperLink and limit research to length("gripper::link") chars since "gripper::link" should be the end part of link name.
Works fine with a gripper directly included in the robotino model. Did not test it with submodels.
Return empty (null) shared_ptr rather than NULL (wich could fail compilation).
Change std::string::find for std::string::rfind function in getGripperLink and limit research to length("gripper::link") chars since "gripper::link" should be the end part of link name.
Works fine with a gripper directly included in the robotino model. Did not test it with submodels.