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
nav_poles_rotorcraft.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2025 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
29#ifndef NAV_POLES_ROTORCRAFT_H
30#define NAV_POLES_ROTORCRAFT_H
31
32#include "std.h"
34
36
39extern void nav_poles_init(void);
40
50extern bool nav_poles_setup_wp(uint8_t wp1, uint8_t wp2, float height,
51 float radius, float margin, int8_t nb_laps);
52
63extern bool nav_poles_setup_lla(struct LlaCoor_f *lla1, struct LlaCoor_f *lla2, float height,
64 float radius, float margin, int8_t nb_laps);
65
66extern bool nav_poles_run(void);
67
68#endif
69
uint16_t foo
Definition main_demo5.c:58
uint8_t nav_poles_count
Definition nav_poles.c:29
bool nav_poles_run(void)
bool nav_poles_setup_wp(uint8_t wp1, uint8_t wp2, float height, float radius, float margin, int8_t nb_laps)
Init poles from flight plan waypoints.
bool nav_poles_setup_lla(struct LlaCoor_f *lla1, struct LlaCoor_f *lla2, float height, float radius, float margin, int8_t nb_laps)
Init poles from waypoints coordinates in LLA format.
void nav_poles_init(void)
Global init.
Paparazzi floating point math for geodetic calculations.
vector in Latitude, Longitude and Altitude
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.
signed char int8_t
Typedef defining 8 bit char type.