This repo contains models for the iCub robots and installs them to be found easily by YARP and ROS resource locator infrastructure. However, for a novice user it may be not obvious how to find such models in YARP and ROS from C++. It would be nice to document this with simple snippets in the README, for example for YARP:
// This is typically set in the environment and not set in code
// See https://github.com/robotology/yarp/issues/593 for a related issue
setenv("YARP_ROBOT_NAME", "iCubGazeboV2_5_visuomanip");
std::string pathToModel = yarp::os::ResourceFinder::getResourceFinderSingleton().findFileByName("model.urdf");
This repo contains models for the iCub robots and installs them to be found easily by YARP and ROS resource locator infrastructure. However, for a novice user it may be not obvious how to find such models in YARP and ROS from C++. It would be nice to document this with simple snippets in the README, for example for YARP:
Or ROS1:
And so on so forth.