Flair
Framework Libre Air
MetaVrpnObject.h
Go to the documentation of this file.
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}
13 #ifndef METAVRPNOBJECT_H
14 #define METAVRPNOBJECT_H
15 
16 #include <VrpnObject.h>
17 #include "io_data.h"
18 
19 namespace flair {
20 namespace core {
21 class Vector3D;
22 class FloatType;
23 }
24 namespace gui {
25 class DataPlot1D;
26 class DataPlot2D;
27 class Tab;
28 }
29 namespace filter {
30 class EulerDerivative;
31 class LowPassFilter;
32 }
33 namespace sensor {
34 class VrpnClient;
35 }
36 }
37 
38 namespace flair {
39 namespace meta {
40 
48 public:
49  MetaVrpnObject(const sensor::VrpnClient *parent, std::string name);
50  MetaVrpnObject(const sensor::VrpnClient *parent, std::string name,
51  uint8_t id);
52  ~MetaVrpnObject();
53  gui::DataPlot1D *VxPlot(void) const; // 1,0
54  gui::DataPlot1D *VyPlot(void) const; // 1,1
55  gui::DataPlot1D *VzPlot(void) const; // 1,2
56  gui::DataPlot2D *XyPlot(void) const;
57  void GetSpeed(core::Vector3D &speed) const;
58 
59 private:
60  void ConstructorCommon(const sensor::VrpnClient *parent, std::string name);
63  gui::DataPlot2D *xy_plot;
64  gui::DataPlot1D *vx_opti_plot, *vy_opti_plot, *vz_opti_plot;
65  gui::Tab *plot_tab;
66  core::FloatType elementDataType;
67 };
68 } // end namespace meta
69 } // end namespace flair
70 #endif // METAVRPNOBJECT_H
namespace of the flair Framework
Definition: Ahrs.h:19
Class for VRPN object.
Definition: VrpnObject.h:45
Class defining a 3D vector.
Definition: Vector3D.h:28
Abstract class for data types.
Class defining a first order low pass filter.
Definition: LowPassFilter.h:36
Class for VRPN object.
Definition: io_data.h:60
Classe haut niveau intégrant un objet VRPN.
Definition: MetaVrpnObject.h:47
Class to connect to a Vrpn server.
Definition: VrpnClient.h:39
Class defining an euler derivative.
Definition: EulerDerivative.h:36
Class displaying a 2D plot on the ground station.
Definition: DataPlot2D.h:34
Class displaying a 1D plot on the ground station.
Definition: DataPlot1D.h:33
Class displaying a QTab on the ground station.
Definition: Tab.h:29