#include <gtest/gtest.h>
#include <ros/ros.h>
#include <moveit/collision_detection_bullet/bullet_integration/bullet_cast_bvh_manager.h>
#include <moveit/collision_detection_bullet/bullet_integration/bullet_discrete_bvh_manager.h>
#include <moveit/collision_detection/collision_common.h>
#include <moveit/robot_model/robot_model.h>
#include <moveit/robot_state/robot_state.h>
#include <moveit/utils/robot_model_test_utils.h>
#include <moveit/collision_detection_bullet/collision_env_bullet.h>
#include <moveit/collision_detection_bullet/bullet_integration/basic_types.h>
#include <urdf_parser/urdf_parser.h>
#include <geometric_shapes/shape_operations.h>
Go to the source code of this file.
Classes | |
class | BulletCollisionDetectionTester |
Functions | |
void | addCollisionObjects (cb::BulletCastBVHManager &checker) |
void | addCollisionObjectsMesh (cb::BulletCastBVHManager &checker) |
int | main (int argc, char **argv) |
void | runTest (cb::BulletCastBVHManager &checker, collision_detection::CollisionResult &result, std::vector< collision_detection::Contact > &result_vector, Eigen::Isometry3d &start_pos, Eigen::Isometry3d &end_pos) |
void | setToHome (moveit::core::RobotState &panda_state) |
Brings the panda robot in user defined home position. More... | |
TEST (ContinuousCollisionUnit, BulletCastBVHCollisionBoxBoxUnit) | |
TEST (ContinuousCollisionUnit, BulletCastMeshVsBox) | |
TEST_F (BulletCollisionDetectionTester, ContinuousCollisionWorld) | |
Two similar robot poses are used as start and end pose of a continuous collision check. More... | |
TEST_F (BulletCollisionDetectionTester, DISABLED_ContinuousCollisionSelf) | |
Continuous self collision checks are not supported yet by the bullet integration. More... | |
void addCollisionObjects | ( | cb::BulletCastBVHManager & | checker | ) |
Definition at line 104 of file test_bullet_continuous_collision_checking.cpp.
void addCollisionObjectsMesh | ( | cb::BulletCastBVHManager & | checker | ) |
Definition at line 145 of file test_bullet_continuous_collision_checking.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 363 of file test_bullet_continuous_collision_checking.cpp.
void runTest | ( | cb::BulletCastBVHManager & | checker, |
collision_detection::CollisionResult & | result, | ||
std::vector< collision_detection::Contact > & | result_vector, | ||
Eigen::Isometry3d & | start_pos, | ||
Eigen::Isometry3d & | end_pos | ||
) |
Definition at line 189 of file test_bullet_continuous_collision_checking.cpp.
|
inline |
Brings the panda robot in user defined home position.
Definition at line 57 of file test_bullet_continuous_collision_checking.cpp.
TEST | ( | ContinuousCollisionUnit | , |
BulletCastBVHCollisionBoxBoxUnit | |||
) |
Definition at line 324 of file test_bullet_continuous_collision_checking.cpp.
TEST | ( | ContinuousCollisionUnit | , |
BulletCastMeshVsBox | |||
) |
Definition at line 344 of file test_bullet_continuous_collision_checking.cpp.
TEST_F | ( | BulletCollisionDetectionTester | , |
ContinuousCollisionWorld | |||
) |
Two similar robot poses are used as start and end pose of a continuous collision check.
Definition at line 261 of file test_bullet_continuous_collision_checking.cpp.
TEST_F | ( | BulletCollisionDetectionTester | , |
DISABLED_ContinuousCollisionSelf | |||
) |
Continuous self collision checks are not supported yet by the bullet integration.
Definition at line 220 of file test_bullet_continuous_collision_checking.cpp.