moveit2
The MoveIt Motion Planning Framework for ROS 2.
Protected Member Functions | Protected Attributes | List of all members
PlanningContextTest< T > Class Template Reference
Inheritance diagram for PlanningContextTest< T >:
Inheritance graph
[legend]
Collaboration diagram for PlanningContextTest< T >:
Collaboration graph
[legend]

Protected Member Functions

void SetUp () override
 
void TearDown () override
 
planning_interface::MotionPlanRequest getValidRequest (const std::string &context_name) const
 Generate a valid fully defined request. More...
 

Protected Attributes

rclcpp::Node::SharedPtr node_
 
moveit::core::RobotModelConstPtr robot_model_
 
std::unique_ptr< robot_model_loader::RobotModelLoaderrm_loader_
 
std::unique_ptr< planning_interface::PlanningContextplanning_context_
 
std::string planning_group_
 
std::string target_link_
 

Detailed Description

template<typename T>
class PlanningContextTest< T >

type parameterized test fixture

Definition at line 87 of file unittest_planning_context.cpp.

Member Function Documentation

◆ getValidRequest()

template<typename T >
planning_interface::MotionPlanRequest PlanningContextTest< T >::getValidRequest ( const std::string &  context_name) const
inlineprotected

Generate a valid fully defined request.

Definition at line 141 of file unittest_planning_context.cpp.

Here is the call graph for this function:

◆ SetUp()

template<typename T >
void PlanningContextTest< T >::SetUp ( )
inlineoverrideprotected

Definition at line 90 of file unittest_planning_context.cpp.

Here is the call graph for this function:

◆ TearDown()

template<typename T >
void PlanningContextTest< T >::TearDown ( )
inlineoverrideprotected

Definition at line 133 of file unittest_planning_context.cpp.

Member Data Documentation

◆ node_

template<typename T >
rclcpp::Node::SharedPtr PlanningContextTest< T >::node_
protected

Definition at line 191 of file unittest_planning_context.cpp.

◆ planning_context_

template<typename T >
std::unique_ptr<planning_interface::PlanningContext> PlanningContextTest< T >::planning_context_
protected

Definition at line 195 of file unittest_planning_context.cpp.

◆ planning_group_

template<typename T >
std::string PlanningContextTest< T >::planning_group_
protected

Definition at line 197 of file unittest_planning_context.cpp.

◆ rm_loader_

template<typename T >
std::unique_ptr<robot_model_loader::RobotModelLoader> PlanningContextTest< T >::rm_loader_
protected

Definition at line 193 of file unittest_planning_context.cpp.

◆ robot_model_

template<typename T >
moveit::core::RobotModelConstPtr PlanningContextTest< T >::robot_model_
protected

Definition at line 192 of file unittest_planning_context.cpp.

◆ target_link_

template<typename T >
std::string PlanningContextTest< T >::target_link_
protected

Definition at line 197 of file unittest_planning_context.cpp.


The documentation for this class was generated from the following file: