Paparazzi UAS  v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
nav_catapult.c File Reference
#include "modules/nav/nav_catapult.h"
#include "state.h"
#include "generated/airframe.h"
#include "firmwares/fixedwing/nav.h"
#include "autopilot.h"
#include "firmwares/fixedwing/stabilization/stabilization_attitude.h"
#include "mcu_periph/uart.h"
#include "pprzlink/messages.h"
#include "subsystems/datalink/downlink.h"
+ Include dependency graph for nav_catapult.c:

Go to the source code of this file.

Macros

#define NAV_CATAPULT_ACCELERATION_THRESHOLD   1.5
 
#define NAV_CATAPULT_ACCELERATION_DETECTION   5
 
#define NAV_CATAPULT_MOTOR_DELAY   0.75
 
#define NAV_CATAPULT_HEADING_DELAY   3.0
 
#define NAV_CATAPULT_INITIAL_PITCH   RadOfDeg(10)
 
#define NAV_CATAPULT_INITIAL_THROTTLE   1.0
 
#define NAV_CATAPULT_CLIMB_DISTANCE   300.
 
#define NAV_CATAPULT_TIMEOUT   30.
 

Functions

void nav_catapult_init (void)
 
void nav_catapult_highrate_module (void)
 
bool nav_catapult_run (uint8_t _climb)
 

Variables

struct nav_catapult_struct nav_catapult
 

Macro Definition Documentation

#define NAV_CATAPULT_ACCELERATION_DETECTION   5

Definition at line 56 of file nav_catapult.c.

Referenced by nav_catapult_highrate_module().

#define NAV_CATAPULT_ACCELERATION_THRESHOLD   1.5

Definition at line 52 of file nav_catapult.c.

Referenced by nav_catapult_init().

#define NAV_CATAPULT_CLIMB_DISTANCE   300.

Definition at line 76 of file nav_catapult.c.

Referenced by nav_catapult_run().

#define NAV_CATAPULT_HEADING_DELAY   3.0

Definition at line 64 of file nav_catapult.c.

Referenced by nav_catapult_init().

#define NAV_CATAPULT_INITIAL_PITCH   RadOfDeg(10)

Definition at line 68 of file nav_catapult.c.

Referenced by nav_catapult_init().

#define NAV_CATAPULT_INITIAL_THROTTLE   1.0

Definition at line 72 of file nav_catapult.c.

Referenced by nav_catapult_init().

#define NAV_CATAPULT_MOTOR_DELAY   0.75

Definition at line 60 of file nav_catapult.c.

Referenced by nav_catapult_init().

#define NAV_CATAPULT_TIMEOUT   30.

Definition at line 80 of file nav_catapult.c.

Referenced by nav_catapult_highrate_module().

Function Documentation

Variable Documentation

struct nav_catapult_struct nav_catapult