#include <exotica_core/exotica_core.h>#include <exotica_core/tools/test_helpers.h>#include <gtest/gtest.h>#include <string>#include <vector>
Go to the source code of this file.
Macros | |
| #define | CREATE_PROBLEM(X, I) std::shared_ptr<X> problem = CreateProblem<X>(#X, I); |
| #define | NUM_TRIALS 100 |
Functions | |
| template<class T > | |
| std::shared_ptr< T > | CreateProblem (const std::string &name, int derivative) |
| int | main (int argc, char **argv) |
| TEST (ExoticaProblems, BoundedEndPoseProblem) | |
| TEST (ExoticaProblems, BoundedTimeIndexedProblem) | |
| TEST (ExoticaProblems, EndPoseProblem) | |
| TEST (ExoticaProblems, SamplingProblem) | |
| TEST (ExoticaProblems, TimeIndexedProblem) | |
| TEST (ExoticaProblems, TimeIndexedSamplingProblem) | |
| TEST (ExoticaProblems, UnconstrainedEndPoseProblem) | |
| TEST (ExoticaProblems, UnconstrainedTimeIndexedProblem) | |
| template<class T > | |
| void | testHessianEndPose (std::shared_ptr< T > problem, EndPoseTask &task, double eps=1e-4, double h=1e-5) |
| template<class T > | |
| void | testHessianTimeIndexed (std::shared_ptr< T > problem, TimeIndexedTask &task, int t, double eps=1e-4, double h=1e-5) |
| template<class T > | |
| void | testJacobianEndPose (std::shared_ptr< T > problem, EndPoseTask &task, double eps=1e-4, double h=1e-5) |
| template<class T > | |
| void | testJacobianTimeIndexed (std::shared_ptr< T > problem, TimeIndexedTask &task, int t, double eps=1e-4, double h=1e-5) |
Definition at line 38 of file test_problems.cpp.
| #define NUM_TRIALS 100 |
Definition at line 39 of file test_problems.cpp.
| std::shared_ptr<T> CreateProblem | ( | const std::string & | name, |
| int | derivative | ||
| ) |
Definition at line 60 of file test_problems.cpp.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 594 of file test_problems.cpp.
| TEST | ( | ExoticaProblems | , |
| BoundedEndPoseProblem | |||
| ) |
Definition at line 280 of file test_problems.cpp.
| TEST | ( | ExoticaProblems | , |
| BoundedTimeIndexedProblem | |||
| ) |
Definition at line 434 of file test_problems.cpp.
| TEST | ( | ExoticaProblems | , |
| EndPoseProblem | |||
| ) |
Definition at line 316 of file test_problems.cpp.
| TEST | ( | ExoticaProblems | , |
| SamplingProblem | |||
| ) |
Definition at line 560 of file test_problems.cpp.
| TEST | ( | ExoticaProblems | , |
| TimeIndexedProblem | |||
| ) |
Definition at line 478 of file test_problems.cpp.
| TEST | ( | ExoticaProblems | , |
| TimeIndexedSamplingProblem | |||
| ) |
Definition at line 577 of file test_problems.cpp.
| TEST | ( | ExoticaProblems | , |
| UnconstrainedEndPoseProblem | |||
| ) |
Definition at line 244 of file test_problems.cpp.
| TEST | ( | ExoticaProblems | , |
| UnconstrainedTimeIndexedProblem | |||
| ) |
Definition at line 390 of file test_problems.cpp.
| void testHessianEndPose | ( | std::shared_ptr< T > | problem, |
| EndPoseTask & | task, | ||
| double | eps = 1e-4, |
||
| double | h = 1e-5 |
||
| ) |
Definition at line 106 of file test_problems.cpp.
| void testHessianTimeIndexed | ( | std::shared_ptr< T > | problem, |
| TimeIndexedTask & | task, | ||
| int | t, | ||
| double | eps = 1e-4, |
||
| double | h = 1e-5 |
||
| ) |
Definition at line 192 of file test_problems.cpp.
| void testJacobianEndPose | ( | std::shared_ptr< T > | problem, |
| EndPoseTask & | task, | ||
| double | eps = 1e-4, |
||
| double | h = 1e-5 |
||
| ) |
Definition at line 73 of file test_problems.cpp.
| void testJacobianTimeIndexed | ( | std::shared_ptr< T > | problem, |
| TimeIndexedTask & | task, | ||
| int | t, | ||
| double | eps = 1e-4, |
||
| double | h = 1e-5 |
||
| ) |
Definition at line 159 of file test_problems.cpp.