Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
nav_drop.h File Reference

Navigation module to drop a ball at a given point taking into account the wind and ground speed. More...

#include "std.h"
#include "firmwares/fixedwing/nav.h"
Include dependency graph for nav_drop.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NavDropComputeApproach(_target, _start, _radius)
#define NavDropUpdateRelease(_wp)
#define NavDropShoot()
#define NavDropCloseHatch()
#define NavDropAligned()

Functions

unit_t nav_drop_compute_approach (uint8_t wp_target, uint8_t wp_start, uint8_t wp_baseturn, uint8_t wp_climbout, float radius)
unit_t nav_drop_update_release (uint8_t wp_target)
unit_t nav_drop_shoot (void)
bool compute_alignment (uint8_t w1, uint8_t w2, uint8_t start, uint8_t end, float d_before, float d_after)

Variables

float nav_drop_trigger_delay
float nav_drop_start_qdr

Detailed Description

Navigation module to drop a ball at a given point taking into account the wind and ground speed.

Definition in file nav_drop.h.

Macro Definition Documentation

◆ NavDropAligned

#define NavDropAligned ( )
Value:
Qdr(DegOfRad(nav_drop_qdr_aligned))

Definition at line 46 of file nav_drop.h.

◆ NavDropCloseHatch

#define NavDropCloseHatch ( )
Value:
({ command_set(COMMAND_HATCH, MIN_PPRZ); })
#define MIN_PPRZ
Definition paparazzi.h:9

Definition at line 45 of file nav_drop.h.

◆ NavDropComputeApproach

#define NavDropComputeApproach ( _target,
_start,
_radius )
Value:
nav_drop_compute_approach(_target, _start, _radius)
unit_t nav_drop_compute_approach(uint8_t wp_target, uint8_t wp_start, uint8_t wp_baseturn, uint8_t wp_climbout, float radius)

Definition at line 42 of file nav_drop.h.

◆ NavDropShoot

#define NavDropShoot ( )
Value:
unit_t nav_drop_shoot(void)

Definition at line 44 of file nav_drop.h.

◆ NavDropUpdateRelease

#define NavDropUpdateRelease ( _wp)
Value:
unit_t nav_drop_update_release(uint8_t wp_target)

Definition at line 43 of file nav_drop.h.

Function Documentation

◆ compute_alignment()

bool compute_alignment ( uint8_t w1,
uint8_t w2,
uint8_t start,
uint8_t end,
float d_before,
float d_after )
extern

◆ nav_drop_compute_approach()

unit_t nav_drop_compute_approach ( uint8_t wp_target,
uint8_t wp_start,
uint8_t wp_baseturn,
uint8_t wp_climbout,
float radius )
extern

◆ nav_drop_shoot()

unit_t nav_drop_shoot ( void )
extern

◆ nav_drop_update_release()

unit_t nav_drop_update_release ( uint8_t wp_target)
extern

Variable Documentation

◆ nav_drop_start_qdr

float nav_drop_start_qdr

Definition at line 39 of file nav_drop.h.

◆ nav_drop_trigger_delay

float nav_drop_trigger_delay
extern