diff --git a/control.cpp b/control.cpp index 6c67795..00a4a67 100644 --- a/control.cpp +++ b/control.cpp @@ -39,12 +39,12 @@ Control::PIDParameters::PIDParameters() : thrust_master{1.0, 0.0, 0.0, 0.0, 0.005, 0.005, 1.0}, - pitch_master{5.0, 1.0, 0.0, 10.0, 0.005, 0.005, 10.0}, - roll_master{5.0, 1.0, 0.0, 10.0, 0.005, 0.005, 10.0}, + pitch_master{10.0, 1.0, 0.0, 10.0, 0.005, 0.005, 10.0}, + roll_master{10.0, 1.0, 0.0, 10.0, 0.005, 0.005, 10.0}, yaw_master{5.0, 1.0, 0.0, 10.0, 0.005, 0.005, 180.0}, thrust_slave{1.0, 0.0, 0.0, 10.0, 0.001, 0.001, 0.3}, - pitch_slave{20.0, 8.0, 0.0, 30.0, 0.001, 0.001, 30.0}, - roll_slave{20.0, 8.0, 0.0, 30.0, 0.001, 0.001, 30.0}, + pitch_slave{10.0, 4.0, 0.0, 30.0, 0.001, 0.001, 30.0}, + roll_slave{10.0, 4.0, 0.0, 30.0, 0.001, 0.001, 30.0}, yaw_slave{30.0, 5.0, 0.0, 20.0, 0.001, 0.001, 240.0}, pid_bypass{BYPASS_THRUST_MASTER | BYPASS_THRUST_SLAVE | BYPASS_YAW_MASTER} // AHRS/Horizon mode { diff --git a/version.h b/version.h index b8ff404..556cd0c 100644 --- a/version.h +++ b/version.h @@ -15,7 +15,7 @@ #include "debug.h" #define FIRMWARE_VERSION_A 1 -#define FIRMWARE_VERSION_B 3 +#define FIRMWARE_VERSION_B 4 #define FIRMWARE_VERSION_C 0 struct __attribute__((packed)) Version {