diff --git a/src/Parafoil/Configs/WingConfig.h b/src/Parafoil/Configs/WingConfig.h index afa6ad074a599f1325f644ae25dfa9d6a326439e..2216b26695f3f6366b811c7a8d4e3dfd6a7011ed 100644 --- a/src/Parafoil/Configs/WingConfig.h +++ b/src/Parafoil/Configs/WingConfig.h @@ -45,7 +45,7 @@ constexpr auto TARGET_UPDATE_RATE = 10_hz; constexpr auto STRAIGHT_FLIGHT_TIMEOUT = 15_s; constexpr auto PROGRESSIVE_ROTATION_TIMEOUT = 5_s; constexpr auto COMMAND_PERIOD = 6_s; -constexpr auto WING_DECREMENT = 30_deg; +constexpr auto WING_DECREMENT = 20_deg; /** * @brief The available algorithms for the wing controller. diff --git a/src/Parafoil/StateMachines/WingController/WingController.cpp b/src/Parafoil/StateMachines/WingController/WingController.cpp index 3d47f9f0688a170e57262f85c5edb0be4a63774b..e88ef98d93dcb56f00018f1971c6f637f5e0eb83 100644 --- a/src/Parafoil/StateMachines/WingController/WingController.cpp +++ b/src/Parafoil/StateMachines/WingController/WingController.cpp @@ -498,7 +498,7 @@ void WingController::loadAlgorithms() step.timestamp = Microsecond{PROGRESSIVE_ROTATION_TIMEOUT}.value(); - for (auto angle = 150_deg; angle >= 0_deg; angle -= WING_DECREMENT) + for (auto angle = 80_deg; angle >= 0_deg; angle -= WING_DECREMENT) { step.servo1Angle = angle; step.servo2Angle = 0_deg;