|
#include "UnscentedKalmanFilter.h"
#include <cstdlib>
#include <ctime>
#include <ArmarXCore/core/logging/Logging.h>
#include <ArmarXCore/core/exceptions/local/ExpressionException.h>
#include <ArmarXCore/util/time.h>
#include <sciplot/sciplot.hpp>
Go to the source code of this file.
Typedefs | |
using | Matrix = Eigen::Matrix< T, 3, 3 > |
using | SystemModelT = SystemModelSE3< T > |
using | T = float |
using | Vector = Eigen::Matrix< T, 3, 1 > |
Functions | |
int | main () |
void | simulate_observation (const std::vector< SystemModelT::StateT > &states, std::vector< SystemModelT::ObsT > &observations) |
void | simulate_trajectory (std::vector< SystemModelT::StateT > &states, std::vector< SystemModelT::ControlT > &omegas) |
void | test_retract () |
void | test_se3 () |
Variables | |
constexpr T | acc_noise_std = 0.01 |
constexpr T | c = (1 / max_time) * 2 * M_PI |
constexpr T | dt = max_time / num_timesteps |
const Vector | initial_offet_pos = 0.5*Vector(1, 0.5, 0.7) |
constexpr T | initial_offset_angle = 0.0*10*M_PI / 180 |
constexpr T | max_time = 1 |
constexpr long | num_timesteps = 3000 |
constexpr T | obs_noise_std = 0.01 |
constexpr T | om_noise_std = 0.01 |
using Matrix = Eigen::Matrix<T, 3, 3> |
Definition at line 37 of file UnscentedKalmanFilterTest.cpp.
using SystemModelT = SystemModelSE3<T> |
Definition at line 38 of file UnscentedKalmanFilterTest.cpp.
Definition at line 35 of file UnscentedKalmanFilterTest.cpp.
using Vector = Eigen::Matrix<T, 3, 1> |
Definition at line 36 of file UnscentedKalmanFilterTest.cpp.
int main | ( | ) |
Definition at line 149 of file UnscentedKalmanFilterTest.cpp.
void simulate_observation | ( | const std::vector< SystemModelT::StateT > & | states, |
std::vector< SystemModelT::ObsT > & | observations | ||
) |
Definition at line 138 of file UnscentedKalmanFilterTest.cpp.
void simulate_trajectory | ( | std::vector< SystemModelT::StateT > & | states, |
std::vector< SystemModelT::ControlT > & | omegas | ||
) |
Definition at line 86 of file UnscentedKalmanFilterTest.cpp.
void test_retract | ( | ) |
Definition at line 51 of file UnscentedKalmanFilterTest.cpp.
void test_se3 | ( | ) |
Definition at line 71 of file UnscentedKalmanFilterTest.cpp.
|
constexpr |
Definition at line 45 of file UnscentedKalmanFilterTest.cpp.
Definition at line 43 of file UnscentedKalmanFilterTest.cpp.
|
constexpr |
Definition at line 42 of file UnscentedKalmanFilterTest.cpp.
Definition at line 49 of file UnscentedKalmanFilterTest.cpp.
Definition at line 48 of file UnscentedKalmanFilterTest.cpp.
|
constexpr |
Definition at line 41 of file UnscentedKalmanFilterTest.cpp.
|
constexpr |
Definition at line 40 of file UnscentedKalmanFilterTest.cpp.
|
constexpr |
Definition at line 47 of file UnscentedKalmanFilterTest.cpp.
|
constexpr |
Definition at line 46 of file UnscentedKalmanFilterTest.cpp.