energy changed a lot

This commit is contained in:
sun
2019-08-13 22:36:26 +08:00
parent 05527de9e2
commit 9d94de939b
32 changed files with 282 additions and 1363 deletions

View File

@@ -30,52 +30,45 @@
#ifndef ARMOR_CAMERA_GAIN
#define ARMOR_CAMERA_GAIN (30)
#define ARMOR_CAMERA_GAIN (64)
#endif
#ifndef ENERGY_CAMERA_GAIN
#define ENERGY_CAMERA_GAIN (20)
#define ENERGY_CAMERA_GAIN (30)
#endif
#ifndef ROBOT_ID
#define ROBOT_ID (0)
#ifndef YAW_AIM_KD
#define YAW_AIM_KD (0.4)
#endif
#ifndef YAW_AIM_KP
#define YAW_AIM_KP (0.75)
#endif
#ifndef YAW_AIM_KI
#define YAW_AIM_KI (0.01)
#endif
#ifndef PITCH_AIM_KD
#define PITCH_AIM_KD (0.4)
#endif
#ifndef PITCH_AIM_KP
#define PITCH_AIM_KP (0.75)
#endif
#ifndef PITCH_AIM_KI
#define PITCH_AIM_KI (0.01)
#endif
#ifndef SMALL_YAW_AIM_KD
#define SMALL_YAW_AIM_KD (0.35)
#ifndef RED_COMPENSATE_YAW
#define RED_COMPENSATE_YAW (5)
#endif
#ifndef SMALL_YAW_AIM_KP
#define SMALL_YAW_AIM_KP (0.85)
#ifndef RED_COMPENSATE_PITCH
#define RED_COMPENSATE_PITCH (74)
#endif
#ifndef SMALL_PITCH_AIM_KD
#define SMALL_PITCH_AIM_KD (0.35)
#ifndef BLUE_COMPENSATE_YAW
#define BLUE_COMPENSATE_YAW (5)
#endif
#ifndef SMALL_PITCH_AIM_KP
#define SMALL_PITCH_AIM_KP (0.85)
#endif
#ifndef BIG_YAW_AIM_KD
#define BIG_YAW_AIM_KD (0.35)
#endif
#ifndef BIG_YAW_AIM_KP
#define BIG_YAW_AIM_KP (0.85)
#endif
#ifndef BIG_YAW_AIM_KI
#define BIG_YAW_AIM_KI (0)
#endif
#ifndef BIG_PITCH_AIM_KD
#define BIG_PITCH_AIM_KD (0.35)
#endif
#ifndef BIG_PITCH_AIM_KP
#define BIG_PITCH_AIM_KP (0.85)
#endif
#ifndef BIG_PITCH_AIM_KI
#define BIG_PITCH_AIM_KI (0)
#endif
#ifndef COMPENSATE_YAW
#define COMPENSATE_YAW (5)
#endif
#ifndef COMPENSATE_PITCH
#define COMPENSATE_PITCH (74)
#ifndef BLUE_COMPENSATE_PITCH
#define BLUE_COMPENSATE_PITCH (74)
#endif
#ifndef EXTRA_DELTA_X
#define EXTRA_DELTA_X (0)
#endif