2 * \file ardrone_common_config.h
3 * \brief Ardrone Specific data for configuration
4 * \author Sylvain Gaeremynck <sylvain.gaeremynck@parrot.com>
8 #ifndef _ARDRONE_COMMON_CONFIG_H_
9 #define _ARDRONE_COMMON_CONFIG_H_
11 #define CURRENT_NUM_VERSION_CONFIG 1
13 #define CAMIF_NUM_BUFFERS 2
14 #define COM_INPUT_LANDING_TIME (2) /* Time drone is waiting for input before landing */
18 * \brief mask to choose where to syslog
28 * \brief ADC commands.
32 ADC_CMD_STARTACQ = 1, /**< command to start acquisition with ADC **/
33 ADC_CMD_STOPACQ = 2, /**< command to stop acquisition with ADC **/
34 ADC_CMD_RESYNC = 3, /**< command to resync acquisition with ADC **/
35 ADC_CMD_TEST = 4, /**< command to ADC send a test frame (123456) **/
36 ADC_CMD_VERSION = 5, /**< command to ADC send his number : version (MSB) subversion (LSB) **/
37 ADC_CMD_SELECT_ULTRASOUND_22Hz = 7, /**set the ultrasound at 22,22Hz **/
38 ADC_CMD_SELECT_ULTRASOUND_25Hz = 8, /**set the ultrasound at 25Hz **/
39 ADC_CMD_SEND_CALIBRE = 13, /**command to ADC to send the calibration **/
40 ADC_CMD_RECEVED_CALIBRE = 14, /**command to ADC to receved a new calibration **/
41 ADC_CMD_GET_HARD_VERSION = 15, /**get the hard version of the navboard **/
42 ADC_CMD_ACTIVE_SEPARATION = 16, /**enabled the separation of sources ultrasound **/
43 ADC_CMD_STOP_SEPARATION = 17, /**disables the ultrasound source separation **/
44 ADC_CMD_RECEVED_PROD = 18, /**command to ADC to receved the prod data **/
45 ADC_CMD_SEND_PROD = 19, /**command to ADC to send the prod data **/
46 ADC_CMD_ACTIVE_ETALONAGE = 20, /**command to ADC to send PWM ultrasond in continue **/
47 ADC_CMD_ACTIVE_ULTRASON = 21, /**command to ADC to stop send PWM ultrasond in continue **/
48 ADC_CMD_ACTIVE_TEST_ULTRASON = 22, /**teste de la perturbation de l'ultrason par le wifi **/
52 #endif // _ARDRONE_COMMON_CONFIG_H_