Paparazzi UAS
v5.14.0_stable-0-g3f680d1
Paparazzi is a free software Unmanned Aircraft System.
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
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
"
31
#include "
modules/helicopter/throttle_curve.h
"
32
33
struct
nav_heli_spinup_t
{
34
uint16_t
duration
;
35
uint32_t
throttle
;
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
uint16_t
unsigned short uint16_t
Definition:
types.h:16
nav_heli_spinup_t::duration
uint16_t duration
The duration in seconds to reach the final throttle.
Definition:
nav_heli_spinup.h:34
uint32_t
unsigned long uint32_t
Definition:
types.h:18
nav_heli_spinup_t::throttle
uint32_t throttle
The final throttle level.
Definition:
nav_heli_spinup.h:35
nav_heli_spinup_t
Definition:
nav_heli_spinup.h:33
std.h
throttle_curve.h
nav_heli_spinup_run
bool nav_heli_spinup_run(void)
Heli spinup run function.
Definition:
nav_heli_spinup.c:56
nav_heli_spinup_setup
void nav_heli_spinup_setup(uint16_t duration, float throttle)
Initialization function.
Definition:
nav_heli_spinup.c:39
paparazzi.h
sw
airborne
modules
nav
nav_heli_spinup.h
Generated on Sat Feb 9 2019 07:05:52 for Paparazzi UAS by
1.8.8