#include <perturb_esc_nd.h>
Public Member Functions | |
inputType | getInputType () |
outputType | getOutputType () |
void | init (double sin_amp, double sin_freq, double corr_gain, double high_pass_pole, double low_pass_pole, double comp_zero, double comp_pole, double period) |
std::vector< double > | monitor () |
std::vector< std::string > | monitorNames () |
PerturbESCND () | |
PerturbESCND (double sin_amp, double sin_freq, double corr_gain, double high_pass_pole, double low_pass_pole, double comp_zero, double comp_pole, double period) | |
void | reset () |
std::vector< double > | step (std::vector< double > state, double obj_val) |
Protected Attributes | |
std::vector< double > | comp_old_ |
double | comp_pole_ |
double | comp_zero_ |
double | corr_gain_ |
std::vector< double > | corr_signal_ |
double | cycle_count_ |
double | high_pass_pole_ |
double | hpf_out_old_ |
bool | initialized_ |
double | low_pass_pole_ |
std::vector< double > | lpf_out_old_ |
double | obj_val_old_ |
bool | old_vals_initialized_ |
unsigned int | opt_dim_ |
double | period_ |
std::vector< double > | phase_shift_ |
std::vector< double > | pos_ref_ |
std::vector< double > | signal_demodulated_old_ |
double | sin_amp_ |
double | sin_freq_ |
bool | state_initialized_ |
Definition at line 23 of file perturb_esc_nd.h.
Definition at line 19 of file perturb_esc_nd.cpp.
PerturbESCND::PerturbESCND | ( | double | sin_amp, |
double | sin_freq, | ||
double | corr_gain, | ||
double | high_pass_pole, | ||
double | low_pass_pole, | ||
double | comp_zero, | ||
double | comp_pole, | ||
double | period | ||
) |
Definition at line 32 of file perturb_esc_nd.cpp.
ESC::inputType PerturbESCND::getInputType | ( | ) | [virtual] |
Implements ESC.
Definition at line 117 of file perturb_esc_nd.cpp.
ESC::outputType PerturbESCND::getOutputType | ( | ) | [virtual] |
Implements ESC.
Definition at line 121 of file perturb_esc_nd.cpp.
void PerturbESCND::init | ( | double | sin_amp, |
double | sin_freq, | ||
double | corr_gain, | ||
double | high_pass_pole, | ||
double | low_pass_pole, | ||
double | comp_zero, | ||
double | comp_pole, | ||
double | period | ||
) |
Definition at line 35 of file perturb_esc_nd.cpp.
std::vector< double > PerturbESCND::monitor | ( | ) | [virtual] |
Reimplemented from ESC.
Definition at line 125 of file perturb_esc_nd.cpp.
std::vector< std::string > PerturbESCND::monitorNames | ( | ) | [virtual] |
Reimplemented from ESC.
Definition at line 133 of file perturb_esc_nd.cpp.
void PerturbESCND::reset | ( | ) | [virtual] |
Implements ESC.
Definition at line 145 of file perturb_esc_nd.cpp.
std::vector< double > PerturbESCND::step | ( | std::vector< double > | state, |
double | obj_val | ||
) | [virtual] |
Reimplemented from ESC.
Definition at line 53 of file perturb_esc_nd.cpp.
std::vector<double> PerturbESCND::comp_old_ [protected] |
Definition at line 26 of file perturb_esc_nd.h.
double PerturbESCND::comp_pole_ [protected] |
Definition at line 25 of file perturb_esc_nd.h.
double PerturbESCND::comp_zero_ [protected] |
Definition at line 25 of file perturb_esc_nd.h.
double PerturbESCND::corr_gain_ [protected] |
Definition at line 25 of file perturb_esc_nd.h.
std::vector<double> PerturbESCND::corr_signal_ [protected] |
Definition at line 26 of file perturb_esc_nd.h.
double PerturbESCND::cycle_count_ [protected] |
Definition at line 25 of file perturb_esc_nd.h.
double PerturbESCND::high_pass_pole_ [protected] |
Definition at line 25 of file perturb_esc_nd.h.
double PerturbESCND::hpf_out_old_ [protected] |
Definition at line 25 of file perturb_esc_nd.h.
bool PerturbESCND::initialized_ [protected] |
Definition at line 28 of file perturb_esc_nd.h.
double PerturbESCND::low_pass_pole_ [protected] |
Definition at line 25 of file perturb_esc_nd.h.
std::vector<double> PerturbESCND::lpf_out_old_ [protected] |
Definition at line 26 of file perturb_esc_nd.h.
double PerturbESCND::obj_val_old_ [protected] |
Definition at line 25 of file perturb_esc_nd.h.
bool PerturbESCND::old_vals_initialized_ [protected] |
Definition at line 28 of file perturb_esc_nd.h.
unsigned int PerturbESCND::opt_dim_ [protected] |
Definition at line 27 of file perturb_esc_nd.h.
double PerturbESCND::period_ [protected] |
Definition at line 25 of file perturb_esc_nd.h.
std::vector<double> PerturbESCND::phase_shift_ [protected] |
Definition at line 26 of file perturb_esc_nd.h.
std::vector<double> PerturbESCND::pos_ref_ [protected] |
Definition at line 26 of file perturb_esc_nd.h.
std::vector<double> PerturbESCND::signal_demodulated_old_ [protected] |
Definition at line 26 of file perturb_esc_nd.h.
double PerturbESCND::sin_amp_ [protected] |
Definition at line 25 of file perturb_esc_nd.h.
double PerturbESCND::sin_freq_ [protected] |
Definition at line 25 of file perturb_esc_nd.h.
bool PerturbESCND::state_initialized_ [protected] |
Definition at line 28 of file perturb_esc_nd.h.