orocos_kdl
Public Member Functions | Private Member Functions | List of all members
FramesTest Class Reference

#include <framestest.hpp>

Inheritance diagram for FramesTest:
Inheritance graph
[legend]

Public Member Functions

void setUp ()
 
void tearDown ()
 
void TestEuler ()
 
void TestFrame ()
 
void TestGetRotAngle ()
 
void TestJntArray ()
 
void TestJntArrayWhenEmpty ()
 
void TestQuaternion ()
 
void TestRotation ()
 
void TestRotationDiff ()
 
void TestTwist ()
 
void TestVector ()
 
void TestVector2DNorm ()
 
void TestWrench ()
 

Private Member Functions

 CPPUNIT_TEST (TestEuler)
 
 CPPUNIT_TEST (TestFrame)
 
 CPPUNIT_TEST (TestGetRotAngle)
 
 CPPUNIT_TEST (TestJntArray)
 
 CPPUNIT_TEST (TestQuaternion)
 
 CPPUNIT_TEST (TestRotation)
 
 CPPUNIT_TEST (TestRotationDiff)
 
 CPPUNIT_TEST (TestTwist)
 
 CPPUNIT_TEST (TestVector)
 
 CPPUNIT_TEST (TestVector2DNorm)
 
 CPPUNIT_TEST (TestWrench)
 
 CPPUNIT_TEST_SUITE (FramesTest)
 
 CPPUNIT_TEST_SUITE_END ()
 
void TestArbitraryRotation (const std::string &msg, const KDL::Vector &v, const double angle, const double expectedAngle, const KDL::Vector &expectedVector)
 
void TestOneRotation (const std::string &msg, const KDL::Rotation &R, const double expectedAngle, const KDL::Vector &expectedAxis)
 
void TestOneRotationDiff (const std::string &msg, const KDL::Rotation &R_a_b1, const KDL::Rotation &R_a_b2, const KDL::Vector &expectedDiff)
 
void TestRangeArbitraryRotation (const std::string &msg, const KDL::Vector &v, const KDL::Vector &expectedVector)
 
void TestRotation2 (const Vector &v, double a, double b, double c)
 
void TestTwist2 (Twist &t)
 
void TestVector2 (Vector &v)
 
void TestWrench2 (Wrench &w)
 

Detailed Description

Definition at line 10 of file framestest.hpp.

Member Function Documentation

◆ CPPUNIT_TEST() [1/11]

FramesTest::CPPUNIT_TEST ( TestEuler  )
private

◆ CPPUNIT_TEST() [2/11]

FramesTest::CPPUNIT_TEST ( TestFrame  )
private

◆ CPPUNIT_TEST() [3/11]

FramesTest::CPPUNIT_TEST ( TestGetRotAngle  )
private

◆ CPPUNIT_TEST() [4/11]

FramesTest::CPPUNIT_TEST ( TestJntArray  )
private

◆ CPPUNIT_TEST() [5/11]

FramesTest::CPPUNIT_TEST ( TestQuaternion  )
private

◆ CPPUNIT_TEST() [6/11]

FramesTest::CPPUNIT_TEST ( TestRotation  )
private

◆ CPPUNIT_TEST() [7/11]

FramesTest::CPPUNIT_TEST ( TestRotationDiff  )
private

◆ CPPUNIT_TEST() [8/11]

FramesTest::CPPUNIT_TEST ( TestTwist  )
private

◆ CPPUNIT_TEST() [9/11]

FramesTest::CPPUNIT_TEST ( TestVector  )
private

◆ CPPUNIT_TEST() [10/11]

FramesTest::CPPUNIT_TEST ( TestVector2DNorm  )
private

◆ CPPUNIT_TEST() [11/11]

FramesTest::CPPUNIT_TEST ( TestWrench  )
private

◆ CPPUNIT_TEST_SUITE()

FramesTest::CPPUNIT_TEST_SUITE ( FramesTest  )
private

◆ CPPUNIT_TEST_SUITE_END()

FramesTest::CPPUNIT_TEST_SUITE_END ( )
private

◆ setUp()

void FramesTest::setUp ( )

Definition at line 9 of file framestest.cpp.

◆ tearDown()

void FramesTest::tearDown ( )

Definition at line 13 of file framestest.cpp.

◆ TestArbitraryRotation()

void FramesTest::TestArbitraryRotation ( const std::string msg,
const KDL::Vector v,
const double  angle,
const double  expectedAngle,
const KDL::Vector expectedVector 
)
private

Definition at line 195 of file framestest.cpp.

◆ TestEuler()

void FramesTest::TestEuler ( )

Definition at line 242 of file framestest.cpp.

◆ TestFrame()

void FramesTest::TestFrame ( )

Definition at line 628 of file framestest.cpp.

◆ TestGetRotAngle()

void FramesTest::TestGetRotAngle ( )

Definition at line 427 of file framestest.cpp.

◆ TestJntArray()

void FramesTest::TestJntArray ( )

Definition at line 681 of file framestest.cpp.

◆ TestJntArrayWhenEmpty()

void FramesTest::TestJntArrayWhenEmpty ( )

Definition at line 733 of file framestest.cpp.

◆ TestOneRotation()

void FramesTest::TestOneRotation ( const std::string msg,
const KDL::Rotation R,
const double  expectedAngle,
const KDL::Vector expectedAxis 
)
private

Definition at line 176 of file framestest.cpp.

◆ TestOneRotationDiff()

void FramesTest::TestOneRotationDiff ( const std::string msg,
const KDL::Rotation R_a_b1,
const KDL::Rotation R_a_b2,
const KDL::Vector expectedDiff 
)
private

Definition at line 525 of file framestest.cpp.

◆ TestQuaternion()

void FramesTest::TestQuaternion ( )

Definition at line 483 of file framestest.cpp.

◆ TestRangeArbitraryRotation()

void FramesTest::TestRangeArbitraryRotation ( const std::string msg,
const KDL::Vector v,
const KDL::Vector expectedVector 
)
private

Definition at line 312 of file framestest.cpp.

◆ TestRotation()

void FramesTest::TestRotation ( )

Definition at line 355 of file framestest.cpp.

◆ TestRotation2()

void FramesTest::TestRotation2 ( const Vector v,
double  a,
double  b,
double  c 
)
private

Definition at line 116 of file framestest.cpp.

◆ TestRotationDiff()

void FramesTest::TestRotationDiff ( )

Definition at line 534 of file framestest.cpp.

◆ TestTwist()

void FramesTest::TestTwist ( )

Definition at line 75 of file framestest.cpp.

◆ TestTwist2()

void FramesTest::TestTwist2 ( Twist t)
private

Definition at line 58 of file framestest.cpp.

◆ TestVector()

void FramesTest::TestVector ( )

Definition at line 33 of file framestest.cpp.

◆ TestVector2()

void FramesTest::TestVector2 ( Vector v)
private

Definition at line 17 of file framestest.cpp.

◆ TestVector2DNorm()

void FramesTest::TestVector2DNorm ( )

Definition at line 48 of file framestest.cpp.

◆ TestWrench()

void FramesTest::TestWrench ( )

Definition at line 104 of file framestest.cpp.

◆ TestWrench2()

void FramesTest::TestWrench2 ( Wrench w)
private

Definition at line 87 of file framestest.cpp.


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