Changeset 50 in flair-dev for trunk/include/FlairFilter
- Timestamp:
- May 31, 2017, 3:54:26 PM (8 years ago)
- Location:
- trunk/include/FlairFilter
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/FlairFilter/Ahrs.h
r32 r50 19 19 namespace flair { 20 20 namespace core { 21 class Euler;22 class Vector3D;23 class ImuData;24 class Quaternion;25 21 class AhrsData; 26 22 } … … 174 170 /*! 175 171 * \brief Get ahrs datas 176 * 172 * 173 * Can be used by dervied class to fill core::AhrsData 174 * 177 175 * \param ahrsData ahrs datas 178 176 */ -
trunk/include/FlairFilter/AhrsComplementaryFilter.h
r16 r50 66 66 bool isInit; 67 67 core::Quaternion QHat; 68 core::Vector3D BHat;68 core::Vector3Df BHat; 69 69 gui::DoubleSpinBox *ka[3]; 70 70 gui::DoubleSpinBox *kb[3]; -
trunk/include/FlairFilter/ButterworthLowPass.h
r13 r50 48 48 * \param name name 49 49 * \param order order of the filter 50 * \param nbRow number of rows of input/output 51 * \param nbCol number of cols of input/output 50 52 */ 51 53 ButterworthLowPass(const IODevice *parent, 52 54 const gui::LayoutPosition *position, std::string name, 53 int order);55 uint32_t order,uint32_t nbRow=1,uint32_t nbCol=1); 54 56 55 57 /*! … … 65 67 * \param name name 66 68 * \param order order of the filter 69 * \param nbRow number of rows of input/output 70 * \param nbCol number of cols of input/output 67 71 */ 68 72 ButterworthLowPass(const gui::LayoutPosition *position, std::string name, 69 int order);73 uint32_t order,uint32_t nbRow,uint32_t nbCol); 70 74 71 75 /*! -
trunk/include/FlairFilter/EulerDerivative.h
r13 r50 45 45 * IODevice::ProcessUpdate is called. \n 46 46 * The optional init_value parameters allow to specify 47 * the size of the input datas and itsinital values.47 * the size of the input datas and output inital values. 48 48 * If unspecified, a 1*1 size is used, and values are 49 49 * initialized with 0. … … 52 52 * \param position position to display settings 53 53 * \param name name 54 * \param init_value initial value 54 * \param init_value initial value, it is safe to destroy it after calling this constructor 55 55 */ 56 56 EulerDerivative(const core::IODevice *parent, -
trunk/include/FlairFilter/Gx3_25_ahrs.h
r13 r50 30 30 * \brief Constructor 31 31 * 32 * Construct an Ahrs for 3dmgx3-25 32 * Construct an Ahrs for 3dmgx3-25. It will be child of the FrameworkManager. 33 33 * 34 * \param parent parent35 34 * \param name name 36 35 * \param serialport Imu SerialPort … … 38 37 * \param priority priority of the Gx3_25_imu Thread 39 38 */ 40 Gx3_25_ahrs( const core::FrameworkManager *parent,std::string name,39 Gx3_25_ahrs(std::string name, 41 40 core::SerialPort *serialport, 42 41 sensor::Gx3_25_imu::Command_t command, uint8_t priority); … … 47 46 */ 48 47 ~Gx3_25_ahrs(); 49 50 /*!51 * \brief Start Gx3_25_imu Thread52 *53 */54 void Start(void);55 48 56 49 private: -
trunk/include/FlairFilter/LowPassFilter.h
r13 r50 52 52 * \param position position to display settings 53 53 * \param name name 54 * \param init_value initial value 54 * \param init_value initial value, it is safe to destroy it after calling this constructor 55 55 */ 56 56 LowPassFilter(const core::IODevice *parent, -
trunk/include/FlairFilter/SimuAhrs.h
r13 r50 30 30 * \brief Constructor 31 31 * 32 * Construct a simulation Ahrs. 32 * Construct a simulation Ahrs. It will be child of the FrameworkManager. 33 33 * 34 * \param parent parent35 34 * \param name name 36 * \param dev_id number id of the simulated Ahrs 35 * \param modelId Model id 36 * \param deviceId Ahrs id of the Model 37 37 * \param priority priority of the SimuImu Thread 38 38 */ 39 SimuAhrs( const core::FrameworkManager *parent,std::string name,40 uint32_t dev_id, uint8_t priority);39 SimuAhrs(std::string name, 40 uint32_t modelId,uint32_t deviceId, uint8_t priority); 41 41 42 42 /*! … … 45 45 */ 46 46 ~SimuAhrs(); 47 48 /*!49 * \brief Start SimuImu Thread50 *51 */52 void Start(void);53 47 54 48 private: -
trunk/include/FlairFilter/TrajectoryGenerator1D.h
r13 r50 72 72 * \brief Start trajectory 73 73 * 74 * \param start_pos start position 75 * \param end_pos end position 74 * \param startPosition start position 75 * \param endPosition end position 76 * \param startVelocity start velocity, should be actual velocity. This value will be saturated 77 * max velocity defined in GCS. 76 78 */ 77 void StartTraj(float start _pos, float end_pos);79 void StartTraj(float startPosition, float endPosition,float startVelocity=0); 78 80 79 81 /*! -
trunk/include/FlairFilter/TrajectoryGenerator2DCircle.h
r13 r50 15 15 16 16 #include <IODevice.h> 17 #include <Vector2D.h> 17 18 18 19 namespace flair { 19 20 namespace core { 20 21 class cvmatrix; 21 class Vector2D;22 22 } 23 23 namespace gui { … … 72 72 * \param nb_lap number of laps, -1 for infinite 73 73 */ 74 void StartTraj(const core::Vector2D &start_pos, float nb_lap = -1);74 void StartTraj(const core::Vector2Df &start_pos, float nb_lap = -1); 75 75 76 76 /*! … … 93 93 * \param value center position 94 94 */ 95 void SetCenter(const core::Vector2D &value);95 void SetCenter(const core::Vector2Df &value); 96 96 97 97 /*! … … 100 100 * \param value center speed 101 101 */ 102 void SetCenterSpeed(const core::Vector2D &value);102 void SetCenterSpeed(const core::Vector2Df &value); 103 103 104 104 /*! … … 117 117 * \param point returned position 118 118 */ 119 void GetPosition(core::Vector2D &point) const;119 void GetPosition(core::Vector2Df &point) const; 120 120 121 121 /*! … … 124 124 * \param point returned speed 125 125 */ 126 void GetSpeed(core::Vector2D &point) const;126 void GetSpeed(core::Vector2Df &point) const; 127 127 128 128 /*! -
trunk/include/FlairFilter/UavMultiplex.h
r13 r50 19 19 namespace flair { 20 20 namespace core { 21 class FrameworkManager;22 21 class io_data; 23 22 } … … 41 40 * \brief Constructor 42 41 * 43 * Construct a uav multiplexing 44 * 45 * \param parent parent 42 * Construct a uav multiplexing. It will be child of the FrameworkManager. 43 * 46 44 * \param name name 47 45 */ 48 UavMultiplex( const core::FrameworkManager *parent,std::string name);46 UavMultiplex(std::string name); 49 47 50 48 /*! -
trunk/include/FlairFilter/X4X8Multiplex.h
r13 r50 59 59 * \brief Constructor 60 60 * 61 * Construct a X4 and X8 multiplexing 61 * Construct a X4 and X8 multiplexing. It will be child of the FrameworkManager. 62 62 * 63 * \param parent parent64 63 * \param name name 65 64 * \param type type 66 65 */ 67 X4X8Multiplex(const core::FrameworkManager *parent, std::string name, 68 UavType_t type); 66 X4X8Multiplex(std::string name, UavType_t type); 69 67 70 68 /*!
Note:
See TracChangeset
for help on using the changeset viewer.