2026-04-03 17:52:02 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <cstdint>
|
|
|
|
|
|
2026-04-06 03:39:08 +01:00
|
|
|
#ifdef PS
|
|
|
|
|
#undef PS
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifdef F
|
|
|
|
|
#undef F
|
|
|
|
|
#endif
|
|
|
|
|
|
2026-04-06 00:27:32 +01:00
|
|
|
#include "drone_comms.h"
|
|
|
|
|
#include "freertos/idf_additions.h"
|
2026-04-06 03:39:08 +01:00
|
|
|
#include <Eigen/Dense>
|
2026-04-06 00:27:32 +01:00
|
|
|
|
2026-04-03 17:52:02 +01:00
|
|
|
void handle_packet(uint8_t *packet_addr);
|
2026-04-06 00:27:32 +01:00
|
|
|
|
|
|
|
|
inline SemaphoreHandle_t controller_input_semaphore = NULL;
|
|
|
|
|
inline packet_controller_input current_controller_input;
|