Changeset 22 for trunk/extremum_seeking
- Timestamp:
- 01/03/13 16:26:16 (12 years ago)
- Location:
- trunk/extremum_seeking/esc_perturb
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/extremum_seeking/esc_perturb/include/esc_perturb/perturb_esc_nd.h
r5 r22 37 37 std::vector<double> monitor(); 38 38 std::vector<std::string> monitorNames(); 39 void reset(); 39 40 }; 40 41 -
trunk/extremum_seeking/esc_perturb/src/perturb_esc_nd.cpp
r5 r22 47 47 opt_dim_ = 0; 48 48 state_initialized_ = false; 49 old_vals_initialized_ = false; 49 50 initialized_ = true; 50 old_vals_initialized_ = false;51 51 } 52 52 … … 142 142 return monitor_names; 143 143 } 144 145 void PerturbESCND::reset(){ 146 obj_val_old_ = 0; 147 cycle_count_ = 0; 148 hpf_out_old_ = 0; 149 opt_dim_ = 0; 150 state_initialized_ = false; 151 old_vals_initialized_ = false; 152 }
Note: See TracChangeset
for help on using the changeset viewer.