Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
nav_heli_spinup.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) Freek van Tienen <freek.v.tienen@gmail.com>
3  *
4  * This file is part of paparazzi
5  *
6  * paparazzi is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2, or (at your option)
9  * any later version.
10  *
11  * paparazzi is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with paparazzi; see the file COPYING. If not, see
18  * <http://www.gnu.org/licenses/>.
19  */
26 #ifndef NAV_HELI_SPINUP_H
27 #define NAV_HELI_SPINUP_H
28 
29 #include "std.h"
30 #include "paparazzi.h"
32 
36 };
37 
45 extern void nav_heli_spinup_setup(uint16_t duration, float throttle);
46 
53 extern bool nav_heli_spinup_run(void);
54 
55 #endif
bool nav_heli_spinup_run(void)
Heli spinup run function.
void nav_heli_spinup_setup(uint16_t duration, float throttle)
Initialization function.
uint16_t duration
The duration in seconds to reach the final throttle.
uint32_t throttle
The final throttle level.
unsigned short uint16_t
Typedef defining 16 bit unsigned short type.
Definition: vl53l1_types.h:88
unsigned int uint32_t
Typedef defining 32 bit unsigned int type.
Definition: vl53l1_types.h:78