moveit2
The MoveIt Motion Planning Framework for ROS 2.
Loading...
Searching...
No Matches
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

namespace  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.
 
btVector3 collision_detection_bullet::convertEigenToBt (const Eigen::Vector3d &v)
 Converts eigen vector to bullet vector.
 
Eigen::Vector3d collision_detection_bullet::convertBtToEigen (const btVector3 &v)
 Converts bullet vector to eigen vector.
 
btQuaternion collision_detection_bullet::convertEigenToBt (const Eigen::Quaterniond &q)
 Converts eigen quaternion to bullet quaternion.
 
btMatrix3x3 collision_detection_bullet::convertEigenToBt (const Eigen::Matrix3d &r)
 Converts eigen matrix to bullet matrix.
 
btTransform collision_detection_bullet::convertEigenToBt (const Eigen::Isometry3d &t)
 Converts bullet transform to eigen transform.
 
void collision_detection_bullet::getAverageSupport (const btConvexShape *shape, const btVector3 &localNormal, float &outsupport, btVector3 &outpt)
 Computes the local supporting vertex of a convex shape.
 
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.
 
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.
 
btCollisionShape * collision_detection_bullet::createShapePrimitive (const shapes::ShapeConstPtr &geom, const CollisionObjectType &collision_object_type, CollisionObjectWrapper *cow)
 Casts a geometric shape into a btCollisionShape.
 
void collision_detection_bullet::updateCollisionObjectFilters (const std::vector< std::string > &active, CollisionObjectWrapper &cow)
 Update a collision objects filters.
 
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.
 
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.
 
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.
 

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.