moveit2
The MoveIt Motion Planning Framework for ROS 2.
|
Data structure which is passed to the collision callback function of the collision manager. More...
#include <collision_common.h>
Public Member Functions | |
CollisionData () | |
CollisionData (const CollisionRequest *req, CollisionResult *res, const AllowedCollisionMatrix *acm) | |
~CollisionData () | |
void | enableGroup (const moveit::core::RobotModelConstPtr &robot_model) |
Compute active_components_only_ based on the joint group specified in req_. | |
Public Attributes | |
const CollisionRequest * | req_ |
The collision request passed by the user. | |
const std::set< const moveit::core::LinkModel * > * | active_components_only_ |
If the collision request includes a group name, this set contains the pointers to the link models that are considered for collision. | |
CollisionResult * | res_ |
The user-specified response location. | |
const AllowedCollisionMatrix * | acm_ |
The user-specified collision matrix (may be nullptr). | |
bool | done_ |
Flag indicating whether collision checking is complete. | |
Data structure which is passed to the collision callback function of the collision manager.
Definition at line 141 of file collision_common.h.
|
inline |
Definition at line 143 of file collision_common.h.
|
inline |
Definition at line 147 of file collision_common.h.
|
inline |
Definition at line 152 of file collision_common.h.
void collision_detection::CollisionData::enableGroup | ( | const moveit::core::RobotModelConstPtr & | robot_model | ) |
Compute active_components_only_ based on the joint group specified in req_.
Definition at line 993 of file collision_common.cpp.
const AllowedCollisionMatrix* collision_detection::CollisionData::acm_ |
The user-specified collision matrix (may be nullptr).
Definition at line 172 of file collision_common.h.
const std::set<const moveit::core::LinkModel*>* collision_detection::CollisionData::active_components_only_ |
If the collision request includes a group name, this set contains the pointers to the link models that are considered for collision.
If the pointer is nullptr, all collisions are considered.
Definition at line 166 of file collision_common.h.
bool collision_detection::CollisionData::done_ |
Flag indicating whether collision checking is complete.
Definition at line 175 of file collision_common.h.
const CollisionRequest* collision_detection::CollisionData::req_ |
The collision request passed by the user.
Definition at line 160 of file collision_common.h.
CollisionResult* collision_detection::CollisionData::res_ |
The user-specified response location.
Definition at line 169 of file collision_common.h.