mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-13 10:03:57 -03:00
AP_Motors: fix comment of HeliQuad
This commit is contained in:
parent
fba1e68ef4
commit
a2549c5d6b
@ -126,7 +126,7 @@ void AP_MotorsHeli_Quad::calculate_scalars()
|
|||||||
void AP_MotorsHeli_Quad::calculate_roll_pitch_collective_factors()
|
void AP_MotorsHeli_Quad::calculate_roll_pitch_collective_factors()
|
||||||
{
|
{
|
||||||
// assume X quad layout, with motors at 45, 135, 225 and 315 degrees
|
// 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 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 bool x_clockwise[AP_MOTORS_HELI_QUAD_NUM_MOTORS] = { false, false, true, true };
|
||||||
const float cos45 = cosf(radians(45));
|
const float cos45 = cosf(radians(45));
|
||||||
|
Loading…
Reference in New Issue
Block a user