Classes | Functions | Variables
SpatialAlgebraTests.cc File Reference
#include <gtest/gtest.h>
#include "UnitTestUtils.hpp"
#include "rdl_dynamics/Body.h"
Include dependency graph for SpatialAlgebraTests.cc:

Go to the source code of this file.

Classes

struct  SpatialAlgebraTests
 

Functions

Matrix3d get_rotation (const SpatialMatrix &m)
 
Vector3d get_translation (const SpatialMatrix &m)
 
int main (int argc, char **argv)
 
SpatialMatrix spatial_adjoint (const SpatialMatrix &m)
 
SpatialMatrix spatial_inverse (const SpatialMatrix &m)
 
 TEST (SpatialAlgebraTests, euler)
 
 TEST (SpatialAlgebraTests, fromAxisAngleToQuaternion)
 
 TEST (SpatialAlgebraTests, fromMatrixToQuaternion)
 
 TEST (SpatialAlgebraTests, AxisAngle)
 
 TEST (SpatialAlgebraTests, TestSpatialMatrixTimesSpatialVector)
 Checks the multiplication of a SpatialMatrix with a SpatialVector. More...
 
 TEST (SpatialAlgebraTests, TestSpatialTransformInverse)
 
 TEST (SpatialAlgebraTests, TestScalarTimesSpatialVector)
 Checks the multiplication of a scalar with a SpatialVector. More...
 
 TEST (SpatialAlgebraTests, TestScalarTimesSpatialMatrix)
 Checks the multiplication of a scalar with a SpatialMatrix. More...
 
 TEST (SpatialAlgebraTests, TestSpatialMatrixTimesSpatialMatrix)
 Checks the multiplication of a scalar with a SpatialMatrix. More...
 
 TEST (SpatialAlgebraTests, TestSpatialMatrixTransformAdjoint)
 Checks the adjoint method. More...
 
 TEST (SpatialAlgebraTests, TestSpatialMatrixInverse)
 
 TEST (SpatialAlgebraTests, TestSpatialMatrixGetRotation)
 
 TEST (SpatialAlgebraTests, TestSpatialMatrixGetTranslation)
 
 TEST (SpatialAlgebraTests, TestSpatialVectorCross)
 
 TEST (SpatialAlgebraTests, TestSpatialVectorCrossmCrossf)
 
 TEST (SpatialAlgebraTests, TestSpatialTransformApply)
 
 TEST (SpatialAlgebraTests, TestSpatialTransformApplyTranspose)
 
 TEST (SpatialAlgebraTests, TestSpatialTransformApplyAdjoint)
 
 TEST (SpatialAlgebraTests, TestSpatialTransformToMatrix)
 
 TEST (SpatialAlgebraTests, TestSpatialTransformToMatrixAdjoint)
 
 TEST (SpatialAlgebraTests, TestSpatialTransformToMatrixTranspose)
 
 TEST (SpatialAlgebraTests, TestSpatialTransformMultiply)
 
 TEST (SpatialAlgebraTests, TestSpatialTransformMultiplyEqual)
 
 TEST (SpatialAlgebraTests, TestXrotAxis)
 

Variables

const double TEST_PREC = 1.0e-14
 

Function Documentation

Matrix3d get_rotation ( const SpatialMatrix m)

Definition at line 35 of file SpatialAlgebraTests.cc.

Vector3d get_translation ( const SpatialMatrix m)

Definition at line 40 of file SpatialAlgebraTests.cc.

int main ( int  argc,
char **  argv 
)

Definition at line 549 of file SpatialAlgebraTests.cc.

SpatialMatrix spatial_adjoint ( const SpatialMatrix m)

Definition at line 17 of file SpatialAlgebraTests.cc.

SpatialMatrix spatial_inverse ( const SpatialMatrix m)

Definition at line 25 of file SpatialAlgebraTests.cc.

TEST ( SpatialAlgebraTests  ,
euler   
)

Definition at line 45 of file SpatialAlgebraTests.cc.

TEST ( SpatialAlgebraTests  ,
fromAxisAngleToQuaternion   
)

Definition at line 101 of file SpatialAlgebraTests.cc.

TEST ( SpatialAlgebraTests  ,
fromMatrixToQuaternion   
)

Definition at line 114 of file SpatialAlgebraTests.cc.

TEST ( SpatialAlgebraTests  ,
AxisAngle   
)

Definition at line 148 of file SpatialAlgebraTests.cc.

TEST ( SpatialAlgebraTests  ,
TestSpatialMatrixTimesSpatialVector   
)

Checks the multiplication of a SpatialMatrix with a SpatialVector.

Definition at line 197 of file SpatialAlgebraTests.cc.

TEST ( SpatialAlgebraTests  ,
TestSpatialTransformInverse   
)

Definition at line 209 of file SpatialAlgebraTests.cc.

TEST ( SpatialAlgebraTests  ,
TestScalarTimesSpatialVector   
)

Checks the multiplication of a scalar with a SpatialVector.

Definition at line 223 of file SpatialAlgebraTests.cc.

TEST ( SpatialAlgebraTests  ,
TestScalarTimesSpatialMatrix   
)

Checks the multiplication of a scalar with a SpatialMatrix.

Definition at line 236 of file SpatialAlgebraTests.cc.

TEST ( SpatialAlgebraTests  ,
TestSpatialMatrixTimesSpatialMatrix   
)

Checks the multiplication of a scalar with a SpatialMatrix.

Definition at line 249 of file SpatialAlgebraTests.cc.

TEST ( SpatialAlgebraTests  ,
TestSpatialMatrixTransformAdjoint   
)

Checks the adjoint method.

Definition at line 265 of file SpatialAlgebraTests.cc.

TEST ( SpatialAlgebraTests  ,
TestSpatialMatrixInverse   
)

Definition at line 276 of file SpatialAlgebraTests.cc.

TEST ( SpatialAlgebraTests  ,
TestSpatialMatrixGetRotation   
)

Definition at line 285 of file SpatialAlgebraTests.cc.

TEST ( SpatialAlgebraTests  ,
TestSpatialMatrixGetTranslation   
)

Definition at line 296 of file SpatialAlgebraTests.cc.

TEST ( SpatialAlgebraTests  ,
TestSpatialVectorCross   
)

Definition at line 306 of file SpatialAlgebraTests.cc.

TEST ( SpatialAlgebraTests  ,
TestSpatialVectorCrossmCrossf   
)

Definition at line 321 of file SpatialAlgebraTests.cc.

TEST ( SpatialAlgebraTests  ,
TestSpatialTransformApply   
)

Definition at line 346 of file SpatialAlgebraTests.cc.

TEST ( SpatialAlgebraTests  ,
TestSpatialTransformApplyTranspose   
)

Definition at line 371 of file SpatialAlgebraTests.cc.

TEST ( SpatialAlgebraTests  ,
TestSpatialTransformApplyAdjoint   
)

Definition at line 396 of file SpatialAlgebraTests.cc.

TEST ( SpatialAlgebraTests  ,
TestSpatialTransformToMatrix   
)

Definition at line 409 of file SpatialAlgebraTests.cc.

TEST ( SpatialAlgebraTests  ,
TestSpatialTransformToMatrixAdjoint   
)

Definition at line 427 of file SpatialAlgebraTests.cc.

TEST ( SpatialAlgebraTests  ,
TestSpatialTransformToMatrixTranspose   
)

Definition at line 445 of file SpatialAlgebraTests.cc.

TEST ( SpatialAlgebraTests  ,
TestSpatialTransformMultiply   
)

Definition at line 468 of file SpatialAlgebraTests.cc.

TEST ( SpatialAlgebraTests  ,
TestSpatialTransformMultiplyEqual   
)

Definition at line 496 of file SpatialAlgebraTests.cc.

TEST ( SpatialAlgebraTests  ,
TestXrotAxis   
)

Definition at line 525 of file SpatialAlgebraTests.cc.

Variable Documentation

const double TEST_PREC = 1.0e-14

Definition at line 15 of file SpatialAlgebraTests.cc.



rdl_dynamics
Author(s):
autogenerated on Tue Apr 20 2021 02:25:28