// %flair:license{ // This file is part of the Flair framework distributed under the // CECILL-C License, Version 1.0. // %flair:license} /*! * \file IpcAhrs.h * \brief Class for an ipc Ahrs * \author Sébastien Ambroziak, Copyright Heudiasyc UMR UTC/CNRS 7253 * \date 2021/03/03 * \version 4.0 */ #ifndef IPCAHRS_H #define IPCAHRS_H #include namespace flair { namespace filter { /*! \class IpcAhrs * * \brief Class for an ipc Ahrs * * This class also constructs an IpcImu as Imu of this Ahrs. */ class IpcAhrs : public filter::Ahrs { public: /*! * \brief Constructor * * Construct an ipc Ahrs. It will be child of the FrameworkManager. * * \param name name * \param priority priority of the SimulatedImu Thread * \param ipc_name name of the ipc * \param ipc_channel ipc channel number */ IpcAhrs(std::string name, uint8_t priority, const char* ipc_name, int ipc_channel); /*! * \brief Destructor * */ ~IpcAhrs(); private: /*! * \brief Update using provided datas * * Reimplemented from IODevice. * * \param data data from the parent to process */ void UpdateFrom(const core::io_data *data); }; } // end namespace filter } // end namespace flair #endif // IPCAHRS_H