Public Member Functions | Protected Attributes
ApproxESC1D Class Reference

#include <approx_esc_1d.h>

Inheritance diagram for ApproxESC1D:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ApproxESC1D ()
 ApproxESC1D (int data_size, int poly_degree, double k_grad, double init_vel, int sampling=1)
inputType getInputType ()
outputType getOutputType ()
void init (int data_size, int poly_degree, 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 poly_degree_
int ptr_
int sample_
int sampling_
double state_curr_
Eigen::VectorXf states_
double vel_ref_

Detailed Description

Definition at line 22 of file approx_esc_1d.h.


Constructor & Destructor Documentation

Definition at line 18 of file approx_esc_1d.cpp.

ApproxESC1D::ApproxESC1D ( int  data_size,
int  poly_degree,
double  k_grad,
double  init_vel,
int  sampling = 1 
)

Definition at line 28 of file approx_esc_1d.cpp.


Member Function Documentation

Implements ESC.

Definition at line 100 of file approx_esc_1d.cpp.

Implements ESC.

Definition at line 103 of file approx_esc_1d.cpp.

void ApproxESC1D::init ( int  data_size,
int  poly_degree,
double  k_grad,
double  init_vel,
int  sampling = 1 
)

Definition at line 32 of file approx_esc_1d.cpp.

std::vector< double > ApproxESC1D::monitor ( ) [virtual]

Reimplemented from ESC.

Definition at line 107 of file approx_esc_1d.cpp.

std::vector< std::string > ApproxESC1D::monitorNames ( ) [virtual]

Reimplemented from ESC.

Definition at line 110 of file approx_esc_1d.cpp.

void ApproxESC1D::reset ( ) [virtual]

Implements ESC.

Definition at line 114 of file approx_esc_1d.cpp.

std::vector< double > ApproxESC1D::step ( std::vector< double >  state,
double  obj_val 
) [virtual]

Reimplemented from ESC.

Definition at line 45 of file approx_esc_1d.cpp.


Member Data Documentation

int ApproxESC1D::data_size_ [protected]

Definition at line 24 of file approx_esc_1d.h.

double ApproxESC1D::init_vel_ [protected]

Definition at line 25 of file approx_esc_1d.h.

bool ApproxESC1D::initialized_ [protected]

Definition at line 26 of file approx_esc_1d.h.

double ApproxESC1D::k_grad_ [protected]

Definition at line 25 of file approx_esc_1d.h.

Eigen::VectorXf ApproxESC1D::obj_vals_ [protected]

Definition at line 29 of file approx_esc_1d.h.

int ApproxESC1D::poly_degree_ [protected]

Definition at line 24 of file approx_esc_1d.h.

int ApproxESC1D::ptr_ [protected]

Definition at line 27 of file approx_esc_1d.h.

int ApproxESC1D::sample_ [protected]

Definition at line 27 of file approx_esc_1d.h.

int ApproxESC1D::sampling_ [protected]

Definition at line 24 of file approx_esc_1d.h.

double ApproxESC1D::state_curr_ [protected]

Definition at line 25 of file approx_esc_1d.h.

Eigen::VectorXf ApproxESC1D::states_ [protected]

Definition at line 28 of file approx_esc_1d.h.

double ApproxESC1D::vel_ref_ [protected]

Definition at line 25 of file approx_esc_1d.h.


The documentation for this class was generated from the following files:


esc_approx
Author(s): Berk Calli
autogenerated on Sun Jan 5 2014 11:07:37