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
avoid_navigation.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2012-2013
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
31#ifndef AVOID_NAVIGATION_H
32#define AVOID_NAVIGATION_H
33
34#include <std.h>
35
36
37#ifndef NAV_LINE_AVOID_SEGMENT_LENGTH
38#define NAV_LINE_AVOID_SEGMENT_LENGTH 2.0
39#endif
40
41
42
46};
47
50extern bool obstacle_detected;
51
52void init_avoid_navigation(void);
54extern void increase_nav_heading(float *heading, float increment);
55
56
57#endif /* AVOID_NAVIGATION_H */
void init_avoid_navigation(void)
void increase_nav_heading(float *heading, float increment)
bool obstacle_detected
uint8_t mode
0 = straight, 1 = right, 2 = left, ...
struct AvoidNavigationStruct avoid_navigation_data
global VIDEO state
void run_avoid_navigation_onvision(void)
uint16_t foo
Definition main_demo5.c:58
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.
float heading
Definition wedgebug.c:258