- 3.0.2 rigid body dynamics module.
|
#include <ct/rbd/rbd.h>
#include "ct/rbd/state/RigidBodyPose.h"
#include <memory>
#include <array>
#include <gtest/gtest.h>
Functions | |
void | testEqual (const RigidBodyPose &pose1, const RigidBodyPose &pose2) |
void | testNotEqual (const RigidBodyPose &pose1, const RigidBodyPose &pose2) |
TEST (RigidBodyPoseTest, storageTest) | |
TEST (RigidBodyPoseTest, asignmentTest) | |
TEST (RigidBodyPoseTest, conversionTest) | |
TEST (RigidBodyPoseTest, gravityTest) | |
TEST (RigidBodyPoseTest, rotationTest) | |
int | main (int argc, char **argv) |
void testEqual | ( | const RigidBodyPose & | pose1, |
const RigidBodyPose & | pose2 | ||
) |
References ct::rbd::tpl::RigidBodyPose< SCALAR >::computeGravityB(), ct::rbd::tpl::RigidBodyPose< SCALAR >::computeGravityB6D(), ct::rbd::tpl::RigidBodyPose< SCALAR >::getEulerAnglesXyz(), ct::rbd::tpl::RigidBodyPose< SCALAR >::getRotationMatrix(), ct::rbd::tpl::RigidBodyPose< SCALAR >::getRotationQuaternion(), ct::rbd::tpl::RigidBodyPose< SCALAR >::isNear(), and ct::rbd::tpl::RigidBodyPose< SCALAR >::position().
Referenced by TEST().
void testNotEqual | ( | const RigidBodyPose & | pose1, |
const RigidBodyPose & | pose2 | ||
) |
References ct::rbd::tpl::RigidBodyPose< SCALAR >::computeGravityB(), ct::rbd::tpl::RigidBodyPose< SCALAR >::computeGravityB6D(), ct::rbd::tpl::RigidBodyPose< SCALAR >::getEulerAnglesXyz(), ct::rbd::tpl::RigidBodyPose< SCALAR >::getRotationMatrix(), ct::rbd::tpl::RigidBodyPose< SCALAR >::getRotationQuaternion(), and ct::rbd::tpl::RigidBodyPose< SCALAR >::isNear().
Referenced by TEST().
TEST | ( | RigidBodyPoseTest | , |
storageTest | |||
) |
TEST | ( | RigidBodyPoseTest | , |
asignmentTest | |||
) |
TEST | ( | RigidBodyPoseTest | , |
conversionTest | |||
) |
References ct::rbd::tpl::RigidBodyPose< double >::EULER, ct::rbd::tpl::RigidBodyPose< SCALAR >::getEulerAnglesXyz(), ct::rbd::tpl::RigidBodyPose< SCALAR >::getRotationQuaternion(), ct::rbd::tpl::RigidBodyPose< SCALAR >::position(), ct::rbd::tpl::RigidBodyPose< double >::QUAT, ct::rbd::tpl::RigidBodyPose< SCALAR >::setFromEulerAnglesXyz(), ct::rbd::tpl::RigidBodyPose< SCALAR >::setFromRotationQuaternion(), ct::rbd::tpl::RigidBodyPose< SCALAR >::setIdentity(), ct::rbd::tpl::RigidBodyPose< SCALAR >::setRandom(), and testEqual().
TEST | ( | RigidBodyPoseTest | , |
gravityTest | |||
) |
References ct::rbd::tpl::RigidBodyPose< SCALAR >::computeGravityB(), ct::rbd::tpl::RigidBodyPose< SCALAR >::computeGravityB6D(), ct::rbd::tpl::RigidBodyPose< double >::EULER, i, ct::rbd::tpl::RigidBodyPose< double >::QUAT, ct::rbd::tpl::RigidBodyPose< SCALAR >::setFromEulerAnglesXyz(), ct::rbd::tpl::RigidBodyPose< SCALAR >::setIdentity(), and ct::rbd::tpl::RigidBodyPose< SCALAR >::setRandom().
TEST | ( | RigidBodyPoseTest | , |
rotationTest | |||
) |
int main | ( | int | argc, |
char ** | argv | ||
) |