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