Classes | Functions | Variables
test_multi_threaded.cpp File Reference
#include <moveit/robot_model/robot_model.h>
#include <moveit/robot_state/robot_state.h>
#include <moveit/utils/robot_model_test_utils.h>
#include <moveit/planning_scene/planning_scene.h>
#include <gtest/gtest.h>
#include <thread>
#include <moveit/collision_detection/collision_common.h>
#include <moveit/collision_detection/collision_env.h>
#include <moveit/collision_detection/collision_detector_allocator.h>
Include dependency graph for test_multi_threaded.cpp:

Go to the source code of this file.

Classes

class  CollisionDetectorThreadedTest
 

Functions

int main (int argc, char **argv)
 
bool runCollisionDetection (unsigned int id, unsigned int trials, const planning_scene::PlanningScene *scene, const moveit::core::RobotState *state)
 
void runCollisionDetectionAssert (unsigned int id, unsigned int trials, const planning_scene::PlanningScene *scene, const moveit::core::RobotState *state, bool expected_result)
 
 TEST_F (CollisionDetectorThreadedTest, FCLThreaded)
 Tests the FCL collision detector in multiple threads. More...
 

Variables

const int THREADS = 2
 
const int TRIALS = 1000
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 127 of file test_multi_threaded.cpp.

◆ runCollisionDetection()

bool runCollisionDetection ( unsigned int  id,
unsigned int  trials,
const planning_scene::PlanningScene scene,
const moveit::core::RobotState state 
)

Definition at line 51 of file test_multi_threaded.cpp.

◆ runCollisionDetectionAssert()

void runCollisionDetectionAssert ( unsigned int  id,
unsigned int  trials,
const planning_scene::PlanningScene scene,
const moveit::core::RobotState state,
bool  expected_result 
)

Definition at line 64 of file test_multi_threaded.cpp.

◆ TEST_F()

TEST_F ( CollisionDetectorThreadedTest  ,
FCLThreaded   
)

Tests the FCL collision detector in multiple threads.

Definition at line 100 of file test_multi_threaded.cpp.

Variable Documentation

◆ THREADS

const int THREADS = 2

Definition at line 49 of file test_multi_threaded.cpp.

◆ TRIALS

const int TRIALS = 1000

Definition at line 48 of file test_multi_threaded.cpp.



moveit_core
Author(s): Ioan Sucan , Sachin Chitta , Acorn Pooley
autogenerated on Tue Nov 24 2020 03:26:41