Paparazzi UAS  v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ctc_target.c File Reference
#include <math.h>
#include <std.h>
#include <stdio.h>
#include "modules/multi/ctc/ctc_target.h"
#include "subsystems/datalink/telemetry.h"
#include "firmwares/rotorcraft/navigation.h"
#include "autopilot.h"
+ Include dependency graph for ctc_target.c:

Go to the source code of this file.

Macros

#define CTC_MAX_AC   4
 

Functions

void ctc_target_init (void)
 
void ctc_target_send_info_to_nei (void)
 
void parse_ctc_target_RegTable (void)
 
void parse_ctc_target_CleanTable (void)
 

Variables

int16_t tableNei [CTC_MAX_AC][6]
 

Macro Definition Documentation

#define CTC_MAX_AC   4

Max expected number of aircraft

Definition at line 35 of file ctc_target.c.

Referenced by ctc_target_init(), ctc_target_send_info_to_nei(), parse_ctc_target_CleanTable(), and parse_ctc_target_RegTable().

Function Documentation

void ctc_target_init ( void  )

Definition at line 40 of file ctc_target.c.

References CTC_MAX_AC, and tableNei.

void ctc_target_send_info_to_nei ( void  )

Definition at line 47 of file ctc_target.c.

References CTC_MAX_AC, DefaultChannel, DefaultDevice, p, stateGetPositionEnu_f(), stateGetSpeedEnu_f(), tableNei, EnuCoor_f::x, and EnuCoor_f::y.

+ Here is the call graph for this function:

void parse_ctc_target_CleanTable ( void  )

Definition at line 83 of file ctc_target.c.

References ac_id, CTC_MAX_AC, dl_buffer, and tableNei.

void parse_ctc_target_RegTable ( void  )

Definition at line 70 of file ctc_target.c.

References ac_id, CTC_MAX_AC, dl_buffer, and tableNei.

Variable Documentation