source: flair-src/trunk/lib/FlairIpc/src/IpcAhrs.h@ 407

Last change on this file since 407 was 397, checked in by Sanahuja Guillaume, 4 years ago

add ipc lib

  • Property svn:eol-style set to native
File size: 1.2 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 IpcAhrs.h
7 * \brief Class for an ipc Ahrs
8 * \author Sébastien Ambroziak, Copyright Heudiasyc UMR UTC/CNRS 7253
9 * \date 2021/03/03
10 * \version 4.0
11 */
12
13#ifndef IPCAHRS_H
14#define IPCAHRS_H
15
16#include <Ahrs.h>
17
18namespace flair {
19namespace filter {
20/*! \class IpcAhrs
21*
22* \brief Class for an ipc Ahrs
23*
24* This class also constructs an IpcImu as Imu of this Ahrs.
25*/
26class IpcAhrs : public filter::Ahrs {
27public:
28 /*!
29 * \brief Constructor
30 *
31 * Construct an ipc Ahrs. It will be child of the FrameworkManager.
32 *
33 * \param name name
34 * \param priority priority of the SimulatedImu Thread
35 * \param ipc_name name of the ipc
36 * \param ipc_channel ipc channel number
37 */
38 IpcAhrs(std::string name, uint8_t priority, const char* ipc_name, int ipc_channel);
39
40 /*!
41 * \brief Destructor
42 *
43 */
44 ~IpcAhrs();
45
46private:
47 /*!
48 * \brief Update using provided datas
49 *
50 * Reimplemented from IODevice.
51 *
52 * \param data data from the parent to process
53 */
54 void UpdateFrom(const core::io_data *data);
55};
56} // end namespace filter
57} // end namespace flair
58#endif // IPCAHRS_H
Note: See TracBrowser for help on using the repository browser.