The AllowedCollisionMatrix is a data structure containing links for which a detected collision does not result in a state to be considered invalid/in-collision. This can exclude links that are in collision by default, neighbouring links, or links that could never be possibly in collision (e.g. if out of reach).
More...
#include <collision_scene.h>
|
std::unordered_map< std::string, std::unordered_set< std::string > > | entries_ |
|
The AllowedCollisionMatrix is a data structure containing links for which a detected collision does not result in a state to be considered invalid/in-collision. This can exclude links that are in collision by default, neighbouring links, or links that could never be possibly in collision (e.g. if out of reach).
Definition at line 54 of file collision_scene.h.
◆ AllowedCollisionMatrix() [1/2]
exotica::AllowedCollisionMatrix::AllowedCollisionMatrix |
( |
| ) |
|
|
inline |
◆ ~AllowedCollisionMatrix()
exotica::AllowedCollisionMatrix::~AllowedCollisionMatrix |
( |
| ) |
|
|
inline |
◆ AllowedCollisionMatrix() [2/2]
◆ clear()
void exotica::AllowedCollisionMatrix::clear |
( |
| ) |
|
|
inline |
◆ getAllEntryNames()
void exotica::AllowedCollisionMatrix::getAllEntryNames |
( |
std::vector< std::string > & |
names | ) |
const |
|
inline |
◆ getAllowedCollision()
bool exotica::AllowedCollisionMatrix::getAllowedCollision |
( |
const std::string & |
name1, |
|
|
const std::string & |
name2 |
|
) |
| const |
|
inline |
◆ getNumberOfEntries()
size_t exotica::AllowedCollisionMatrix::getNumberOfEntries |
( |
| ) |
const |
|
inline |
◆ hasEntry()
bool exotica::AllowedCollisionMatrix::hasEntry |
( |
const std::string & |
name | ) |
const |
|
inline |
◆ operator=()
◆ setEntry()
void exotica::AllowedCollisionMatrix::setEntry |
( |
const std::string & |
name1, |
|
|
const std::string & |
name2 |
|
) |
| |
|
inline |
◆ entries_
std::unordered_map<std::string, std::unordered_set<std::string> > exotica::AllowedCollisionMatrix::entries_ |
|
private |
The documentation for this class was generated from the following file: