Paparazzi UAS  v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
nav_line_osam.c File Reference

Flight line from OSAM advanced navigation routines. More...

#include "modules/nav/nav_line_osam.h"
#include "firmwares/fixedwing/nav.h"
#include "state.h"
#include "autopilot.h"
#include "generated/flight_plan.h"
+ Include dependency graph for nav_line_osam.c:

Go to the source code of this file.

Data Structures

struct  Point2D
 

Macros

#define LINE_START_FUNCTION   {}
 
#define LINE_STOP_FUNCTION   {}
 

Enumerations

enum  FLStatus { FLInitialize, FLCircleS, FLLine, FLFinished }
 

Functions

static void TranslateAndRotateFromWorld (struct Point2D *p, float Zrot, float transX, float transY)
 
bool nav_line_osam_run (uint8_t From_WP, uint8_t To_WP, float radius, float Space_Before, float Space_After)
 
bool nav_line_osam_block_run (uint8_t First_WP, uint8_t Last_WP, float radius, float Space_Before, float Space_After)
 

Variables

static enum FLStatus CFLStatus = FLInitialize
 
static struct Point2D FLCircle
 
static struct Point2D FLFROMWP
 
static struct Point2D FLTOWP
 
static float FLQDR
 
static float FLRadius
 
static uint8_t FLBlockCount = 0
 

Detailed Description

Flight line from OSAM advanced navigation routines.

Todo:
compare with normal flight line

Definition in file nav_line_osam.c.


Data Structure Documentation

struct Point2D

Definition at line 90 of file nav_launcher.c.

Data Fields
float x
float y

Macro Definition Documentation

#define LINE_START_FUNCTION   {}

Definition at line 38 of file nav_line_osam.c.

Referenced by nav_line_osam_run().

#define LINE_STOP_FUNCTION   {}

Definition at line 41 of file nav_line_osam.c.

Referenced by nav_line_osam_run().

Enumeration Type Documentation

enum FLStatus
Enumerator
FLInitialize 
FLCircleS 
FLLine 
FLFinished 

Definition at line 46 of file nav_line_osam.c.

Function Documentation

bool nav_line_osam_block_run ( uint8_t  First_WP,
uint8_t  Last_WP,
float  radius,
float  Space_Before,
float  Space_After 
)

Definition at line 176 of file nav_line_osam.c.

References CFLStatus, FLBlockCount, FLInitialize, and nav_line_osam_run().

+ Here is the call graph for this function:

bool nav_line_osam_run ( uint8_t  From_WP,
uint8_t  To_WP,
float  radius,
float  Space_Before,
float  Space_After 
)
static void TranslateAndRotateFromWorld ( struct Point2D p,
float  Zrot,
float  transX,
float  transY 
)
static

Definition at line 58 of file nav_line_osam.c.

References Point2D::x, and Point2D::y.

Referenced by nav_line_osam_run().

+ Here is the caller graph for this function:

Variable Documentation

enum FLStatus CFLStatus = FLInitialize
static

Definition at line 48 of file nav_line_osam.c.

Referenced by nav_line_osam_block_run(), and nav_line_osam_run().

uint8_t FLBlockCount = 0
static

Definition at line 174 of file nav_line_osam.c.

Referenced by nav_line_osam_block_run().

struct Point2D FLCircle
static

Definition at line 49 of file nav_line_osam.c.

Referenced by nav_line_osam_run().

struct Point2D FLFROMWP
static

Definition at line 50 of file nav_line_osam.c.

Referenced by nav_line_osam_run().

float FLQDR
static

Definition at line 52 of file nav_line_osam.c.

Referenced by nav_line_osam_run().

float FLRadius
static

Definition at line 53 of file nav_line_osam.c.

Referenced by nav_line_osam_run().

struct Point2D FLTOWP
static

Definition at line 51 of file nav_line_osam.c.

Referenced by nav_line_osam_run().