Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
uav_recovery.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2013-2020 Chris Efstathiou hendrixgr@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, write to
18 * the Free Software Foundation, 59 Temple Place - Suite 330,
19 * Boston, MA 02111-1307, USA.
20 */
21
27#if !defined(UAV_RECOVERY_H)
28#define UAV_RECOVERY_H
29#define MY_PARACHUTE_RADIUS DEFAULT_CIRCLE_RADIUS
30
32extern float parachute_start_qdr;
33extern bool deploy_parachute_var;
34extern float airborne_wind_dir;
35extern float airborne_wind_speed;
36extern bool wind_measurements_valid;
37extern bool wind_info_valid;
38
39extern void uav_recovery_init(void);
40extern void uav_recovery_periodic(void);
41extern uint8_t DeployParachute(void);
42extern uint8_t LockParachute(void);
43extern uint8_t calculate_wind_no_airspeed(uint8_t wp, float radius, float height);
44
45
46#define ParachuteComputeApproach(_baseleg, _release, _target) parachute_compute_approach(_baseleg, _release, _target)
47
48#endif
uint16_t foo
Definition main_demo5.c:58
bool wind_measurements_valid
uint8_t DeployParachute(void)
void uav_recovery_periodic(void)
float airborne_wind_dir
bool wind_info_valid
unit_t parachute_compute_approach(uint8_t baseleg, uint8_t release, uint8_t wp_target)
uint8_t LockParachute(void)
bool deploy_parachute_var
uint8_t calculate_wind_no_airspeed(uint8_t wp, float radius, float height)
float parachute_start_qdr
void uav_recovery_init(void)
float airborne_wind_speed
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.