Changeset 157 in flair-src for trunk/lib/FlairFilter
- Timestamp:
- Mar 4, 2017, 3:29:18 PM (8 years ago)
- Location:
- trunk/lib/FlairFilter/src
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairFilter/src/AhrsComplementaryFilter.cpp
r24 r157 51 51 kb[1]=new DoubleSpinBox(parent->GetLayout()->LastRowLastCol(),"kb[1]:",0.,10,0.1,2,0.01); 52 52 kb[2]=new DoubleSpinBox(parent->GetLayout()->LastRowLastCol(),"kb[2]:",0.,10,0.1,2,0.01); 53 53 54 SetIsReady(true); 54 55 } 55 56 -
trunk/lib/FlairFilter/src/AhrsKalman.cpp
r18 r157 31 31 GetDatas(&ahrsData); 32 32 pimpl_=new AhrsKalman_impl(parent->GetLayout(),ahrsData); 33 34 SetIsReady(true); 33 35 } 34 36 -
trunk/lib/FlairFilter/src/ButterworthLowPass.cpp
r15 r157 35 35 pimpl_ = new ButterworthLowPass_impl(this, position, name, order); 36 36 AddDataToLog(pimpl_->output); 37 38 SetIsReady(true); 37 39 } 38 40 -
trunk/lib/FlairFilter/src/EulerDerivative.cpp
r15 r157 34 34 pimpl_ = new EulerDerivative_impl(this, position, name, init_value); 35 35 AddDataToLog(pimpl_->output); 36 37 SetIsReady(true); 36 38 } 37 39 -
trunk/lib/FlairFilter/src/Gx3_25_ahrs.cpp
r137 r157 30 30 SerialPort *serialport, Gx3_25_imu::Command_t command, 31 31 uint8_t priority) 32 : Ahrs(new Gx3_25_imu( name, serialport, command, priority), name) {} 32 : Ahrs(new Gx3_25_imu( name, serialport, command, priority), name) { 33 34 SetIsReady(true); 35 } 33 36 34 37 Gx3_25_ahrs::~Gx3_25_ahrs() {} 35 36 void Gx3_25_ahrs::Start(void) { ((Gx3_25_imu *)GetImu())->Start(); }37 38 38 39 // datas from Gx3_25_imu are AhrsData! -
trunk/lib/FlairFilter/src/Gx3_25_ahrs.h
r137 r157 47 47 ~Gx3_25_ahrs(); 48 48 49 /*!50 * \brief Start Gx3_25_imu Thread51 *52 */53 void Start(void);54 55 49 private: 56 50 /*! -
trunk/lib/FlairFilter/src/JoyReference.cpp
r15 r157 37 37 AddDataToLog(pimpl_->output); 38 38 AddDataToLog(pimpl_->ahrsData); 39 40 SetIsReady(true); 39 41 } 40 42 -
trunk/lib/FlairFilter/src/LowPassFilter.cpp
r15 r157 34 34 pimpl_ = new LowPassFilter_impl(this, position, name, init_value); 35 35 AddDataToLog(pimpl_->output); 36 37 SetIsReady(true); 36 38 } 37 39 -
trunk/lib/FlairFilter/src/NestedSat.cpp
r15 r157 33 33 : ControlLaw(position->getLayout(), name) { 34 34 pimpl_ = new NestedSat_impl(this, position, name); 35 36 SetIsReady(true); 35 37 } 36 38 -
trunk/lib/FlairFilter/src/Pid.cpp
r15 r157 32 32 : ControlLaw(position->getLayout(), name) { 33 33 pimpl_ = new Pid_impl(this, position, name); 34 35 SetIsReady(true); 34 36 } 35 37 -
trunk/lib/FlairFilter/src/PidThrust.cpp
r15 r157 33 33 : ControlLaw(position->getLayout(), name) { 34 34 pimpl_ = new PidThrust_impl(this, position, name); 35 36 SetIsReady(true); 35 37 } 36 38 -
trunk/lib/FlairFilter/src/SimuAhrs.cpp
r137 r157 29 29 SimuAhrs::SimuAhrs(string name, uint32_t dev_id, 30 30 uint8_t priority) 31 : Ahrs(new SimuImu(name, dev_id, priority), name) {} 31 : Ahrs(new SimuImu(name, dev_id, priority), name) { 32 SetIsReady(true); 33 } 32 34 33 35 SimuAhrs::~SimuAhrs() {} 34 35 void SimuAhrs::Start(void) { ((SimuImu *)GetImu())->Start(); }36 36 37 37 // datas from SimuImu are AhrsData! -
trunk/lib/FlairFilter/src/SimuAhrs.h
r137 r157 45 45 ~SimuAhrs(); 46 46 47 /*!48 * \brief Start SimuImu Thread49 *50 */51 void Start(void);52 53 47 private: 54 48 /*! -
trunk/lib/FlairFilter/src/TrajectoryGenerator1D.cpp
r15 r157 34 34 pimpl_ = new TrajectoryGenerator1D_impl(this, position, name, unit); 35 35 AddDataToLog(pimpl_->output); 36 SetIsReady(true); 36 37 } 37 38 -
trunk/lib/FlairFilter/src/TrajectoryGenerator2DCircle.cpp
r15 r157 35 35 pimpl_ = new TrajectoryGenerator2DCircle_impl(this, position, name); 36 36 AddDataToLog(pimpl_->output); 37 SetIsReady(true); 37 38 } 38 39 -
trunk/lib/FlairFilter/src/X4X8Multiplex.cpp
r137 r157 47 47 SetMultiplexComboBox(pimpl_->MotorName(i), i); 48 48 } 49 50 SetIsReady(true); 49 51 } 50 52
Note:
See TracChangeset
for help on using the changeset viewer.