5#ifndef __pinocchio_utils_file_explorer_hpp__
6#define __pinocchio_utils_file_explorer_hpp__
11#include "pinocchio/parsers/config.hpp"
41 PINOCCHIO_PARSERS_DLLAPI
void
70 PINOCCHIO_PARSERS_DLLAPI std::vector<std::string>
rosPaths();
Main pinocchio namespace.
PINOCCHIO_PARSERS_DLLAPI std::vector< std::string > rosPaths()
Parse the environment variables ROS_PACKAGE_PATH / AMENT_PREFIX_PATH and extract paths.
PINOCCHIO_PARSERS_DLLAPI void appendSuffixToPaths(std::vector< std::string > &list_of_paths, const std::string &suffix)
For a given vector of paths, add a suffix inplace to each path and return the vector inplace.
PINOCCHIO_PARSERS_DLLAPI std::vector< std::string > extractPathFromEnvVar(const std::string &env_var_name, const std::string &delimiter=":")
Parse an environment variable if exists and extract paths according to the delimiter.