Paparazzi UAS  v5.18.0_stable
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
range_forcefield_param_t::inner_limit
float inner_limit
Definition: range_forcefield.h:33
range_forcefield_param_t::outer_limit
float outer_limit
Definition: range_forcefield.h:34
range_forcefield_init
void range_forcefield_init(void)
Definition: range_forcefield.c:76
range_forcefield_param_t
Definition: range_forcefield.h:32
range_forcefield_param
struct range_forcefield_param_t range_forcefield_param
Definition: range_forcefield.c:56
range_forcefield_update
void range_forcefield_update(float range, struct FloatEulers *body_to_sensor_eulers)
Definition: range_forcefield.c:121
pprz_algebra_float.h
Paparazzi floating point algebra.
std.h
range_forcefield_periodic
void range_forcefield_periodic(void)
Definition: range_forcefield.c:97
range_forcefield_param_t::min_vel
float min_vel
Definition: range_forcefield.h:35
FloatEulers
euler angles
Definition: pprz_algebra_float.h:84
range_forcefield_param_t::max_vel
float max_vel
Definition: range_forcefield.h:36