Representation of a collision checking request.
virtual void checkSelfCollision(const CollisionRequest &req, CollisionResult &res, const robot_state::RobotState &state) const =0
Check for self collision. Any collision between any pair of links is checked for, NO collisions are i...
Maintain a representation of the environment.
ContactMap contacts
A map returning the pairs of ids of the bodies in contact, plus information about the contacts themse...
Representation of a collision checking result.
Generic interface to collision detection.
bool collision
True if collision was found, false otherwise.
std::size_t max_contacts
Overall maximum number of contacts to compute.
virtual void checkRobotCollision(const CollisionRequest &req, CollisionResult &res, const CollisionRobot &robot, const robot_state::RobotState &state) const =0
Check whether the robot model is in collision with the world. Any collisions between a robot link and...
Definition of a structure for the allowed collision matrix. All elements in the collision world are r...
This class represents a collision model of the robot and can be used for self collision checks (to ch...
bool contacts
If true, compute contacts.
virtual void setWorld(const WorldPtr &world)
Perform collision checking with the environment. The collision world maintains a representation of th...
Representation of a robot's state. This includes position, velocity, acceleration and effort...
WorldConstPtr world_const_
virtual void checkCollision(const CollisionRequest &req, CollisionResult &res, const CollisionRobot &robot, const robot_state::RobotState &state) const
Check whether the robot model is in collision with itself or the world at a particular state...