source: flair-dev/tags/0.0.1/include/FlairFilter/SimuAhrs.h

Last change on this file was 13, checked in by Bayard Gildas, 6 years ago

formatting script + include reformatted

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