Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
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 "modules/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

◆ NAV_CATAPULT_ACCELERATION_DETECTION

#define NAV_CATAPULT_ACCELERATION_DETECTION   5

Definition at line 56 of file nav_catapult.c.

◆ NAV_CATAPULT_ACCELERATION_THRESHOLD

#define NAV_CATAPULT_ACCELERATION_THRESHOLD   1.5

Definition at line 52 of file nav_catapult.c.

◆ NAV_CATAPULT_CLIMB_DISTANCE

#define NAV_CATAPULT_CLIMB_DISTANCE   300.

Definition at line 76 of file nav_catapult.c.

◆ NAV_CATAPULT_HEADING_DELAY

#define NAV_CATAPULT_HEADING_DELAY   3.0

Definition at line 64 of file nav_catapult.c.

◆ NAV_CATAPULT_INITIAL_PITCH

#define NAV_CATAPULT_INITIAL_PITCH   RadOfDeg(10)

Definition at line 68 of file nav_catapult.c.

◆ NAV_CATAPULT_INITIAL_THROTTLE

#define NAV_CATAPULT_INITIAL_THROTTLE   1.0

Definition at line 72 of file nav_catapult.c.

◆ NAV_CATAPULT_MOTOR_DELAY

#define NAV_CATAPULT_MOTOR_DELAY   0.75

Definition at line 60 of file nav_catapult.c.

◆ NAV_CATAPULT_TIMEOUT

#define NAV_CATAPULT_TIMEOUT   30.

Definition at line 80 of file nav_catapult.c.

Function Documentation

◆ nav_catapult_highrate_module()

◆ nav_catapult_init()

◆ nav_catapult_run()

Variable Documentation

◆ nav_catapult

struct nav_catapult_struct nav_catapult

Definition at line 1 of file nav_catapult.c.

Referenced by nav_catapult_highrate_module(), nav_catapult_init(), and nav_catapult_run().