5 #ifndef __pinocchio_utils_file_explorer_hpp__ 6 #define __pinocchio_utils_file_explorer_hpp__ 11 #include "pinocchio/config.hpp" 24 PINOCCHIO_DLLAPI std::vector<std::string>
26 const std::string & delimiter =
":");
38 std::vector<std::string> & list_of_paths,
39 const std::string & delimiter =
":");
47 PINOCCHIO_DLLAPI std::vector<std::string>
rosPaths();
51 #endif // __pinocchio_utils_file_explorer_hpp__ void extractPathFromEnvVar(const std::string &env_var_name, std::vector< std::string > &list_of_paths, const std::string &delimiter)
Parse an environment variable if exists and extract paths according to the delimiter.
std::vector< std::string > rosPaths()
Parse the environment variable ROS_PACKAGE_PATH and extract paths.
Main pinocchio namespace.