Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
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
28
29
30
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 */
bool obstacle_detected
void init_avoid_navigation(void)
void increase_nav_heading(float *heading, float increment)
void run_avoid_navigation_onvision(void)
static uint8_t mode
mode holds the current sonar mode mode = 0 used at high altitude, uses 16 wave patterns mode = 1 used...
Definition sonar_bebop.c:65
struct AvoidNavigationStruct avoid_navigation_data
global VIDEO state
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.
float heading
Definition wedgebug.c:258