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_sin.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2016 Hector Garcia de Marina
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 */
22
23#ifndef GVF_IK_SIN_H
24#define GVF_IK_SIN_H
25
27
37typedef struct {
38 float ke;
39 float kn;
40 float alpha;
41 float w;
42 float off;
43 float A;
45
49
50// Sinusoidal
51extern bool nav_gvf_ik_sin_XY_alpha(float x, float y, float alpha, float w, float off, float A);
52extern bool nav_gvf_ik_sin_wp1_wp2(uint8_t wp1, uint8_t wp2, float w, float off, float A);
53extern bool nav_gvf_ik_sin_wp_alpha(uint8_t wp, float alpha, float w, float off, float A);
54
55#endif // GVF_IK_SIN_H
#define A
float off
Definition nav_sin.h:42
float A
Definition nav_sin.h:43
bool nav_gvf_ik_sin_XY_alpha(float x, float y, float alpha, float w, float off, float A)
Definition nav_sin.c:69
gvf_ik_s_par gvf_ik_sin_par
Definition nav_sin.c:58
float kn
Definition nav_sin.h:39
bool nav_gvf_ik_sin_wp1_wp2(uint8_t wp1, uint8_t wp2, float w, float off, float A)
Definition nav_sin.c:94
float alpha
Definition nav_sin.h:40
bool nav_gvf_ik_sin_wp_alpha(uint8_t wp, float alpha, float w, float off, float A)
Definition nav_sin.c:117
float ke
Definition nav_sin.h:38
float w
Definition nav_sin.h:41
uint16_t foo
Definition main_demo5.c:58
float alpha
Definition textons.c:133
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.