kdl_parser
RobotModelFormat.hpp
Go to the documentation of this file.
1 #ifndef KDL_PARSER_ROBOT_MODEL_FORMAT_HPP
2 #define KDL_PARSER_ROBOT_MODEL_FORMAT_HPP
3 
4 #include <string>
5 #include <utility>
6 
7 namespace kdl_parser{
8 
9 //define format of robot model
11 {
18 };
19 
22 ROBOT_MODEL_FORMAT guessFormatFromFilename(const std::string& file);
23 
26 const char* formatNameFromID(int type);
27 
39 std::pair<std::string, ROBOT_MODEL_FORMAT> getRobotModelString(
40  const std::string& model, ROBOT_MODEL_FORMAT format);
41 }
42 
43 #endif
ROBOT_MODEL_FORMAT guessFormatFromFilename(const std::string &file)
Definition: RobotModelFormat.cpp:21
URDF model.
Definition: RobotModelFormat.hpp:15
const char * formatNameFromID(int type)
Definition: RobotModelFormat.cpp:9
Definition: kdl_parser.cpp:47
ROBOT_MODEL_FORMAT
Definition: RobotModelFormat.hpp:10
try to guess the format
Definition: RobotModelFormat.hpp:13
std::pair< std::string, ROBOT_MODEL_FORMAT > getRobotModelString(const std::string &model, ROBOT_MODEL_FORMAT format)
SDF model.
Definition: RobotModelFormat.hpp:17