Last change
on this file since 137 was 137, checked in by Sanahuja Guillaume, 8 years ago |
singleton manager
|
File size:
1.3 KB
|
Rev | Line | |
---|
[10] | 1 | // %flair:license{
|
---|
[15] | 2 | // This file is part of the Flair framework distributed under the
|
---|
| 3 | // CECILL-C License, Version 1.0.
|
---|
[10] | 4 | // %flair:license}
|
---|
[7] | 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 |
|
---|
[15] | 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 | *
|
---|
[137] | 32 | * Construct a simulation Ahrs. It will be child of the FrameworkManager.
|
---|
[15] | 33 | *
|
---|
| 34 | * \param name name
|
---|
| 35 | * \param dev_id number id of the simulated Ahrs
|
---|
| 36 | * \param priority priority of the SimuImu Thread
|
---|
| 37 | */
|
---|
[137] | 38 | SimuAhrs(std::string name,
|
---|
[15] | 39 | uint32_t dev_id, uint8_t priority);
|
---|
[7] | 40 |
|
---|
[15] | 41 | /*!
|
---|
| 42 | * \brief Destructor
|
---|
| 43 | *
|
---|
| 44 | */
|
---|
| 45 | ~SimuAhrs();
|
---|
[7] | 46 |
|
---|
[15] | 47 | /*!
|
---|
| 48 | * \brief Start SimuImu Thread
|
---|
| 49 | *
|
---|
| 50 | */
|
---|
| 51 | void Start(void);
|
---|
[7] | 52 |
|
---|
[15] | 53 | private:
|
---|
| 54 | /*!
|
---|
| 55 | * \brief Update using provided datas
|
---|
| 56 | *
|
---|
| 57 | * Reimplemented from IODevice.
|
---|
| 58 | *
|
---|
| 59 | * \param data data from the parent to process
|
---|
| 60 | */
|
---|
| 61 | void UpdateFrom(const core::io_data *data);
|
---|
| 62 | };
|
---|
[7] | 63 | } // end namespace filter
|
---|
| 64 | } // end namespace flair
|
---|
| 65 | #endif // SIMUAHRS_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.