Rev | Line | |
---|
| 1 | /*!
|
---|
| 2 | * \file SimuAhrs.h
|
---|
| 3 | * \brief Class for a simulation Ahrs
|
---|
| 4 | * \author Guillaume Sanahuja, Copyright Heudiasyc UMR UTC/CNRS 7253
|
---|
| 5 | * \date 2014/02/07
|
---|
| 6 | * \version 4.0
|
---|
| 7 | */
|
---|
| 8 |
|
---|
| 9 | #ifndef SIMUAHRS_H
|
---|
| 10 | #define SIMUAHRS_H
|
---|
| 11 |
|
---|
| 12 | #include <Ahrs.h>
|
---|
| 13 | #include <stdint.h>
|
---|
| 14 |
|
---|
| 15 | namespace flair
|
---|
| 16 | {
|
---|
| 17 | namespace filter
|
---|
| 18 | {
|
---|
| 19 | /*! \class SimuAhrs
|
---|
| 20 | *
|
---|
| 21 | * \brief Class for a simulation Ahrs
|
---|
| 22 | *
|
---|
| 23 | * This class constructs a SimuImu as Imu of this Ahrs.
|
---|
| 24 | */
|
---|
| 25 | class SimuAhrs : public filter::Ahrs
|
---|
| 26 | {
|
---|
| 27 | public:
|
---|
| 28 | /*!
|
---|
| 29 | * \brief Constructor
|
---|
| 30 | *
|
---|
| 31 | * Construct a simulation Ahrs.
|
---|
| 32 | *
|
---|
| 33 | * \param parent parent
|
---|
| 34 | * \param name name
|
---|
| 35 | * \param dev_id number id of the simulated Ahrs
|
---|
| 36 | * \param priority priority of the SimuImu Thread
|
---|
| 37 | */
|
---|
| 38 | SimuAhrs(const core::FrameworkManager* parent,std::string name,uint32_t dev_id,uint8_t priority);
|
---|
| 39 |
|
---|
| 40 | /*!
|
---|
| 41 | * \brief Destructor
|
---|
| 42 | *
|
---|
| 43 | */
|
---|
| 44 | ~SimuAhrs();
|
---|
| 45 |
|
---|
| 46 | /*!
|
---|
| 47 | * \brief Start SimuImu Thread
|
---|
| 48 | *
|
---|
| 49 | */
|
---|
| 50 | void Start(void);
|
---|
| 51 |
|
---|
| 52 | private:
|
---|
| 53 | /*!
|
---|
| 54 | * \brief Update using provided datas
|
---|
| 55 | *
|
---|
| 56 | * Reimplemented from IODevice.
|
---|
| 57 | *
|
---|
| 58 | * \param data data from the parent to process
|
---|
| 59 | */
|
---|
| 60 | void UpdateFrom(const core::io_data *data);
|
---|
| 61 | };
|
---|
| 62 | } // end namespace filter
|
---|
| 63 | } // end namespace flair
|
---|
| 64 | #endif // SIMUAHRS_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.