|
Cheetah Software
1.0
|
#include "gmock/gmock.h"#include "gtest/gtest.h"#include <casadi/casadi.hpp>#include <ctime>#include <fstream>#include <iostream>#include "Dynamics/DynamicsSimulator.h"#include "Dynamics/FloatingBaseModel.h"#include "Dynamics/MiniCheetah.h"#include "Dynamics/Quadruped.h"#include <Utilities/Utilities_print.h>
Include dependency graph for test_casadi.cpp:Go to the source code of this file.
Functions | |
| TEST (casadi, rocket_ipopt) | |
| TEST (casadi, part1) | |
| MX | f (const MX &x, const MX &u) |
| TEST (casadi, race_car) | |
| MX | simple_dyn (const MX &x, const MX &u, const MX &P, int i) |
| DVec< double > | simple_dyn_vec (const DVec< double > &x, const DVec< double > &u, const DVec< double > &P, int i) |
| TEST (casadi, jump_opt) | |
| MX f | ( | const MX & | x, |
| const MX & | u | ||
| ) |
| MX simple_dyn | ( | const MX & | x, |
| const MX & | u, | ||
| const MX & | P, | ||
| int | i | ||
| ) |
| DVec<double> simple_dyn_vec | ( | const DVec< double > & | x, |
| const DVec< double > & | u, | ||
| const DVec< double > & | P, | ||
| int | i | ||
| ) |
| TEST | ( | casadi | , |
| rocket_ipopt | |||
| ) |
Definition at line 19 of file test_casadi.cpp.
References f().
Here is the call graph for this function:| TEST | ( | casadi | , |
| part1 | |||
| ) |
Test problem
min x0^2 + x1^2 s.t. x0 + x1 - 10 = 0
Definition at line 146 of file test_casadi.cpp.
References f().
Here is the call graph for this function:| TEST | ( | casadi | , |
| race_car | |||
| ) |
| TEST | ( | casadi | , |
| jump_opt | |||
| ) |
Definition at line 330 of file test_casadi.cpp.
References almostEqual(), f(), pretty_print(), simple_dyn(), simple_dyn_vec(), and ori::X.
Here is the call graph for this function: