#include <set>
#include <vector>
#include <string>
Go to the source code of this file.
Namespaces | |
namespace | kinematics_msgs |
Functions | |
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. |