Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Path: blob/master/libraries/AP_DDS/AP_DDS_config.h
Views: 1798
#pragma once12#include <AP_HAL/AP_HAL_Boards.h>3#include <AP_Networking/AP_Networking_Config.h>45#ifndef AP_DDS_ENABLED6#define AP_DDS_ENABLED 17#endif89// UDP only on SITL for now10#ifndef AP_DDS_UDP_ENABLED11#define AP_DDS_UDP_ENABLED AP_DDS_ENABLED && AP_NETWORKING_ENABLED12#endif1314#include <AP_VisualOdom/AP_VisualOdom_config.h>15#ifndef AP_DDS_VISUALODOM_ENABLED16#define AP_DDS_VISUALODOM_ENABLED HAL_VISUALODOM_ENABLED && AP_DDS_ENABLED17#endif1819// Whether experimental interfaces are enabled.20#ifndef AP_DDS_EXPERIMENTAL_ENABLED21#define AP_DDS_EXPERIMENTAL_ENABLED 122#endif2324#ifndef AP_DDS_IMU_PUB_ENABLED25#define AP_DDS_IMU_PUB_ENABLED AP_DDS_EXPERIMENTAL_ENABLED26#endif2728#ifndef AP_DDS_DELAY_IMU_TOPIC_MS29#define AP_DDS_DELAY_IMU_TOPIC_MS 530#endif3132#ifndef AP_DDS_TIME_PUB_ENABLED33#define AP_DDS_TIME_PUB_ENABLED 134#endif3536#ifndef AP_DDS_DELAY_TIME_TOPIC_MS37#define AP_DDS_DELAY_TIME_TOPIC_MS 1038#endif3940#ifndef AP_DDS_NAVSATFIX_PUB_ENABLED41#define AP_DDS_NAVSATFIX_PUB_ENABLED 142#endif4344#ifndef AP_DDS_STATIC_TF_PUB_ENABLED45#define AP_DDS_STATIC_TF_PUB_ENABLED 146#endif4748#ifndef AP_DDS_GPS_GLOBAL_ORIGIN_PUB_ENABLED49#define AP_DDS_GPS_GLOBAL_ORIGIN_PUB_ENABLED 150#endif5152#ifndef AP_DDS_DELAY_GPS_GLOBAL_ORIGIN_TOPIC_MS53#define AP_DDS_DELAY_GPS_GLOBAL_ORIGIN_TOPIC_MS 100054#endif5556#ifndef AP_DDS_GEOPOSE_PUB_ENABLED57#define AP_DDS_GEOPOSE_PUB_ENABLED 158#endif5960#ifndef AP_DDS_DELAY_GEO_POSE_TOPIC_MS61#define AP_DDS_DELAY_GEO_POSE_TOPIC_MS 3362#endif6364#ifndef AP_DDS_LOCAL_POSE_PUB_ENABLED65#define AP_DDS_LOCAL_POSE_PUB_ENABLED 166#endif6768#ifndef AP_DDS_DELAY_LOCAL_POSE_TOPIC_MS69#define AP_DDS_DELAY_LOCAL_POSE_TOPIC_MS 3370#endif7172#ifndef AP_DDS_LOCAL_VEL_PUB_ENABLED73#define AP_DDS_LOCAL_VEL_PUB_ENABLED 174#endif7576#ifndef AP_DDS_DELAY_LOCAL_VELOCITY_TOPIC_MS77#define AP_DDS_DELAY_LOCAL_VELOCITY_TOPIC_MS 3378#endif7980#ifndef AP_DDS_AIRSPEED_PUB_ENABLED81#define AP_DDS_AIRSPEED_PUB_ENABLED 182#endif8384#ifndef AP_DDS_DELAY_AIRSPEED_TOPIC_MS85#define AP_DDS_DELAY_AIRSPEED_TOPIC_MS 3386#endif8788#ifndef AP_DDS_BATTERY_STATE_PUB_ENABLED89#define AP_DDS_BATTERY_STATE_PUB_ENABLED 190#endif9192#ifndef AP_DDS_DELAY_BATTERY_STATE_TOPIC_MS93#define AP_DDS_DELAY_BATTERY_STATE_TOPIC_MS 100094#endif9596#ifndef AP_DDS_DELAY_STATUS_TOPIC_MS97#define AP_DDS_DELAY_STATUS_TOPIC_MS 10098#endif99100#ifndef AP_DDS_CLOCK_PUB_ENABLED101#define AP_DDS_CLOCK_PUB_ENABLED 1102#endif103104#ifndef AP_DDS_DELAY_CLOCK_TOPIC_MS105#define AP_DDS_DELAY_CLOCK_TOPIC_MS 10106#endif107108#ifndef AP_DDS_GOAL_PUB_ENABLED109#define AP_DDS_GOAL_PUB_ENABLED 1110#endif111112#ifndef AP_DDS_DELAY_GOAL_TOPIC_MS113#define AP_DDS_DELAY_GOAL_TOPIC_MS 200114#endif115#ifndef AP_DDS_STATUS_PUB_ENABLED116#define AP_DDS_STATUS_PUB_ENABLED 1117#endif118119#ifndef AP_DDS_JOY_SUB_ENABLED120#define AP_DDS_JOY_SUB_ENABLED 1121#endif122123#ifndef AP_DDS_VEL_CTRL_ENABLED124#define AP_DDS_VEL_CTRL_ENABLED 1125#endif126127#ifndef AP_DDS_GLOBAL_POS_CTRL_ENABLED128#define AP_DDS_GLOBAL_POS_CTRL_ENABLED 1129#endif130131#ifndef AP_DDS_DYNAMIC_TF_SUB_ENABLED132#define AP_DDS_DYNAMIC_TF_SUB_ENABLED 1133#endif134135#ifndef AP_DDS_ARM_SERVER_ENABLED136#define AP_DDS_ARM_SERVER_ENABLED 1137#endif138139#ifndef AP_DDS_MODE_SWITCH_SERVER_ENABLED140#define AP_DDS_MODE_SWITCH_SERVER_ENABLED 1141#endif142143#ifndef AP_DDS_VTOL_TAKEOFF_SERVER_ENABLED144#define AP_DDS_VTOL_TAKEOFF_SERVER_ENABLED 1145#endif146147#ifndef AP_DDS_PARAMETER_SERVER_ENABLED148#define AP_DDS_PARAMETER_SERVER_ENABLED 1149#endif150151#ifndef AP_DDS_ARM_CHECK_SERVER_ENABLED152#define AP_DDS_ARM_CHECK_SERVER_ENABLED 1153#endif154155// Whether to include Twist support156#define AP_DDS_NEEDS_TWIST AP_DDS_VEL_CTRL_ENABLED || AP_DDS_LOCAL_VEL_PUB_ENABLED157158// Whether to include Transform support159#define AP_DDS_NEEDS_TRANSFORMS AP_DDS_DYNAMIC_TF_SUB_ENABLED || AP_DDS_STATIC_TF_PUB_ENABLED160161#ifndef AP_DDS_DEFAULT_UDP_IP_ADDR162#if CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS163#define AP_DDS_DEFAULT_UDP_IP_ADDR "192.168.144.2"164#else165#define AP_DDS_DEFAULT_UDP_IP_ADDR "127.0.0.1"166#endif167#endif168169#ifndef AP_DDS_PARTICIPANT_NAME170#define AP_DDS_PARTICIPANT_NAME "ap"171#endif172173174