Changeset 206 in flair-src for trunk/lib/FlairFilter/src/PidThrust.cpp


Ignore:
Timestamp:
01/09/18 11:43:37 (6 years ago)
Author:
Sanahuja Guillaume
Message:

m

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairFilter/src/PidThrust.cpp

    r157 r206  
    4343}
    4444
    45 void PidThrust::Reset(void) {
    46   pimpl_->i = 0;
    47   pimpl_->offset_g = 0;
    48 }
    49 
    5045void PidThrust::ResetI(void) { pimpl_->i = 0; }
    5146
     
    6257}
    6358
    64 void PidThrust::ResetOffset(void) { pimpl_->offset_g = 0; }
     59void PidThrust::SetDefaultOffset(void) { pimpl_->offset_g = pimpl_->offset->Value(); }
    6560
    66 void PidThrust::SetOffset(void) { pimpl_->offset_g = pimpl_->offset->Value(); }
     61void PidThrust::SetOffset(float value) { pimpl_->offset_g = value; }
    6762
    6863bool PidThrust::OffsetStepUp(void) {
Note: See TracChangeset for help on using the changeset viewer.