Functions | |
bool | getJointNames (const std::string param_name, std::vector< std::string > &joint_names) |
Tries to read joint names from given parameter, with a fallback to default joint names if parameter not available. Default joint names will be "joint_N", where N is 1 to the number of joints passed in. | |
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. | |
bool | getListParam (const std::string param_name, std::vector< std::string > &list_param) |
Gets parameter list as vector of strings. |
bool industrial_utils::param::getJointNames | ( | const std::string | param_name, |
std::vector< std::string > & | joint_names | ||
) |
Tries to read joint names from given parameter, with a fallback to default joint names if parameter not available. Default joint names will be "joint_N", where N is 1 to the number of joints passed in.
param_name | name of joint-names parameter | |
[out] | joint_names | list of joint names |
Definition at line 86 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 104 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 42 of file param_utils.cpp.