moveit2
The MoveIt Motion Planning Framework for ROS 2.
Classes | Namespaces | Macros | Functions | Variables
bullet_utils.h File Reference
#include <btBulletCollisionCommon.h>
#include <geometric_shapes/mesh_operations.h>
#include <rclcpp/logging.hpp>
#include <moveit/collision_detection_bullet/bullet_integration/basic_types.h>
#include <moveit/collision_detection_bullet/bullet_integration/contact_checker_common.h>
#include <moveit/collision_detection/collision_common.h>
#include <moveit/macros/declare_ptr.h>
#include <moveit/macros/class_forward.h>
Include dependency graph for bullet_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  collision_detection_bullet::CollisionObjectWrapper
 Tesseract bullet collision object. More...
 
struct  collision_detection_bullet::CastHullShape
 Casted collision shape used for checking if an object is collision free between two discrete poses. More...
 
struct  collision_detection_bullet::BroadphaseContactResultCallback
 Callback structure for both discrete and continuous broadphase collision pair. More...
 
struct  collision_detection_bullet::TesseractBroadphaseBridgedManifoldResult
 
class  collision_detection_bullet::TesseractCollisionPairCallback
 A callback function that is called as part of the broadphase collision checking. More...
 
struct  collision_detection_bullet::BroadphaseFilterCallback
 

Namespaces

 collision_detection_bullet
 

Macros

#define METERS
 

Functions

 collision_detection_bullet::MOVEIT_CLASS_FORWARD (CollisionObjectWrapper)
 
bool collision_detection_bullet::acmCheck (const std::string &body_1, const std::string &body_2, const collision_detection::AllowedCollisionMatrix *acm)
 Allowed = true. More...
 
btVector3 collision_detection_bullet::convertEigenToBt (const Eigen::Vector3d &v)
 Converts eigen vector to bullet vector. More...
 
Eigen::Vector3d collision_detection_bullet::convertBtToEigen (const btVector3 &v)
 Converts bullet vector to eigen vector. More...
 
btQuaternion collision_detection_bullet::convertEigenToBt (const Eigen::Quaterniond &q)
 Converts eigen quaternion to bullet quaternion. More...
 
btMatrix3x3 collision_detection_bullet::convertEigenToBt (const Eigen::Matrix3d &r)
 Converts eigen matrix to bullet matrix. More...
 
btTransform collision_detection_bullet::convertEigenToBt (const Eigen::Isometry3d &t)
 Converts bullet transform to eigen transform. More...
 
void collision_detection_bullet::getAverageSupport (const btConvexShape *shape, const btVector3 &localNormal, float &outsupport, btVector3 &outpt)
 Computes the local supporting vertex of a convex shape. More...
 
btScalar collision_detection_bullet::addDiscreteSingleResult (btManifoldPoint &cp, const btCollisionObjectWrapper *colObj0Wrap, const btCollisionObjectWrapper *colObj1Wrap, ContactTestData &collisions)
 Converts a bullet contact result to MoveIt format and adds it to the result data structure. More...
 
btScalar collision_detection_bullet::addCastSingleResult (btManifoldPoint &cp, const btCollisionObjectWrapper *colObj0Wrap, int, const btCollisionObjectWrapper *colObj1Wrap, int, ContactTestData &collisions)
 
bool collision_detection_bullet::isOnlyKinematic (const CollisionObjectWrapper *cow0, const CollisionObjectWrapper *cow1)
 Checks if the collision pair is kinematic vs kinematic objects. More...
 
btCollisionShape * collision_detection_bullet::createShapePrimitive (const shapes::ShapeConstPtr &geom, const CollisionObjectType &collision_object_type, CollisionObjectWrapper *cow)
 Casts a geometric shape into a btCollisionShape. More...
 
void collision_detection_bullet::updateCollisionObjectFilters (const std::vector< std::string > &active, CollisionObjectWrapper &cow)
 Update a collision objects filters. More...
 
CollisionObjectWrapperPtr collision_detection_bullet::makeCastCollisionObject (const CollisionObjectWrapperPtr &cow)
 
void collision_detection_bullet::updateBroadphaseAABB (const CollisionObjectWrapperPtr &cow, const std::unique_ptr< btBroadphaseInterface > &broadphase, const std::unique_ptr< btCollisionDispatcher > &dispatcher)
 Update the Broadphase AABB for the input collision object. More...
 
void collision_detection_bullet::removeCollisionObjectFromBroadphase (const CollisionObjectWrapperPtr &cow, const std::unique_ptr< btBroadphaseInterface > &broadphase, const std::unique_ptr< btCollisionDispatcher > &dispatcher)
 Remove the collision object from broadphase. More...
 
void collision_detection_bullet::addCollisionObjectToBroadphase (const CollisionObjectWrapperPtr &cow, const std::unique_ptr< btBroadphaseInterface > &broadphase, const std::unique_ptr< btCollisionDispatcher > &dispatcher)
 Add the collision object to broadphase. More...
 

Variables

const btScalar collision_detection_bullet::BULLET_MARGIN = 0.0f
 
const btScalar collision_detection_bullet::BULLET_SUPPORT_FUNC_TOLERANCE = 0.01f METERS
 
const btScalar collision_detection_bullet::BULLET_LENGTH_TOLERANCE = 0.001f METERS
 
const btScalar collision_detection_bullet::BULLET_EPSILON = 1e-3f
 
const btScalar collision_detection_bullet::BULLET_DEFAULT_CONTACT_DISTANCE = 0.00f
 
const bool collision_detection_bullet::BULLET_COMPOUND_USE_DYNAMIC_AABB = true
 

Macro Definition Documentation

◆ METERS

#define METERS

Definition at line 49 of file bullet_utils.h.