Classes | Macros | Typedefs | Functions
planning_scene_monitor_test.cpp File Reference
#include <ros/ros.h>
#include <gtest/gtest.h>
#include <moveit/planning_scene_monitor/planning_scene_monitor.h>
#include <moveit/robot_state/conversions.h>
Include dependency graph for planning_scene_monitor_test.cpp:

Go to the source code of this file.

Classes

class  PlanningSceneMonitorTest
 

Macros

#define TRIGGERS_UPDATE(msg, expected_update_type)
 

Typedefs

using UpdateType = planning_scene_monitor::PlanningSceneMonitor::SceneUpdateType
 

Functions

int main (int argc, char **argv)
 
 TEST_F (PlanningSceneMonitorTest, TestPersistentScene)
 
 TEST_F (PlanningSceneMonitorTest, UpdateTypes)
 

Macro Definition Documentation

◆ TRIGGERS_UPDATE

#define TRIGGERS_UPDATE (   msg,
  expected_update_type 
)
Value:
{ \
psm->clearUpdateCallbacks(); \
auto received_update_type{ UpdateType::UPDATE_NONE }; \
psm->addUpdateCallback([&](auto type) { received_update_type = type; }); \
psm->newPlanningSceneMessage(msg); \
EXPECT_EQ(received_update_type, expected_update_type); \
}

Definition at line 85 of file planning_scene_monitor_test.cpp.

Typedef Documentation

◆ UpdateType

Definition at line 83 of file planning_scene_monitor_test.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 133 of file planning_scene_monitor_test.cpp.

◆ TEST_F() [1/2]

TEST_F ( PlanningSceneMonitorTest  ,
TestPersistentScene   
)

Definition at line 70 of file planning_scene_monitor_test.cpp.

◆ TEST_F() [2/2]

TEST_F ( PlanningSceneMonitorTest  ,
UpdateTypes   
)

Definition at line 94 of file planning_scene_monitor_test.cpp.



planning
Author(s): Ioan Sucan , Sachin Chitta
autogenerated on Thu Nov 21 2024 03:24:18