Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
guidance_oneloop.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2015 Tomaso De Ponti <t.m.l.deponti@tudelft.nl>
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, write to
18
* the Free Software Foundation, 59 Temple Place - Suite 330,
19
* Boston, MA 02111-1307, USA.
20
*/
21
28
#ifndef GUIDANCE_ONELOOP_H
29
#define GUIDANCE_ONELOOP_H
30
31
#include "
firmwares/rotorcraft/oneloop/oneloop_andi.h
"
32
33
enum
GuidanceOneloop_HMode
{
34
GUIDANCE_ONELOOP_H_POS
,
35
GUIDANCE_ONELOOP_H_SPEED
,
36
GUIDANCE_ONELOOP_H_ACCEL
37
};
38
39
enum
GuidanceOneloop_VMode
{
40
GUIDANCE_ONELOOP_V_POS
,
41
GUIDANCE_ONELOOP_V_SPEED
,
42
GUIDANCE_ONELOOP_V_ACCEL
43
};
44
45
extern
struct
StabilizationSetpoint
guidance_oneloop_run_mode
(bool in_flight, struct
HorizontalGuidance
*gh,
struct
VerticalGuidance
*gv,
enum
GuidanceOneloop_HMode
h_mode,
enum
GuidanceOneloop_VMode
v_mode);
46
47
#endif
/* GUIDANCE_INDI_H */
guidance_oneloop_run_mode
struct StabilizationSetpoint guidance_oneloop_run_mode(bool in_flight, struct HorizontalGuidance *gh, struct VerticalGuidance *gv, enum GuidanceOneloop_HMode h_mode, enum GuidanceOneloop_VMode v_mode)
Definition:
guidance_oneloop.c:84
GuidanceOneloop_HMode
GuidanceOneloop_HMode
Definition:
guidance_oneloop.h:33
GUIDANCE_ONELOOP_H_ACCEL
@ GUIDANCE_ONELOOP_H_ACCEL
Definition:
guidance_oneloop.h:36
GUIDANCE_ONELOOP_H_POS
@ GUIDANCE_ONELOOP_H_POS
Definition:
guidance_oneloop.h:34
GUIDANCE_ONELOOP_H_SPEED
@ GUIDANCE_ONELOOP_H_SPEED
Definition:
guidance_oneloop.h:35
GuidanceOneloop_VMode
GuidanceOneloop_VMode
Definition:
guidance_oneloop.h:39
GUIDANCE_ONELOOP_V_POS
@ GUIDANCE_ONELOOP_V_POS
Definition:
guidance_oneloop.h:40
GUIDANCE_ONELOOP_V_SPEED
@ GUIDANCE_ONELOOP_V_SPEED
Definition:
guidance_oneloop.h:41
GUIDANCE_ONELOOP_V_ACCEL
@ GUIDANCE_ONELOOP_V_ACCEL
Definition:
guidance_oneloop.h:42
oneloop_andi.h
HorizontalGuidance
Definition:
guidance_h.h:103
VerticalGuidance
Definition:
guidance_v.h:43
StabilizationSetpoint
Stabilization setpoint.
Definition:
stabilization.h:53
sw
airborne
firmwares
rotorcraft
guidance
guidance_oneloop.h
Generated on Fri Nov 8 2024 14:10:45 for Paparazzi UAS by
1.9.1