Changeset 13 for trunk/extremum_seeking/esc_approx/src/approx_esc_1d.cpp
- Timestamp:
- 08/29/12 16:52:52 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/extremum_seeking/esc_approx/src/approx_esc_1d.cpp
r5 r13 35 35 k_grad_ = k_grad; 36 36 init_vel_ = init_vel; 37 sample_ = 0;38 37 sampling_ = sampling; 39 ptr_ = 0;40 38 states_.resize(data_size); 41 39 obj_vals_.resize(data_size); 40 sample_ = 0; 41 ptr_ = 0; 42 42 initialized_ = true; 43 43 } … … 111 111 return std::vector<std::string>(); 112 112 } 113 114 void ApproxESC1D::reset(){ 115 sample_ = 0; 116 ptr_ = 0; 117 }
Note: See TracChangeset
for help on using the changeset viewer.