From a2549c5d6b009dbb7141388b686cb6236227c48b Mon Sep 17 00:00:00 2001 From: TsuyoshiKawamura Date: Fri, 8 Mar 2024 18:21:49 +0900 Subject: [PATCH] AP_Motors: fix comment of HeliQuad --- libraries/AP_Motors/AP_MotorsHeli_Quad.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Motors/AP_MotorsHeli_Quad.cpp b/libraries/AP_Motors/AP_MotorsHeli_Quad.cpp index da956f2dbf..af66de81db 100644 --- a/libraries/AP_Motors/AP_MotorsHeli_Quad.cpp +++ b/libraries/AP_Motors/AP_MotorsHeli_Quad.cpp @@ -126,7 +126,7 @@ void AP_MotorsHeli_Quad::calculate_scalars() void AP_MotorsHeli_Quad::calculate_roll_pitch_collective_factors() { // assume X quad layout, with motors at 45, 135, 225 and 315 degrees - // order FrontRight, RearLeft, FrontLeft, RearLeft + // order FrontRight, RearLeft, FrontLeft, RearRight const float angles[AP_MOTORS_HELI_QUAD_NUM_MOTORS] = { 45, 225, 315, 135 }; const bool x_clockwise[AP_MOTORS_HELI_QUAD_NUM_MOTORS] = { false, false, true, true }; const float cos45 = cosf(radians(45));