Merged in f5soh/librepilot/update_credits (pull request #529)
[librepilot.git] / flight / modules / Stabilization / inc / cruisecontrol.h
blob3caa3dba1cf5f781a008fc609c64f8f34326d7b4
1 /**
2 ******************************************************************************
3 * @addtogroup OpenPilotModules OpenPilot Modules
4 * @{
5 * @addtogroup StabilizationModule Stabilization Module
6 * @brief cruisecontrol mode
7 * @note This file implements the logic for a cruisecontrol
8 * @{
10 * @file cruisecontrol.h
11 * @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2014.
12 * @brief Attitude stabilization module.
14 * @see The GNU Public License (GPL) Version 3
16 *****************************************************************************/
18 * This program is free software; you can redistribute it and/or modify
19 * it under the terms of the GNU General Public License as published by
20 * the Free Software Foundation; either version 3 of the License, or
21 * (at your option) any later version.
23 * This program is distributed in the hope that it will be useful, but
24 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
25 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
26 * for more details.
28 * You should have received a copy of the GNU General Public License along
29 * with this program; if not, write to the Free Software Foundation, Inc.,
30 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
33 #ifndef CRUISECONTROL_H
34 #define CRUISECONTROL_H
36 #include <openpilot.h>
37 #include <attitudestate.h>
39 void cruisecontrol_compute_factor(AttitudeStateData *attitude, float thrustDemand);
40 float cruisecontrol_apply_factor(float raw);
42 #endif /* CRUISECONTROL_H */