Functions
industrial_utils::param Namespace Reference

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"].
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.
std::string vec2str (const std::vector< std::string > &vec)

Function Documentation

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"].

Parameters:
[in]joint_list_paramname of joint-names-list parameter to check
[in]urdf_paramname of URDF description parameter to check
[out]joint_nameslist of joint names
Returns:
true if parameter found, false if defaults used

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.

Parameters:
[in]urdf_param_namename of URDF parameter
[out]velocity_limitsmap of velocity limits for each URDF joint
Returns:
true if parameter found, false if not found

Definition at line 135 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.

Parameters:
param_namename of list parameter
list_parampopulated with parameter value(s)
Returns:
true if parameter

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.



industrial_utils
Author(s): Shaun M. Edwards
autogenerated on Fri Aug 28 2015 11:12:05