DesignerTrajectoryManagerTest.cpp File Reference
#include <RobotComponents/Test.h>
#include "../Manager/DesignerTrajectoryManager.h"
#include <VirtualRobot/XML/RobotIO.h>
#include "../Util/OrientationConversion.h"
#include "../Interpolation/LinearInterpolation.h"
#include <ArmarXCore/core/logging/LogSender.h>
#include <ArmarXCore/core/system/cmake/CMakePackageFinder.h>
+ Include dependency graph for DesignerTrajectoryManagerTest.cpp:

Go to the source code of this file.

Classes

struct  PosePkg
 The PosePkg struct - Testing utility. More...
 

Macros

#define ARMARX_BOOST_TEST
 
#define BOOST_TEST_MODULE   ArmarX::RobotTrajectoryDesigner::DesignerTrajectoryManager
 

Functions

 BOOST_AUTO_TEST_CASE (basicTest)
 
 BOOST_AUTO_TEST_CASE (breakpointTest)
 
 BOOST_AUTO_TEST_CASE (testEqualityOfPoseBases)
 
 BOOST_AUTO_TEST_CASE (undoRedoTest1)
 
 BOOST_AUTO_TEST_CASE (undoRedoTest2)
 
 BOOST_AUTO_TEST_CASE (wrongUsage)
 
PosePkg createPosePkg (float x, float y, float z, float qw, float qx, float qy, float qz)
 
bool equalDesignerTrajectory (DesignerTrajectoryPtr dt1, DesignerTrajectoryPtr dt2)
 
bool equalPoseBase (PoseBasePtr p1, PoseBasePtr p2)
 
bool equalTrajectory (armarx::TrajectoryPtr t1, armarx::TrajectoryPtr t2)
 
bool equalTransition (armarx::TransitionPtr t1, armarx::TransitionPtr t2)
 
bool equalUserWaypoint (armarx::UserWaypointPtr u1, armarx::UserWaypointPtr u2)
 
PoseBasePtr poseToLocal (PoseBasePtr pose, RobotPtr robot, std::string &rnsName)
 
double roundTo (double d, int accuracy)
 

Macro Definition Documentation

◆ ARMARX_BOOST_TEST

#define ARMARX_BOOST_TEST

Definition at line 2 of file DesignerTrajectoryManagerTest.cpp.

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   ArmarX::RobotTrajectoryDesigner::DesignerTrajectoryManager

Definition at line 1 of file DesignerTrajectoryManagerTest.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/6]

BOOST_AUTO_TEST_CASE ( basicTest  )

Definition at line 315 of file DesignerTrajectoryManagerTest.cpp.

+ Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [2/6]

BOOST_AUTO_TEST_CASE ( breakpointTest  )

Definition at line 576 of file DesignerTrajectoryManagerTest.cpp.

+ Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [3/6]

BOOST_AUTO_TEST_CASE ( testEqualityOfPoseBases  )

Definition at line 253 of file DesignerTrajectoryManagerTest.cpp.

+ Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [4/6]

BOOST_AUTO_TEST_CASE ( undoRedoTest1  )

Definition at line 443 of file DesignerTrajectoryManagerTest.cpp.

+ Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [5/6]

BOOST_AUTO_TEST_CASE ( undoRedoTest2  )

Definition at line 512 of file DesignerTrajectoryManagerTest.cpp.

+ Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [6/6]

BOOST_AUTO_TEST_CASE ( wrongUsage  )

Definition at line 269 of file DesignerTrajectoryManagerTest.cpp.

+ Here is the call graph for this function:

◆ createPosePkg()

PosePkg createPosePkg ( float  x,
float  y,
float  z,
float  qw,
float  qx,
float  qy,
float  qz 
)

Definition at line 26 of file DesignerTrajectoryManagerTest.cpp.

+ Here is the caller graph for this function:

◆ equalDesignerTrajectory()

bool equalDesignerTrajectory ( DesignerTrajectoryPtr  dt1,
DesignerTrajectoryPtr  dt2 
)

Definition at line 191 of file DesignerTrajectoryManagerTest.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ equalPoseBase()

bool equalPoseBase ( PoseBasePtr  p1,
PoseBasePtr  p2 
)

Definition at line 42 of file DesignerTrajectoryManagerTest.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ equalTrajectory()

bool equalTrajectory ( armarx::TrajectoryPtr  t1,
armarx::TrajectoryPtr  t2 
)

Definition at line 83 of file DesignerTrajectoryManagerTest.cpp.

+ Here is the caller graph for this function:

◆ equalTransition()

bool equalTransition ( armarx::TransitionPtr  t1,
armarx::TransitionPtr  t2 
)

Definition at line 150 of file DesignerTrajectoryManagerTest.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ equalUserWaypoint()

bool equalUserWaypoint ( armarx::UserWaypointPtr  u1,
armarx::UserWaypointPtr  u2 
)

Definition at line 109 of file DesignerTrajectoryManagerTest.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ poseToLocal()

PoseBasePtr poseToLocal ( PoseBasePtr  pose,
RobotPtr  robot,
std::string &  rnsName 
)

Definition at line 245 of file DesignerTrajectoryManagerTest.cpp.

+ Here is the caller graph for this function:

◆ roundTo()

double roundTo ( double  d,
int  accuracy 
)

Definition at line 37 of file DesignerTrajectoryManagerTest.cpp.

+ Here is the caller graph for this function: