dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
vehicletrim.h
Go to the documentation of this file.
1 
7 /*
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 3 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful, but
14  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16  * for more details.
17  *
18  * You should have received a copy of the GNU General Public License along
19  * with this program; if not, see <http://www.gnu.org/licenses/>
20  */
21 #ifndef VEHICLETRIM_H
22 #define VEHICLETRIM_H
23 
26 #include <uavobjects/uavobject.h>
27 #include <tempcompcurve.h>
28 
29 #include <QObject>
30 #include <QTimer>
31 #include <QString>
32 
39 class VehicleTrim : public QObject
40 {
41  Q_OBJECT
42 
43 public:
44  explicit VehicleTrim();
45  ~VehicleTrim();
46 
51  };
52 
59  };
60 
63 
64 private:
65 signals:
66 
68  void trimCompleted();
69 
70 private:
71 protected:
74 };
75 
76 #endif // VEHICLETRIM_H
autopilotLevelBiasMessages
Definition: vehicletrim.h:53
autopilotLevelBiasMessages setAutopilotBias()
VehicleTrim::setFixedWingTrimAutopilotBias Takes the desired roll and pitch, and sets that as the aut...
Definition: vehicletrim.cpp:54
void trimCompleted()
Indicate that a trim process has successfully completed and the results saved to UAVO.
UAVObjectManager * getObjectManager()
Get the object manager.
The VehicleTrim class is a UI free algorithm that can be connected to any interfaces. As such it only communicates with the UI via signals and slots, but has no direct handles to any particular controls or widgets.
Definition: vehicletrim.h:39
actuatorTrimMessages setTrimActuators()
VehicleTrim::setFixedWingTrimActuators Reads the servo inputs from the transmitter, and sets these values as the neutral points.