Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
wls_alloc.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) Anton Naruta && Daniel Hoppener
3
* MAVLab Delft University of Technology
4
*
5
* This file is part of paparazzi.
6
*
7
* paparazzi is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 2, or (at your option)
10
* any later version.
11
*
12
* paparazzi is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with paparazzi; see the file COPYING. If not, write to
19
* the Free Software Foundation, 59 Temple Place - Suite 330,
20
* Boston, MA 02111-1307, USA.
21
*/
22
52
#ifndef WLS_ALLOC_HEADER
53
#define WLS_ALLOC_HEADER
54
55
#include "generated/airframe.h"
56
57
#ifndef WLS_N_U
58
#define WLS_N_U 6
59
#endif
60
61
#ifndef WLS_N_V
62
#define WLS_N_V 4
63
#endif
64
65
66
extern
int
wls_alloc
(
float
* u,
float
* v,
67
float
* umin,
float
* umax,
float
**
B
,
68
float
* u_guess,
float
* W_init,
float
*
Wv
,
float
*
Wu
,
69
float
* ud,
float
gamma,
int
imax,
int
n_u,
int
n_v);
70
71
72
#endif
B
#define B
Definition:
ahrs_float_invariant.c:101
Wv
static float Wv[ANDI_OUTPUTS]
Definition:
oneloop_andi.c:187
Wu
static float Wu[ANDI_NUM_ACT_TOT]
Definition:
oneloop_andi.c:194
wls_alloc
int wls_alloc(float *u, float *v, float *umin, float *umax, float **B, float *u_guess, float *W_init, float *Wv, float *Wu, float *ud, float gamma, int imax, int n_u, int n_v)
active set algorithm for control allocation
Definition:
wls_alloc.c:108
sw
airborne
math
wls
wls_alloc.h
Generated on Wed Apr 17 2024 15:10:34 for Paparazzi UAS by
1.9.1