Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
range_forcefield.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2017 K. N. McGuire
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  */
20 /*
21  * @file "modules/range_forcefield/range_forcefield.h"
22  * @author K. N. McGuire
23  * This module generates a forcefield based on range sensor measurements the use of single point range sensors.
24  */
25 
26 #ifndef RANGE_FORCEFIELD_H
27 #define RANGE_FORCEFIELD_H
28 
29 #include <std.h>
31 
33  float inner_limit;
34  float outer_limit;
35  float min_vel;
36  float max_vel;
37 };
38 
40 
41 extern void range_forcefield_init(void);
42 extern void range_forcefield_periodic(void);
43 extern void range_forcefield_update(float range, struct FloatEulers *body_to_sensor_eulers);
44 
45 #endif
euler angles
Paparazzi floating point algebra.
void range_forcefield_init(void)
struct range_forcefield_param_t range_forcefield_param
void range_forcefield_periodic(void)
void range_forcefield_update(float range, struct FloatEulers *body_to_sensor_eulers)