#include <nn_esc_2d.h>
Public Member Functions | |
inputType | getInputType () |
outputType | getOutputType () |
void | init (double A, double M, double B, double ddelta1, double ddelta2, double ddelta3, double delta, double period, int stopping_cycle_number, double stoping_min_val) |
bool | isStoppingConditionsMet () |
std::vector< double > | monitor () |
std::vector< std::string > | monitorNames () |
NNESC2D () | |
NNESC2D (double A, double M, double B, double ddelta1, double ddelta2, double ddelta3, double delta, double period, int stopping_cycle_number, double stoping_min_val) | |
void | reset () |
std::vector< double > | step (double obj_val) |
Protected Member Functions | |
double | aSwitch1 (double e) |
double | aSwitch2 (double e) |
double | aSwitch3 (double e) |
double | minPeakDetect (double e) |
double | wSwitch (double e) |
Protected Attributes | |
double | A_ |
double | a_switch1_old_ |
double | a_switch2_old_ |
double | a_switch3_old_ |
double | B_ |
double | ddelta1_ |
double | ddelta2_ |
double | ddelta3_ |
double | delta_ |
bool | initialized_ |
double | M_ |
double | min_peak_ |
bool | min_peak_detect_init_ |
double | mpd_init_ |
int | nn_cycle_count_ |
double | obj_val_cycle_init_ |
double | period_ |
double | stoping_min_val_ |
int | stopping_cycle_number_ |
std::vector< double > | vel_ref_ |
std::vector< double > | vel_ref_old_ |
double | w_switch_ |
double | w_switch_old_ |
double | yr_ |
Definition at line 24 of file nn_esc_2d.h.
NNESC2D::NNESC2D | ( | ) |
Definition at line 17 of file nn_esc_2d.cpp.
NNESC2D::NNESC2D | ( | double | A, |
double | M, | ||
double | B, | ||
double | ddelta1, | ||
double | ddelta2, | ||
double | ddelta3, | ||
double | delta, | ||
double | period, | ||
int | stopping_cycle_number, | ||
double | stoping_min_val | ||
) |
Definition at line 76 of file nn_esc_2d.cpp.
double NNESC2D::aSwitch1 | ( | double | e | ) | [protected] |
Definition at line 158 of file nn_esc_2d.cpp.
double NNESC2D::aSwitch2 | ( | double | e | ) | [protected] |
Definition at line 171 of file nn_esc_2d.cpp.
double NNESC2D::aSwitch3 | ( | double | e | ) | [protected] |
Definition at line 186 of file nn_esc_2d.cpp.
ESC::inputType NNESC2D::getInputType | ( | ) | [virtual] |
Implements ESC.
Definition at line 41 of file nn_esc_2d.cpp.
ESC::outputType NNESC2D::getOutputType | ( | ) | [virtual] |
Implements ESC.
Definition at line 45 of file nn_esc_2d.cpp.
void NNESC2D::init | ( | double | A, |
double | M, | ||
double | B, | ||
double | ddelta1, | ||
double | ddelta2, | ||
double | ddelta3, | ||
double | delta, | ||
double | period, | ||
int | stopping_cycle_number, | ||
double | stoping_min_val | ||
) |
Definition at line 80 of file nn_esc_2d.cpp.
bool NNESC2D::isStoppingConditionsMet | ( | ) | [virtual] |
Reimplemented from ESC.
Definition at line 217 of file nn_esc_2d.cpp.
double NNESC2D::minPeakDetect | ( | double | e | ) | [protected] |
Definition at line 151 of file nn_esc_2d.cpp.
std::vector< double > NNESC2D::monitor | ( | ) | [virtual] |
Reimplemented from ESC.
Definition at line 49 of file nn_esc_2d.cpp.
std::vector< std::string > NNESC2D::monitorNames | ( | ) | [virtual] |
Reimplemented from ESC.
Definition at line 63 of file nn_esc_2d.cpp.
void NNESC2D::reset | ( | ) | [virtual] |
Implements ESC.
Definition at line 199 of file nn_esc_2d.cpp.
std::vector< double > NNESC2D::step | ( | double | obj_val | ) | [virtual] |
Reimplemented from ESC.
Definition at line 95 of file nn_esc_2d.cpp.
double NNESC2D::wSwitch | ( | double | e | ) | [protected] |
Definition at line 137 of file nn_esc_2d.cpp.
double NNESC2D::A_ [protected] |
Definition at line 27 of file nn_esc_2d.h.
double NNESC2D::a_switch1_old_ [protected] |
Definition at line 27 of file nn_esc_2d.h.
double NNESC2D::a_switch2_old_ [protected] |
Definition at line 27 of file nn_esc_2d.h.
double NNESC2D::a_switch3_old_ [protected] |
Definition at line 27 of file nn_esc_2d.h.
double NNESC2D::B_ [protected] |
Definition at line 27 of file nn_esc_2d.h.
double NNESC2D::ddelta1_ [protected] |
Definition at line 27 of file nn_esc_2d.h.
double NNESC2D::ddelta2_ [protected] |
Definition at line 27 of file nn_esc_2d.h.
double NNESC2D::ddelta3_ [protected] |
Definition at line 27 of file nn_esc_2d.h.
double NNESC2D::delta_ [protected] |
Definition at line 27 of file nn_esc_2d.h.
bool NNESC2D::initialized_ [protected] |
Definition at line 31 of file nn_esc_2d.h.
double NNESC2D::M_ [protected] |
Definition at line 27 of file nn_esc_2d.h.
double NNESC2D::min_peak_ [protected] |
Definition at line 28 of file nn_esc_2d.h.
bool NNESC2D::min_peak_detect_init_ [protected] |
Definition at line 31 of file nn_esc_2d.h.
double NNESC2D::mpd_init_ [protected] |
Definition at line 27 of file nn_esc_2d.h.
int NNESC2D::nn_cycle_count_ [protected] |
Definition at line 29 of file nn_esc_2d.h.
double NNESC2D::obj_val_cycle_init_ [protected] |
Definition at line 28 of file nn_esc_2d.h.
double NNESC2D::period_ [protected] |
Definition at line 27 of file nn_esc_2d.h.
double NNESC2D::stoping_min_val_ [protected] |
Definition at line 28 of file nn_esc_2d.h.
int NNESC2D::stopping_cycle_number_ [protected] |
Definition at line 29 of file nn_esc_2d.h.
std::vector<double> NNESC2D::vel_ref_ [protected] |
Definition at line 30 of file nn_esc_2d.h.
std::vector<double> NNESC2D::vel_ref_old_ [protected] |
Definition at line 30 of file nn_esc_2d.h.
double NNESC2D::w_switch_ [protected] |
Definition at line 28 of file nn_esc_2d.h.
double NNESC2D::w_switch_old_ [protected] |
Definition at line 27 of file nn_esc_2d.h.
double NNESC2D::yr_ [protected] |
Definition at line 27 of file nn_esc_2d.h.