source: flair-dev/trunk/include/FlairFilter/SimuAhrs.h@ 9

Last change on this file since 9 was 9, checked in by Sanahuja Guillaume, 9 years ago

lic

File size: 1.6 KB
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 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
19namespace flair
20{
21namespace filter
22{
23 /*! \class SimuAhrs
24 *
25 * \brief Class for a simulation Ahrs
26 *
27 * This class constructs a SimuImu as Imu of this Ahrs.
28 */
29 class SimuAhrs : public filter::Ahrs
30 {
31 public:
32 /*!
33 * \brief Constructor
34 *
35 * Construct a simulation Ahrs.
36 *
37 * \param parent parent
38 * \param name name
39 * \param dev_id number id of the simulated Ahrs
40 * \param priority priority of the SimuImu Thread
41 */
42 SimuAhrs(const core::FrameworkManager* parent,std::string name,uint32_t dev_id,uint8_t priority);
43
44 /*!
45 * \brief Destructor
46 *
47 */
48 ~SimuAhrs();
49
50 /*!
51 * \brief Start SimuImu Thread
52 *
53 */
54 void Start(void);
55
56 private:
57 /*!
58 * \brief Update using provided datas
59 *
60 * Reimplemented from IODevice.
61 *
62 * \param data data from the parent to process
63 */
64 void UpdateFrom(const core::io_data *data);
65 };
66} // end namespace filter
67} // end namespace flair
68#endif // SIMUAHRS_H
Note: See TracBrowser for help on using the repository browser.