#ifndef _SETCONFIG_H_
#define _SETCONFIG_H_


#ifdef WITH_CONFIG
    #include <config/config.h>
#else
    #warning "Without config.h"
#endif

#ifndef CAMERA_EXPOSURE
    #define CAMERA_EXPOSURE     (10)
#endif

#ifndef CAMERA_RED_GAIN
    #define CAMERA_RED_GAIN     (100)
#endif

#ifndef CAMERA_GREEN_GAIN
    #define CAMERA_GREEN_GAIN   (100)
#endif

#ifndef CAMERA_BLUE_GAIN
    #define CAMERA_BLUE_GAIN    (100)
#endif


#ifndef ARMOR_CAMERA_GAIN
    #define ARMOR_CAMERA_GAIN   (30)
#endif
#ifndef ENERGY_CAMERA_GAIN
    #define ENERGY_CAMERA_GAIN  (20)
#endif
#ifndef SMALL_YAW_AIM_KD
    #define SMALL_YAW_AIM_KD (1.5)
#endif
#ifndef SMALL_YAW_AIM_KP
    #define SMALL_YAW_AIM_KP (2.5)
#endif
#ifndef SMALL_PITCH_AIM_KD
    #define SMALL_PITCH_AIM_KD (1.3)
#endif
#ifndef SMALL_PITCH_AIM_KP
    #define SMALL_PITCH_AIM_KP (2.4)
#endif
#ifndef BIG_YAW_AIM_KD
    #define BIG_YAW_AIM_KD (1)
#endif
#ifndef BIG_YAW_AIM_KP
    #define BIG_YAW_AIM_KP (5.5)
#endif
#ifndef BIG_YAW_AIM_KI
    #define BIG_YAW_AIM_KI (0.1)
#endif
#ifndef BIG_PITCH_AIM_KD
    #define BIG_PITCH_AIM_KD (1)
#endif
#ifndef BIG_PITCH_AIM_KP
    #define BIG_PITCH_AIM_KP (5.5)
#endif
#ifndef BIG_PITCH_AIM_KI
    #define BIG_PITCH_AIM_KI (0.1)
#endif
#ifndef COMPENSATE_YAW
    #define COMPENSATE_YAW (5)
#endif
#ifndef COMPENSATE_PITCH
    #define COMPENSATE_PITCH (74)
#endif
#ifndef EXTRA_DELTA_X
    #define EXTRA_DELTA_X (10)
#endif
#ifndef EXTRA_DELTA_Y
    #define EXTRA_DELTA_Y (10)
#endif

//#define GIMBAL_FLIP_MODE    (-1)
//#define CHASSIS_FLIP_MODE   (-1)
//#define WITH_TIME_BASED_CAMERA_GAIN
#define WITH_COUNT_FPS

#endif /* SETCONFIG_H */
