Functions
kinematics_msgs Namespace Reference

Functions

void getCollisionLinks (const std::vector< std::string > &default_links, const std::vector< std::string > &collision_enable_links, const std::vector< std::string > &collision_disable_links, std::vector< std::string > &result)
 Get a list of exclusive links for which collision checks are to be enabled. There are four cases: (a) If both collision_enable_links and collision_disable_links are empty, result = default_links (b) If collision_enable_links is non-empty and collision_disable_links is empty, result = collision_enable_links (c) If collision_enable_links is empty and collision_disable_links is non-empty, result = default_links - collision_disable_links (d) If collision_enable_links is non-empty and collision_disable_links is non-empty, result = Union(default_links, collision_enable_links) - disable_links.

Function Documentation

void kinematics_msgs::getCollisionLinks ( const std::vector< std::string > &  default_links,
const std::vector< std::string > &  collision_enable_links,
const std::vector< std::string > &  collision_disable_links,
std::vector< std::string > &  result 
)

Get a list of exclusive links for which collision checks are to be enabled. There are four cases: (a) If both collision_enable_links and collision_disable_links are empty, result = default_links (b) If collision_enable_links is non-empty and collision_disable_links is empty, result = collision_enable_links (c) If collision_enable_links is empty and collision_disable_links is non-empty, result = default_links - collision_disable_links (d) If collision_enable_links is non-empty and collision_disable_links is non-empty, result = Union(default_links, collision_enable_links) - disable_links.

Parameters:
Thedefault set of links
Theset of links for which collisions are to be enabled
Theset of links for which collisions are to be disabled
Theresult

Definition at line 54 of file utils.h.



kinematics_msgs
Author(s): Sachin Chitta
autogenerated on Tue Jan 7 2014 11:18:50