energy changed

This commit is contained in:
sun
2019-08-04 01:12:51 +08:00
parent 199feb3ba9
commit 977de37b14
10 changed files with 302 additions and 187 deletions

View File

@@ -29,25 +29,37 @@
#define ARMOR_CAMERA_GAIN (30)
#endif
#ifndef ENERGY_CAMERA_GAIN
#define ENERGY_CAMERA_GAIN (30)
#define ENERGY_CAMERA_GAIN (20)
#endif
#ifndef YAW_AIM_KD
#define YAW_AIM_KD (0)
#ifndef SMALL_YAW_AIM_KD
#define SMALL_YAW_AIM_KD (1.5)
#endif
#ifndef YAW_AIM_KP
#define YAW_AIM_KP (6)
#ifndef SMALL_YAW_AIM_KP
#define SMALL_YAW_AIM_KP (2.5)
#endif
#ifndef YAW_AIM_KI
#define YAW_AIM_KI (0.1)
#ifndef SMALL_PITCH_AIM_KD
#define SMALL_PITCH_AIM_KD (1.3)
#endif
#ifndef PITCH_AIM_KD
#define PITCH_AIM_KD (0)
#ifndef SMALL_PITCH_AIM_KP
#define SMALL_PITCH_AIM_KP (2.4)
#endif
#ifndef PITCH_AIM_KP
#define PITCH_AIM_KP (6)
#ifndef BIG_YAW_AIM_KD
#define BIG_YAW_AIM_KD (0.7)
#endif
#ifndef PITCH_AIM_KI
#define PITCH_AIM_KI (0.1)
#ifndef BIG_YAW_AIM_KP
#define BIG_YAW_AIM_KP (4.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 (0.7)
#endif
#ifndef BIG_PITCH_AIM_KP
#define BIG_PITCH_AIM_KP (4.5)
#endif
#ifndef BIG_PITCH_AIM_KI
#define BIG_PITCH_AIM_KI (0.1)
#endif
#ifndef COMPENSATE_YAW
#define COMPENSATE_YAW (5)