moveit2
The MoveIt Motion Planning Framework for ROS 2.
Loading...
Searching...
No Matches
unittest_planning_context.cpp File Reference
Include dependency graph for unittest_planning_context.cpp:

Go to the source code of this file.

Classes

class  ValueTypeContainer< T, N >
class  PlanningContextTest< T >

Typedefs

typedef ValueTypeContainer< pilz_industrial_motion_planner::PlanningContextPTP, 0 > PTP_NO_GRIPPER
typedef ValueTypeContainer< pilz_industrial_motion_planner::PlanningContextPTP, 1 > PTP_WITH_GRIPPER
typedef ValueTypeContainer< pilz_industrial_motion_planner::PlanningContextLIN, 0 > LIN_NO_GRIPPER
typedef ValueTypeContainer< pilz_industrial_motion_planner::PlanningContextLIN, 1 > LIN_WITH_GRIPPER
typedef ValueTypeContainer< pilz_industrial_motion_planner::PlanningContextCIRC, 0 > CIRC_NO_GRIPPER
typedef ValueTypeContainer< pilz_industrial_motion_planner::PlanningContextCIRC, 1 > CIRC_WITH_GRIPPER
typedef ::testing::Types< PTP_NO_GRIPPER, PTP_WITH_GRIPPER, LIN_NO_GRIPPER, LIN_WITH_GRIPPER, CIRC_NO_GRIPPER, CIRC_WITH_GRIPPERPlanningContextTestTypes

Functions

const std::string PARAM_PLANNING_GROUP_NAME ("planning_group")
const std::string PARAM_TARGET_LINK_NAME ("target_link")
 TYPED_TEST_SUITE (PlanningContextTest, PlanningContextTestTypes,)
 TYPED_TEST (PlanningContextTest, NoRequest)
 No request is set. Check the output of solve. Using robot model without gripper.
 TYPED_TEST (PlanningContextTest, SolveValidRequest)
 Solve a valid request.
 TYPED_TEST (PlanningContextTest, SolveValidRequestDetailedResponse)
 Solve a valid request. Expect a detailed response.
 TYPED_TEST (PlanningContextTest, SolveOnTerminated)
 Call solve on a terminated context.
 TYPED_TEST (PlanningContextTest, Clear)
 Check if clear can be called. So far only stability is expected.
int main (int argc, char **argv)

Variables

template<typename T, int N>
const int ValueTypeContainer< T, N >::VALUE

Typedef Documentation

◆ CIRC_NO_GRIPPER

◆ CIRC_WITH_GRIPPER

◆ LIN_NO_GRIPPER

◆ LIN_WITH_GRIPPER

◆ PlanningContextTestTypes

◆ PTP_NO_GRIPPER

◆ PTP_WITH_GRIPPER

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

Definition at line 281 of file unittest_planning_context.cpp.

◆ PARAM_PLANNING_GROUP_NAME()

const std::string PARAM_PLANNING_GROUP_NAME ( "planning_group" )
Here is the caller graph for this function:

◆ PARAM_TARGET_LINK_NAME()

const std::string PARAM_TARGET_LINK_NAME ( "target_link" )
Here is the caller graph for this function:

◆ TYPED_TEST() [1/5]

TYPED_TEST ( PlanningContextTest ,
Clear  )

Check if clear can be called. So far only stability is expected.

Definition at line 276 of file unittest_planning_context.cpp.

Here is the call graph for this function:

◆ TYPED_TEST() [2/5]

TYPED_TEST ( PlanningContextTest ,
NoRequest  )

No request is set. Check the output of solve. Using robot model without gripper.

Definition at line 207 of file unittest_planning_context.cpp.

Here is the call graph for this function:

◆ TYPED_TEST() [3/5]

TYPED_TEST ( PlanningContextTest ,
SolveOnTerminated  )

Call solve on a terminated context.

Definition at line 257 of file unittest_planning_context.cpp.

Here is the call graph for this function:

◆ TYPED_TEST() [4/5]

TYPED_TEST ( PlanningContextTest ,
SolveValidRequest  )

Solve a valid request.

Definition at line 219 of file unittest_planning_context.cpp.

Here is the call graph for this function:

◆ TYPED_TEST() [5/5]

TYPED_TEST ( PlanningContextTest ,
SolveValidRequestDetailedResponse  )

Solve a valid request. Expect a detailed response.

Definition at line 242 of file unittest_planning_context.cpp.

Here is the call graph for this function:

◆ TYPED_TEST_SUITE()

Variable Documentation

◆ ValueTypeContainer< T, N >::VALUE

template<typename T, int N>
const int ValueTypeContainer< T, N >::VALUE

Definition at line 70 of file unittest_planning_context.cpp.