Paparazzi UAS  v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
nav_catapult.h File Reference

catapult launch timing system More...

#include "std.h"
#include "paparazzi.h"
+ Include dependency graph for nav_catapult.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void nav_catapult_highrate_module (void)
 
bool_t nav_catapult_setup (void)
 
bool_t nav_catapult_arm (void)
 
bool_t nav_catapult_run (uint8_t _to, uint8_t _climb)
 
bool_t nav_catapult_disarm (void)
 
bool_t nav_select_touch_down (uint8_t _td)
 

Variables

float nav_catapult_motor_delay
 
float nav_catapult_acceleration_threshold
 
float nav_catapult_heading_delay
 
float nav_catapult_initial_pitch
 
float nav_catapult_initial_throttle
 

Detailed Description

catapult launch timing system

  • Phase 1: Zero Roll, Climb Pitch, Zero Throttle
  • Phase 2: After detecting the Start Acceleration
    Zero Roll, Climb Pitch, Full Throttle
  • Phase 3: After getting the GPS heading (time based)
    Place climb 300m in front of us
    GoTo(climb)

Definition in file nav_catapult.h.

Function Documentation

bool_t nav_catapult_arm ( void  )
bool_t nav_catapult_disarm ( void  )
bool_t nav_catapult_setup ( void  )

Definition at line 134 of file nav_catapult.c.

References FALSE, nav_catapult_armed, nav_catapult_launch, and TRUE.

bool_t nav_select_touch_down ( uint8_t  _td)

Definition at line 198 of file nav_catapult.c.

References UtmCoor_f::alt, FALSE, stateGetPositionEnu_f(), stateGetPositionUtm_f(), WaypointAlt, WaypointX, WaypointY, EnuCoor_f::x, and EnuCoor_f::y.

+ Here is the call graph for this function:

Variable Documentation

float nav_catapult_acceleration_threshold

Definition at line 61 of file nav_catapult.c.

Referenced by nav_catapult_highrate_module().

float nav_catapult_heading_delay

Definition at line 73 of file nav_catapult.c.

Referenced by nav_catapult_highrate_module(), and nav_catapult_run().

float nav_catapult_initial_pitch

Definition at line 79 of file nav_catapult.c.

Referenced by nav_catapult_run().

float nav_catapult_initial_throttle

Definition at line 85 of file nav_catapult.c.

Referenced by nav_catapult_highrate_module(), and nav_catapult_run().

float nav_catapult_motor_delay

Definition at line 67 of file nav_catapult.c.

Referenced by nav_catapult_highrate_module(), and nav_catapult_run().