Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
ctc_target.c File Reference
#include <math.h>
#include <std.h>
#include <stdio.h>
#include "modules/multi/ctc/ctc_target.h"
#include "modules/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

◆ CTC_MAX_AC

#define CTC_MAX_AC   4

Max expected number of aircraft

Definition at line 35 of file ctc_target.c.

Function Documentation

◆ ctc_target_init()

void ctc_target_init ( void  )

Definition at line 40 of file ctc_target.c.

References CTC_MAX_AC, and tableNei.

◆ ctc_target_send_info_to_nei()

void ctc_target_send_info_to_nei ( void  )

Definition at line 47 of file ctc_target.c.

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

+ Here is the call graph for this function:

◆ parse_ctc_target_CleanTable()

void parse_ctc_target_CleanTable ( void  )

Definition at line 83 of file ctc_target.c.

References CTC_MAX_AC, dl_buffer, and tableNei.

◆ parse_ctc_target_RegTable()

void parse_ctc_target_RegTable ( void  )

Definition at line 70 of file ctc_target.c.

References CTC_MAX_AC, dl_buffer, and tableNei.

Variable Documentation

◆ tableNei