Paparazzi UAS
v5.14.0_stable-0-g3f680d1
Paparazzi is a free software Unmanned Aircraft System.
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
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
43
struct
AvoidNavigationStruct
{
44
uint8_t
mode
;
45
uint8_t
stereo_bin
[8];
46
};
47
49
extern
struct
AvoidNavigationStruct
avoid_navigation_data
;
50
extern
bool
obstacle_detected
;
51
52
void
init_avoid_navigation
(
void
);
53
void
run_avoid_navigation_onvision
(
void
);
54
extern
void
increase_nav_heading
(
int32_t
*
heading
,
int32_t
increment);
55
56
57
#endif
/* AVOID_NAVIGATION_H */
obstacle_detected
bool obstacle_detected
Definition:
avoid_navigation.c:54
run_avoid_navigation_onvision
void run_avoid_navigation_onvision(void)
Definition:
avoid_navigation.c:65
heading
static float heading
Definition:
ahrs_infrared.c:45
increase_nav_heading
void increase_nav_heading(int32_t *heading, int32_t increment)
Definition:
avoid_navigation.c:117
std.h
int32_t
signed long int32_t
Definition:
types.h:19
uint8_t
unsigned char uint8_t
Definition:
types.h:14
avoid_navigation_data
struct AvoidNavigationStruct avoid_navigation_data
global VIDEO state
Definition:
stereocam_droplet.c:75
AvoidNavigationStruct
Definition:
stereocam_droplet.c:69
AvoidNavigationStruct::stereo_bin
uint8_t stereo_bin[8]
Definition:
stereocam_droplet.c:71
AvoidNavigationStruct::mode
uint8_t mode
0 = straight, 1 = right, 2 = left, ...
Definition:
stereocam_droplet.c:70
init_avoid_navigation
void init_avoid_navigation(void)
Definition:
avoid_navigation.c:58
sw
airborne
modules
stereocam
nav_line_avoid
avoid_navigation.h
Generated on Sat Feb 9 2019 07:05:54 for Paparazzi UAS by
1.8.8