Go to the source code of this file.
Defines | |
#define | ARDRONE_CONFIG_KEY_IMM_a10(KEY, NAME, INI_TYPE, C_TYPE, C_TYPE_PTR, RW, RW_CUSTOM, DEFAULT, CALLBACK, CATEGORY) { if(0!=strcmp(KEY,"custom") && CATEGORY==CAT_COMMON && ((RW & K_WRITE) != 0 || (RW_CUSTOM & K_WRITE) != 0)) SEND_PARAM_NUM(NAME,CATEGORY,DEFAULT) } |
#define | ARDRONE_CONFIG_KEY_IMM_a10(KEY, NAME, INI_TYPE, C_TYPE, C_TYPE_PTR, RW, RW_CUSTOM, DEFAULT, CALLBACK, CATEGORY) { if(0!=strcmp(KEY,"custom") && CATEGORY!=CAT_COMMON && ((RW & K_WRITE) != 0 || (RW_CUSTOM & K_WRITE) != 0)) SEND_PARAM_NUM(NAME,CATEGORY,DEFAULT) } |
#define | ARDRONE_CONFIG_KEY_REF_a10(KEY, NAME, INI_TYPE, C_TYPE, C_TYPE_PTR, RW, RW_CUSTOM, DEFAULT, CALLBACK, CATEGORY) |
#define | ARDRONE_CONFIG_KEY_STR_a10(KEY, NAME, INI_TYPE, C_TYPE, C_TYPE_PTR, RW, RW_CUSTOM, DEFAULT, CALLBACK, CATEGORY) { if(0!=strcmp(KEY,"custom") && CATEGORY==CAT_COMMON && ((RW & K_WRITE) != 0 || (RW_CUSTOM & K_WRITE) != 0)) SEND_PARAM_STR(NAME,CATEGORY,DEFAULT) } |
#define | ARDRONE_CONFIG_KEY_STR_a10(KEY, NAME, INI_TYPE, C_TYPE, C_TYPE_PTR, RW, RW_CUSTOM, DEFAULT, CALLBACK, CATEGORY) { if(0!=strcmp(KEY,"custom") && CATEGORY!=CAT_COMMON && ((RW & K_WRITE) != 0 || (RW_CUSTOM & K_WRITE) != 0)) SEND_PARAM_STR(NAME,CATEGORY,DEFAULT) } |
#define | NAVDATA_STRUCTS_INITIALIZE |
#define | SEND_PARAM_NUM(NAME, CATEGORY, DEFAULT) |
#define | SEND_PARAM_STR(NAME, CATEGORY, DEFAULT) |
#define ARDRONE_CONFIG_KEY_IMM_a10 | ( | KEY, | |
NAME, | |||
INI_TYPE, | |||
C_TYPE, | |||
C_TYPE_PTR, | |||
RW, | |||
RW_CUSTOM, | |||
DEFAULT, | |||
CALLBACK, | |||
CATEGORY | |||
) | { if(0!=strcmp(KEY,"custom") && CATEGORY==CAT_COMMON && ((RW & K_WRITE) != 0 || (RW_CUSTOM & K_WRITE) != 0)) SEND_PARAM_NUM(NAME,CATEGORY,DEFAULT) } |
Definition at line 42 of file snippet_configure_drone.h.
#define ARDRONE_CONFIG_KEY_IMM_a10 | ( | KEY, | |
NAME, | |||
INI_TYPE, | |||
C_TYPE, | |||
C_TYPE_PTR, | |||
RW, | |||
RW_CUSTOM, | |||
DEFAULT, | |||
CALLBACK, | |||
CATEGORY | |||
) | { if(0!=strcmp(KEY,"custom") && CATEGORY!=CAT_COMMON && ((RW & K_WRITE) != 0 || (RW_CUSTOM & K_WRITE) != 0)) SEND_PARAM_NUM(NAME,CATEGORY,DEFAULT) } |
Definition at line 42 of file snippet_configure_drone.h.
#define ARDRONE_CONFIG_KEY_REF_a10 | ( | KEY, | |
NAME, | |||
INI_TYPE, | |||
C_TYPE, | |||
C_TYPE_PTR, | |||
RW, | |||
RW_CUSTOM, | |||
DEFAULT, | |||
CALLBACK, | |||
CATEGORY | |||
) |
Definition at line 31 of file snippet_configure_drone.h.
#define ARDRONE_CONFIG_KEY_STR_a10 | ( | KEY, | |
NAME, | |||
INI_TYPE, | |||
C_TYPE, | |||
C_TYPE_PTR, | |||
RW, | |||
RW_CUSTOM, | |||
DEFAULT, | |||
CALLBACK, | |||
CATEGORY | |||
) | { if(0!=strcmp(KEY,"custom") && CATEGORY==CAT_COMMON && ((RW & K_WRITE) != 0 || (RW_CUSTOM & K_WRITE) != 0)) SEND_PARAM_STR(NAME,CATEGORY,DEFAULT) } |
Definition at line 43 of file snippet_configure_drone.h.
#define ARDRONE_CONFIG_KEY_STR_a10 | ( | KEY, | |
NAME, | |||
INI_TYPE, | |||
C_TYPE, | |||
C_TYPE_PTR, | |||
RW, | |||
RW_CUSTOM, | |||
DEFAULT, | |||
CALLBACK, | |||
CATEGORY | |||
) | { if(0!=strcmp(KEY,"custom") && CATEGORY!=CAT_COMMON && ((RW & K_WRITE) != 0 || (RW_CUSTOM & K_WRITE) != 0)) SEND_PARAM_STR(NAME,CATEGORY,DEFAULT) } |
Definition at line 43 of file snippet_configure_drone.h.
#define NAVDATA_STRUCTS_INITIALIZE |
Definition at line 54 of file snippet_configure_drone.h.
#define SEND_PARAM_NUM | ( | NAME, | |
CATEGORY, | |||
DEFAULT | |||
) |
{ \ if(ardrone_application_default_config.NAME!=DEFAULT) \ { \ ROS_INFO(" SEND: "#CATEGORY"/"#NAME" = %f (DEFAULT = %f)", (float)ardrone_application_default_config.NAME, (float)DEFAULT); \ ARDRONE_TOOL_CONFIGURATION_ADDEVENT (NAME, &ardrone_application_default_config.NAME, NULL); \ } \ }
Definition at line 12 of file snippet_configure_drone.h.
#define SEND_PARAM_STR | ( | NAME, | |
CATEGORY, | |||
DEFAULT | |||
) |
{ \ if(0!=strcmp(ardrone_application_default_config.NAME,DEFAULT)) \ { \ ROS_INFO("SEND: "#CATEGORY"/"#NAME" = %s (DEFAULT = %s)", ardrone_application_default_config.NAME, DEFAULT); \ ARDRONE_TOOL_CONFIGURATION_ADDEVENT (NAME, ardrone_application_default_config.NAME, NULL); \ } \ }
Definition at line 21 of file snippet_configure_drone.h.