40 #include <boost/thread/thread.hpp>
45 bool operator()(
const srdf::Model::CollisionPair& left,
const srdf::Model::CollisionPair& right)
const
48 return left.link1_ < right.link1_ || (!(right.link1_ < left.link1_) && left.link2_ < right.link2_);
61 return "Self-Collisions";
std::vector< std::string > getCollidingLinks()
void startGenerationThread(unsigned int num_trials, double min_frac, bool verbose=true)
int getThreadProgress() const
void linkPairsFromSRDF()
Load Link Pairs from SRDF Format.
LinkPairMap link_pairs_
main storage of link pair data
std::string getName() const override
Returns the name of the setup step.
void joinGenerationThread()
void cancelGenerationThread()
LinkPairMap & getLinkPairs()
void generateCollisionTable(unsigned int num_trials, double min_frac, bool verbose)
void linkPairsToSRDFSorted(size_t skip_mask=0)
Output Link Pairs to SRDF Format; sorted; with optional filter.
void linkPairsToSRDF()
Output Link Pairs to SRDF Format.
Setup Step that contains the SRDFConfig.
std::map< std::pair< std::string, std::string >, LinkPairData > LinkPairMap
LinkPairMap is an adjacency list structure containing links in string-based form. Used for disabled l...
bool operator()(const srdf::Model::CollisionPair &left, const srdf::Model::CollisionPair &right) const