Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
avoid_navigation.h File Reference
#include <std.h>
+ Include dependency graph for avoid_navigation.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  AvoidNavigationStruct
 

Macros

#define NAV_LINE_AVOID_SEGMENT_LENGTH   2.0
 

Functions

void init_avoid_navigation (void)
 
void run_avoid_navigation_onvision (void)
 
void increase_nav_heading (float *heading, float increment)
 

Variables

struct AvoidNavigationStruct avoid_navigation_data
 global VIDEO state More...
 
bool obstacle_detected
 

Detailed Description

  • while flying a route from A -> B
  • when

Definition in file avoid_navigation.h.


Data Structure Documentation

◆ AvoidNavigationStruct

struct AvoidNavigationStruct

Definition at line 69 of file stereocam_droplet.c.

Data Fields
uint8_t mode 0 = straight, 1 = right, 2 = left, ...

0 = nothing, 1 = climb, 2 = sideways, ...

uint8_t stereo_bin[8]
uint8_t timeout

Macro Definition Documentation

◆ NAV_LINE_AVOID_SEGMENT_LENGTH

#define NAV_LINE_AVOID_SEGMENT_LENGTH   2.0

Definition at line 38 of file avoid_navigation.h.

Function Documentation

◆ increase_nav_heading()

void increase_nav_heading ( float *  heading,
float  increment 
)

Definition at line 117 of file avoid_navigation.c.

References heading.

◆ init_avoid_navigation()

void init_avoid_navigation ( void  )

Definition at line 58 of file avoid_navigation.c.

References avoid_navigation_data, and AvoidNavigationStruct::mode.

Referenced by stereo_avoid_init().

+ Here is the caller graph for this function:

◆ run_avoid_navigation_onvision()

void run_avoid_navigation_onvision ( void  )

Variable Documentation

◆ avoid_navigation_data

◆ obstacle_detected

bool obstacle_detected
extern

Definition at line 54 of file avoid_navigation.c.

Referenced by run_avoid_navigation_onvision(), and stereocam_droplet_periodic().