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
>
30
#include "
math/pprz_algebra_float.h
"
31
32
struct
range_forcefield_param_t
{
33
float
inner_limit
;
34
float
outer_limit
;
35
float
min_vel
;
36
float
max_vel
;
37
};
38
39
extern
struct
range_forcefield_param_t
range_forcefield_param
;
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
FloatEulers
euler angles
Definition:
pprz_algebra_float.h:84
pprz_algebra_float.h
Paparazzi floating point algebra.
range_forcefield_init
void range_forcefield_init(void)
Definition:
range_forcefield.c:76
range_forcefield_param_t::inner_limit
float inner_limit
Definition:
range_forcefield.h:33
range_forcefield_param
struct range_forcefield_param_t range_forcefield_param
Definition:
range_forcefield.c:56
range_forcefield_periodic
void range_forcefield_periodic(void)
Definition:
range_forcefield.c:97
range_forcefield_update
void range_forcefield_update(float range, struct FloatEulers *body_to_sensor_eulers)
Definition:
range_forcefield.c:121
range_forcefield_param_t::min_vel
float min_vel
Definition:
range_forcefield.h:35
range_forcefield_param_t::outer_limit
float outer_limit
Definition:
range_forcefield.h:34
range_forcefield_param_t::max_vel
float max_vel
Definition:
range_forcefield.h:36
range_forcefield_param_t
Definition:
range_forcefield.h:32
std.h
sw
airborne
modules
range_forcefield
range_forcefield.h
Generated on Thu Dec 5 2024 13:05:31 for Paparazzi UAS by
1.9.1