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. |
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.
The | default set of links |
The | set of links for which collisions are to be enabled |
The | set of links for which collisions are to be disabled |
The | result |