31 lines
669 B
C
31 lines
669 B
C
#ifndef GPS_SYSTEM_UART_H
|
|
#define GPS_SYSTEM_UART_H
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
#include "fusion/navigation_fusion.h"
|
|
#include "gps/NavEquations.h"
|
|
|
|
void gps_system_uart_publish_location(
|
|
const char* source,
|
|
double latitude_deg,
|
|
double longitude_deg,
|
|
double height_m,
|
|
const gps_nav_solution_t* gps);
|
|
|
|
void gps_system_uart_publish_fused_location(
|
|
const navigation_fusion_output_t* output);
|
|
|
|
void gps_system_uart_publish_startup(
|
|
bool fusion_enabled,
|
|
bool fusion_initialized,
|
|
bool imu_initialized,
|
|
bool imu_running);
|
|
|
|
void gps_system_uart_publish_periodic_fusion_status(
|
|
navigation_fusion_output_t* output,
|
|
uint64_t* last_status_tick);
|
|
|
|
#endif
|