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 Gx3_25_ahrs.h |
---|
7 | * \brief Class for 3dmgx3-25 ahrs |
---|
8 | * \author Guillaume Sanahuja, Copyright Heudiasyc UMR UTC/CNRS 7253 |
---|
9 | * \date 2013/01/16 |
---|
10 | * \version 4.0 |
---|
11 | */ |
---|
12 | |
---|
13 | #ifndef GX3_25_AHRS_H |
---|
14 | #define GX3_25_AHRS_H |
---|
15 | |
---|
16 | #include <Ahrs.h> |
---|
17 | #include <Gx3_25_imu.h> |
---|
18 | |
---|
19 | namespace flair |
---|
20 | { |
---|
21 | namespace filter |
---|
22 | { |
---|
23 | /*! \class Gx3_25_ahrs |
---|
24 | * |
---|
25 | * \brief Class for 3dmgx3-25 ahrs |
---|
26 | * |
---|
27 | * This class constructs a Gx3_25_imu as Imu of this Ahrs. |
---|
28 | */ |
---|
29 | class Gx3_25_ahrs : public Ahrs |
---|
30 | { |
---|
31 | public: |
---|
32 | /*! |
---|
33 | * \brief Constructor |
---|
34 | * |
---|
35 | * Construct an Ahrs for 3dmgx3-25 |
---|
36 | * |
---|
37 | * \param parent parent |
---|
38 | * \param name name |
---|
39 | * \param serialport Imu SerialPort |
---|
40 | * \param command command for the Gx3_25_imu continuous mode |
---|
41 | * \param priority priority of the Gx3_25_imu Thread |
---|
42 | */ |
---|
43 | Gx3_25_ahrs(const core::FrameworkManager* parent,std::string name,core::SerialPort *serialport,sensor::Gx3_25_imu::Command_t command,uint8_t priority); |
---|
44 | |
---|
45 | /*! |
---|
46 | * \brief Destructor |
---|
47 | * |
---|
48 | */ |
---|
49 | ~Gx3_25_ahrs(); |
---|
50 | |
---|
51 | /*! |
---|
52 | * \brief Start Gx3_25_imu Thread |
---|
53 | * |
---|
54 | */ |
---|
55 | void Start(void); |
---|
56 | |
---|
57 | private: |
---|
58 | /*! |
---|
59 | * \brief Update using provided datas |
---|
60 | * |
---|
61 | * Reimplemented from IODevice. |
---|
62 | * |
---|
63 | * \param data data from the parent to process |
---|
64 | */ |
---|
65 | void UpdateFrom(const core::io_data *data); |
---|
66 | }; |
---|
67 | } // end namespace filter |
---|
68 | } // end namespace flair |
---|
69 | #endif // GX3_25_AHRS_H |
---|
Note: See
TracBrowser
for help on using the repository browser.