Line | |
---|
1 | // %flair:license{
|
---|
2 | // This file is part of the Flair framework distributed under the
|
---|
3 | // CECILL-C License, Version 1.0.
|
---|
4 | // %flair:license}
|
---|
5 | /*!
|
---|
6 | * \file SimulatedAhrs.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 |
|
---|
18 | namespace flair {
|
---|
19 | namespace filter {
|
---|
20 | /*! \class SimulatedAhrs
|
---|
21 | *
|
---|
22 | * \brief Class for a simulation Ahrs
|
---|
23 | *
|
---|
24 | * This class constructs a SimulatedImu as Imu of this Ahrs.
|
---|
25 | */
|
---|
26 | class SimulatedAhrs : public filter::Ahrs {
|
---|
27 | public:
|
---|
28 | /*!
|
---|
29 | * \brief Constructor
|
---|
30 | *
|
---|
31 | * Construct a simulation Ahrs. It will be child of the FrameworkManager.
|
---|
32 | *
|
---|
33 | * \param name name
|
---|
34 | * \param modelId Model id
|
---|
35 | * \param deviceId Ahrs id of the Model
|
---|
36 | * \param priority priority of the SimulatedImu Thread
|
---|
37 | */
|
---|
38 | SimulatedAhrs(std::string name,
|
---|
39 | uint32_t modelId,uint32_t deviceId, uint8_t priority);
|
---|
40 |
|
---|
41 | /*!
|
---|
42 | * \brief Destructor
|
---|
43 | *
|
---|
44 | */
|
---|
45 | ~SimulatedAhrs();
|
---|
46 |
|
---|
47 | private:
|
---|
48 | /*!
|
---|
49 | * \brief Update using provided datas
|
---|
50 | *
|
---|
51 | * Reimplemented from IODevice.
|
---|
52 | *
|
---|
53 | * \param data data from the parent to process
|
---|
54 | */
|
---|
55 | void UpdateFrom(const core::io_data *data);
|
---|
56 | };
|
---|
57 | } // end namespace filter
|
---|
58 | } // end namespace flair
|
---|
59 | #endif // SIMUAHRS_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.