source: flair-src/trunk/lib/FlairFilter/src/unexported/X4X8Multiplex_impl.h@ 465

Last change on this file since 465 was 421, checked in by Sanahuja Guillaume, 3 years ago

add a permanent trim, usefull when uav is not well balanced (ie intel aero)

File size: 1.2 KB
RevLine 
[10]1// %flair:license{
[15]2// This file is part of the Flair framework distributed under the
3// CECILL-C License, Version 1.0.
[10]4// %flair:license}
[7]5/*!
6 * \file X4X8Multiplex_impl.h
7 * \brief Class defining X4 and X8 multiplexing
8 * \author Guillaume Sanahuja, Copyright Heudiasyc UMR UTC/CNRS 7253
9 * \date 2014/04/10
10 * \version 4.0
11 */
12
13#ifndef X4X8MULTIPLEX_IMPL_H
14#define X4X8MULTIPLEX_IMPL_H
15
16#include <string>
17
[15]18namespace flair {
19namespace core {
[214]20class Matrix;
[15]21class io_data;
[7]22}
[15]23namespace gui {
24class DataPlot1D;
25class ComboBox;
[421]26class DoubleSpinBox;
[15]27}
28namespace filter {
29class X4X8Multiplex;
30}
31}
[7]32
33/*! \class X4X8Multiplex_impl
34*
35* \brief Class defining X4 and X8 multiplexing
36*/
[15]37class X4X8Multiplex_impl {
38public:
39 X4X8Multiplex_impl(flair::filter::X4X8Multiplex *self, int nb_mot);
40 ~X4X8Multiplex_impl();
41 void UseDefaultPlot(void);
42 void UpdateFrom(const flair::core::io_data *data);
43 int nb_mot;
44 std::string MotorName(int index);
[7]45
[15]46private:
[214]47 flair::core::Matrix *output;
[15]48 flair::gui::ComboBox *pas;
49 flair::gui::DataPlot1D *plots[4];
[421]50 flair::gui::DoubleSpinBox *permanent_trim_roll,*permanent_trim_pitch;
[15]51 flair::filter::X4X8Multiplex *self;
52 float Set(float trim, float u);
[7]53};
54
55#endif // X4X8MULTIPLEX_IMPL_H
Note: See TracBrowser for help on using the repository browser.