Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
nav_spiral_3D.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2019 Gautier Hattenberger <gautier.hattenberger@enac.fr>
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 
28 #ifndef NAV_SPIRAL_3D_H
29 #define NAV_SPIRAL_3D_H
30 
31 #include "std.h"
33 
34 extern void nav_spiral_3D_init(void);
35 
38 extern bool nav_spiral_3D_run(void);
39 
46 extern void nav_spiral_3D_setup(float center_x, float center_y,
47  float alt_start, float alt_stop,
48  float radius_start, float radius_stop,
49  float vx, float vy, float vz);
50 
51 #endif // NAV_SPIRAL_3D_H
52 
void nav_spiral_3D_init(void)
void nav_spiral_3D_setup(float center_x, float center_y, float alt_start, float alt_stop, float radius_start, float radius_stop, float vx, float vy, float vz)
Initialize spiral 3D based on:
bool nav_spiral_3D_run(void)
Run spiral 3D navigation.
Paparazzi floating point algebra.