Ardupilot2/libraries/AP_DDS/AP_DDS_config.h

19 lines
455 B
C
Raw Normal View History

#pragma once
#include <AP_HAL/AP_HAL_Boards.h>
2023-11-12 18:10:17 -04:00
#include <AP_Networking/AP_Networking_Config.h>
#ifndef AP_DDS_ENABLED
#define AP_DDS_ENABLED 1
#endif
// UDP only on SITL for now
#ifndef AP_DDS_UDP_ENABLED
2023-11-12 18:10:17 -04:00
#define AP_DDS_UDP_ENABLED AP_DDS_ENABLED && AP_NETWORKING_SOCKETS_ENABLED
#endif
#include <AP_VisualOdom/AP_VisualOdom_config.h>
#ifndef AP_DDS_VISUALODOM_ENABLED
#define AP_DDS_VISUALODOM_ENABLED HAL_VISUALODOM_ENABLED && AP_DDS_ENABLED
#endif