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
obstacle_avoidance.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2015 Roland + Clint
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
27#ifndef READ_MATRIX_SERIAL_H
28#define READ_MATRIX_SERIAL_H
29
30extern void serial_init(void);
31extern void serial_update(void);
32extern void serial_start(void);
35
39
40//functions CN
41extern void CN_matrix_Kalman_filter(void);
42extern void CN_matrix_butterworth(void);
43extern void CN_calculate_target(void);
44extern void CN_potential_heading(void);
45extern void CN_potential_velocity(void);
46extern void CN_vector_velocity(void);
47extern void CN_vector_escape_velocity(void);
48extern void CN_escape_velocity(void);
49
50//variables for settings
51//Vector Method
52extern float F1;
53extern float F2;
54extern float Cfreq;
55extern float Ko;
56extern float Kg;
57extern float Dist_offset;
58extern int8_t dis_treshold;
59extern float dx_ref;
60extern float dy_ref;
61//Potential Method
62extern float K_goal;
63extern float K_obst;
64extern float b_damp;
65extern float c1_oa;
66extern float c2_oa;
67extern float c3_oa;
68extern float c4_oa;
69extern float c5_oa;
70extern float kv;
71extern float epsilon;
72
73#endif
uint16_t foo
Definition main_demo5.c:58
uint16_t size_matrix[]
float distances_hor[AVOIDANCES_DISTANCES_HOR_COUNT]
float dist_treshold
void CN_matrix_Kalman_filter(void)
float b_damp
float c4_oa
float c3_oa
float epsilon
void CN_potential_velocity(void)
float dx_ref
float dy_ref
void CN_potential_heading(void)
float Kg
void serial_update(void)
void CN_vector_velocity(void)
void pingpong_euler(float *distances_hor, float *horizontalAnglesMeasurements, int horizontalAmountOfMeasurements, float attitude_reference_pitch, float attitude_reference_roll, float dist_treshold)
void setAnglesMeasurements(float *anglesMeasurements, float *centersensorRad, float *fieldOfViewRad, uint16_t *size_matrix_local)
float F2
int8_t dis_treshold
float Cfreq
float K_obst
float Ko
void matrix_2_pingpong(float *distancesMeters, uint16_t *size_matrix, float *distances_hor)
float kv
float c2_oa
float c5_oa
float c1_oa
float K_goal
void CN_escape_velocity(void)
void serial_init(void)
float F1
void CN_matrix_butterworth(void)
void serial_start(void)
float Dist_offset
void CN_vector_escape_velocity(void)
void CN_calculate_target(void)
unsigned short uint16_t
Typedef defining 16 bit unsigned short type.
signed char int8_t
Typedef defining 8 bit char type.