Paparazzi UAS  v5.15_devel-113-g1b57ff1
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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 
32 void qr_solve_wrapper(int m, int n, float** A, float* b, float* x);
33 
59 int wls_alloc(float* u, float* v, float* umin, float* umax, float** B,
60  int n_u, int n_w, float* u_guess, float* W_init, float* Wv,
61  float* Wu, float* ud, float gamma, int imax);
int wls_alloc(float *u, float *v, float *umin, float *umax, float **B, int n_u, int n_w, float *u_guess, float *W_init, float *Wv, float *Wu, float *ud, float gamma, int imax)
active set algorithm for control allocation
Definition: wls_alloc.c:101
#define B
void qr_solve_wrapper(int m, int n, float **A, float *b, float *x)
Wrapper for qr solve.
Definition: wls_alloc.c:63
#define A
static float Wv[INDI_OUTPUTS]