|
Cheetah Software
1.0
|
Test orientation functions. More...
Include dependency graph for test_orientation_tools.cpp:Go to the source code of this file.
Functions | |
| TEST (Orientation, rad2deg) | |
| TEST (Orientation, almostEqual) | |
| TEST (Orientation, coordinateRotation) | |
| TEST (Orientation, skew) | |
| TEST (Orientation, quatToRotm) | |
| TEST (Orientation, quatToRpy) | |
| TEST (Orientation, quatToRpy2) | |
| TEST (Orientation, quatToRpy3) | |
| TEST (Orienation, quaternionDerivative) | |
| TEST (Orientation, quaternionProduct) | |
| TEST (Orientation, quaternionProductDirection) | |
| TEST (Orientation, quaternionIntegration) | |
| TEST (Orientation, rpyToRotMat) | |
| TEST (Orientation, allOrientationConversions) | |
Test orientation functions.
Test the orientation related functions in orientation_tools.h Does not check any spatial stuff
Definition in file test_orientation_tools.cpp.
| TEST | ( | Orientation | , |
| rad2deg | |||
| ) |
Check radians to degrees
Definition at line 17 of file test_orientation_tools.cpp.
References ori::deg2rad(), and ori::rad2deg().
Here is the call graph for this function:| TEST | ( | Orientation | , |
| almostEqual | |||
| ) |
Check the "almostEqual" function for comparing two eigen quantities
Definition at line 25 of file test_orientation_tools.cpp.
References almostEqual().
Here is the call graph for this function:| TEST | ( | Orientation | , |
| coordinateRotation | |||
| ) |
Check the coordinateRotation algorithm which generates rotaiton matrices for axis rotations
Definition at line 54 of file test_orientation_tools.cpp.
References ori::coordinateRotation(), ori::X, ori::Y, and ori::Z.
Here is the call graph for this function:| TEST | ( | Orientation | , |
| skew | |||
| ) |
Check the skew functions, which go between vectors and skew-symmetric matrices
Definition at line 71 of file test_orientation_tools.cpp.
References ori::matToSkewVec(), and ori::vectorToSkewMat().
Here is the call graph for this function:| TEST | ( | Orientation | , |
| quatToRotm | |||
| ) |
Check the quaternion to rotation matrix and rotation matrix to quaternion functions
Definition at line 89 of file test_orientation_tools.cpp.
References almostEqual(), ori::quaternionToRotationMatrix(), and ori::rotationMatrixToQuaternion().
Here is the call graph for this function:| TEST | ( | Orientation | , |
| quatToRpy | |||
| ) |
Test the quaternion to roll-pitch-yaw conversion
Definition at line 103 of file test_orientation_tools.cpp.
References almostEqual(), and ori::quatToRPY().
Here is the call graph for this function:| TEST | ( | Orientation | , |
| quatToRpy2 | |||
| ) |
Test the quaternion to roll-pitch-yaw conversion direction
Definition at line 113 of file test_orientation_tools.cpp.
References almostEqual(), ori::coordinateRotation(), ori::quatToRPY(), ori::rotationMatrixToQuaternion(), and ori::Y.
Here is the call graph for this function:| TEST | ( | Orientation | , |
| quatToRpy3 | |||
| ) |
Check that rpy is in roll-pitch-yaw order
Definition at line 125 of file test_orientation_tools.cpp.
References almostEqual(), ori::coordinateRotation(), ori::quatToRPY(), ori::rotationMatrixToQuaternion(), and ori::Z.
Here is the call graph for this function:| TEST | ( | Orienation | , |
| quaternionDerivative | |||
| ) |
Check the quaternion derivative function. This isn't used and probably should be removed
Definition at line 138 of file test_orientation_tools.cpp.
References almostEqual(), and ori::quatDerivative().
Here is the call graph for this function:| TEST | ( | Orientation | , |
| quaternionProduct | |||
| ) |
Check the quaternion product
Definition at line 148 of file test_orientation_tools.cpp.
References almostEqual(), and ori::quatProduct().
Here is the call graph for this function:| TEST | ( | Orientation | , |
| quaternionProductDirection | |||
| ) |
Definition at line 155 of file test_orientation_tools.cpp.
References almostEqual(), ori::coordinateRotation(), ori::quaternionToRotationMatrix(), ori::quatProduct(), ori::rotationMatrixToQuaternion(), ori::X, ori::Y, and ori::Z.
Here is the call graph for this function:| TEST | ( | Orientation | , |
| quaternionIntegration | |||
| ) |
Check that the quaternion integration goes in the correct direction
Definition at line 178 of file test_orientation_tools.cpp.
References almostEqual(), ori::coordinateRotation(), ori::integrateQuat(), ori::quaternionToRotationMatrix(), ori::rotationMatrixToQuaternion(), ori::X, ori::Y, and ori::Z.
Here is the call graph for this function:| TEST | ( | Orientation | , |
| rpyToRotMat | |||
| ) |
Check rpy to rotation matrix
Definition at line 206 of file test_orientation_tools.cpp.
References almostEqual(), ori::deg2rad(), ori::quatToRPY(), ori::rotationMatrixToQuaternion(), and ori::rpyToRotMat().
Here is the call graph for this function:| TEST | ( | Orientation | , |
| allOrientationConversions | |||
| ) |
Check all 6 possible conversions between rotation matrix, quaternion, and rpy
Definition at line 219 of file test_orientation_tools.cpp.
References almostEqual(), ori::deg2rad(), ori::quaternionToRotationMatrix(), ori::quatToRPY(), ori::rotationMatrixToQuaternion(), ori::rotationMatrixToRPY(), ori::rpyToQuat(), and ori::rpyToRotMat().
Here is the call graph for this function: