11 #include "generated/airframe.h"
14 #define FORM_MODE_GLOBAL 0
15 #define FORM_MODE_COURSE 1
35 extern int add_slot(
uint8_t _id,
float slot_e,
float slot_n,
float slot_a);
51 if (ac_id == AC_ID) {
leader_id = leader; }
60 float slot_east = DL_FORMATION_SLOT_slot_east(
dl_buffer);
61 float slot_north = DL_FORMATION_SLOT_slot_north(
dl_buffer);
62 float slot_alt = DL_FORMATION_SLOT_slot_alt(
dl_buffer);
63 updateSlot(ac_id, slot_east, slot_north, slot_alt);
Handling of messages coming from ground and other A/Cs.
uint8_t dl_buffer[MSG_SIZE]
uint8_t ti_acs_id[NB_ACS_ID]