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
traffic_info.c File Reference

Information relative to the other aircrafts. More...

#include <inttypes.h>
#include "subsystems/navigation/traffic_info.h"
#include "generated/airframe.h"
+ Include dependency graph for traffic_info.c:

Go to the source code of this file.

Functions

void traffic_info_init (void)
 
struct ac_info_get_ac_info (uint8_t id)
 

Variables

uint8_t acs_idx
 
uint8_t the_acs_id [NB_ACS_ID]
 
struct ac_info_ the_acs [NB_ACS]
 

Detailed Description

Information relative to the other aircrafts.

Definition in file traffic_info.c.

Function Documentation

struct ac_info_* get_ac_info ( uint8_t  id)

Definition at line 45 of file traffic_info.c.

References the_acs, and the_acs_id.

Referenced by cam_ac_target(), formation_flight(), nav_follow(), potential_task(), tcas_periodic_task_4Hz(), and tcas_test_direction().

+ Here is the caller graph for this function:

void traffic_info_init ( void  )

Definition at line 37 of file traffic_info.c.

References ac_info_::ac_id, acs_idx, the_acs, and the_acs_id.

Referenced by init_ap().

+ Here is the caller graph for this function:

Variable Documentation

uint8_t acs_idx

Definition at line 33 of file traffic_info.c.

Referenced by traffic_info_init().