Functions
industrial_utils::param Namespace Reference

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.

Function Documentation

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.

Parameters:
param_namename of joint-names parameter
[out]joint_nameslist of joint names
Returns:
true if parameter found, false if defaults used

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.

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

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

Definition at line 42 of file param_utils.cpp.



industrial_utils
Author(s): Shaun M. Edwards
autogenerated on Mon Oct 6 2014 00:54:49