Functions | |
| bool | getJointNames (const std::string joint_list_param, const std::string urdf_param, std::vector< std::string > &joint_names) |
| Tries to get a set of joint names using several fallback methods: 1) check parameter for an explicit list 2) try to parse from given URDF data 3) use default joint names: ["joint_1", "joint_2", ..., "joint_6"]. More... | |
| bool | getJointVelocityLimits (const std::string urdf_param_name, std::map< std::string, double > &velocity_limits) |
| Tries to read joint velocity limits from the specified URDF parameter. More... | |
| bool | getListParam (const std::string param_name, std::vector< std::string > &list_param) |
| Gets parameter list as vector of strings. More... | |
| std::string | vec2str (const std::vector< std::string > &vec) |
| bool industrial_utils::param::getJointNames | ( | const std::string | joint_list_param, |
| const std::string | urdf_param, | ||
| std::vector< std::string > & | joint_names | ||
| ) |
Tries to get a set of joint names using several fallback methods: 1) check parameter for an explicit list 2) try to parse from given URDF data 3) use default joint names: ["joint_1", "joint_2", ..., "joint_6"].
| [in] | joint_list_param | name of joint-names-list parameter to check |
| [in] | urdf_param | name of URDF description parameter to check |
| [out] | joint_names | list of joint names |
Definition at line 96 of file param_utils.cpp.
| bool industrial_utils::param::getJointVelocityLimits | ( | const std::string | urdf_param_name, |
| std::map< std::string, double > & | velocity_limits | ||
| ) |
Tries to read joint velocity limits from the specified URDF parameter.
| [in] | urdf_param_name | name of URDF parameter |
| [out] | velocity_limits | map of velocity limits for each URDF joint |
Definition at line 129 of file param_utils.cpp.
| bool industrial_utils::param::getListParam | ( | const std::string | param_name, |
| std::vector< std::string > & | list_param | ||
| ) |
Gets parameter list as vector of strings.
| param_name | name of list parameter |
| list_param | populated with parameter value(s) |
Definition at line 43 of file param_utils.cpp.
| std::string industrial_utils::param::vec2str | ( | const std::vector< std::string > & | vec | ) |
Definition at line 87 of file param_utils.cpp.