#include <approx_esc_2d.h>
Public Member Functions | |
ApproxESC2D () | |
ApproxESC2D (int data_size, double k_grad, double init_vel, int sampling=1) | |
inputType | getInputType () |
outputType | getOutputType () |
void | init (int data_size, double k_grad, double init_vel, int sampling=1) |
std::vector< double > | monitor () |
std::vector< std::string > | monitorNames () |
void | reset () |
std::vector< double > | step (std::vector< double > state, double obj_val) |
Protected Attributes | |
int | data_size_ |
double | init_vel_ |
bool | initialized_ |
double | k_grad_ |
Eigen::VectorXf | obj_vals_ |
int | ptr_ |
int | sample_ |
int | sampling_ |
Eigen::VectorXf | state_curr_ |
Eigen::MatrixXf | states_ |
Eigen::VectorXf | vel_ref_ |
Definition at line 24 of file approx_esc_2d.h.
Definition at line 18 of file approx_esc_2d.cpp.
ApproxESC2D::ApproxESC2D | ( | int | data_size, |
double | k_grad, | ||
double | init_vel, | ||
int | sampling = 1 |
||
) |
Definition at line 27 of file approx_esc_2d.cpp.
ESC::inputType ApproxESC2D::getInputType | ( | ) | [virtual] |
Implements ESC.
Definition at line 122 of file approx_esc_2d.cpp.
ESC::outputType ApproxESC2D::getOutputType | ( | ) | [virtual] |
Implements ESC.
Definition at line 125 of file approx_esc_2d.cpp.
void ApproxESC2D::init | ( | int | data_size, |
double | k_grad, | ||
double | init_vel, | ||
int | sampling = 1 |
||
) |
Definition at line 31 of file approx_esc_2d.cpp.
std::vector< double > ApproxESC2D::monitor | ( | ) | [virtual] |
Reimplemented from ESC.
Definition at line 129 of file approx_esc_2d.cpp.
std::vector< std::string > ApproxESC2D::monitorNames | ( | ) | [virtual] |
Reimplemented from ESC.
Definition at line 132 of file approx_esc_2d.cpp.
void ApproxESC2D::reset | ( | ) | [virtual] |
Implements ESC.
Definition at line 136 of file approx_esc_2d.cpp.
std::vector< double > ApproxESC2D::step | ( | std::vector< double > | state, |
double | obj_val | ||
) | [virtual] |
Reimplemented from ESC.
Definition at line 45 of file approx_esc_2d.cpp.
int ApproxESC2D::data_size_ [protected] |
Definition at line 26 of file approx_esc_2d.h.
double ApproxESC2D::init_vel_ [protected] |
Definition at line 27 of file approx_esc_2d.h.
bool ApproxESC2D::initialized_ [protected] |
Definition at line 28 of file approx_esc_2d.h.
double ApproxESC2D::k_grad_ [protected] |
Definition at line 27 of file approx_esc_2d.h.
Eigen::VectorXf ApproxESC2D::obj_vals_ [protected] |
Definition at line 31 of file approx_esc_2d.h.
int ApproxESC2D::ptr_ [protected] |
Definition at line 29 of file approx_esc_2d.h.
int ApproxESC2D::sample_ [protected] |
Definition at line 29 of file approx_esc_2d.h.
int ApproxESC2D::sampling_ [protected] |
Definition at line 26 of file approx_esc_2d.h.
Eigen::VectorXf ApproxESC2D::state_curr_ [protected] |
Definition at line 32 of file approx_esc_2d.h.
Eigen::MatrixXf ApproxESC2D::states_ [protected] |
Definition at line 30 of file approx_esc_2d.h.
Eigen::VectorXf ApproxESC2D::vel_ref_ [protected] |
Definition at line 32 of file approx_esc_2d.h.