11   : structure_(structure), filter_(
std::make_shared<dart::collision::BodyNodeCollisionFilter>())
 
const std::set< std::pair< std::string, std::string > > & getDisabledPairsConst() const
Get the pairs of frames that have collision disabled.
 
std::set< std::pair< std::string, std::string > > & getDisabledPairs()
Get the pairs of frames that have collision disabled.
 
std::shared_ptr< dart::collision::BodyNodeCollisionFilter > filter_
Collision filter.
 
const Structure * structure_
Structure this ACM is for.
 
std::shared_ptr< dart::collision::BodyNodeCollisionFilter > getFilter()
Get the Dart collision filter corresponding to this ACM.
 
void disableCollision(const std::string &a, const std::string &b)
Disable collisions between body frames a and b.
 
const std::shared_ptr< dart::collision::BodyNodeCollisionFilter > & getFilterConst() const
Get the Dart collision filter corresponding to this ACM.
 
dart::dynamics::BodyNode * getBodyNode(const std::string &key)
Get the body node in the structure corresponding to the body frame name.
 
ACM(const Structure *structure)
Constructor.
 
std::pair< std::string, std::string > makeKey(const std::string &a, const std::string &b) const
Create a unique key for two frame names.
 
std::set< std::pair< std::string, std::string > > acm_
Disabled collision pairs.
 
void enableCollision(const std::string &a, const std::string &b)
Enable collisions between body frames a and b.
 
const Structure * getStructure() const
Get the structure this ACM is for.
 
Wrapper class for a dart::dynamics::Skeleton.
 
const dart::dynamics::SkeletonPtr & getSkeletonConst() const
Get the underlying skeleton for the structure.
 
DART-based robot modeling and planning.