5#ifndef __pinocchio_parsers_utils_hpp__
6#define __pinocchio_parsers_utils_hpp__
12#include <boost/filesystem/fstream.hpp>
13#include <boost/foreach.hpp>
14#include <boost/format.hpp>
16#include "pinocchio/utils/file-explorer.hpp"
17#include <boost/filesystem.hpp>
41 const std::string
extension = filename.substr(filename.find_last_of(
".") + 1);
63 namespace bf = boost::filesystem;
73 std::string path =
string.substr(
pos_separator + 3, std::string::npos);
Main pinocchio namespace.
ModelFileExtensionType checkModelFileExtension(const std::string &filename)
Extract the type of the given model file according to its extension.
ModelFileExtensionType
Supported model file extensions.
std::string retrieveResourcePath(const std::string &string, const std::vector< std::string > &package_dirs)
Retrieve the path of the file whose path is given in URL-format. Currently convert from the following...