Browse Source

Made Yaw Hold universal for Acro

mission-4.1.18
Jason Short 13 years ago
parent
commit
8ae53bffd2
  1. 4
      ArduCopter/system.pde

4
ArduCopter/system.pde

@ -206,7 +206,7 @@ static void init_ardupilot() @@ -206,7 +206,7 @@ static void init_ardupilot()
// identify ourselves correctly with the ground station
mavlink_system.sysid = g.sysid_this_mav;
mavlink_system.type = 2; //MAV_QUADROTOR;
#if LOGGING_ENABLED == ENABLED
DataFlash.Init();
if (!DataFlash.CardInserted()) {
@ -448,7 +448,7 @@ static void set_mode(byte mode) @@ -448,7 +448,7 @@ static void set_mode(byte mode)
switch(control_mode)
{
case ACRO:
yaw_mode = YAW_ACRO;
yaw_mode = YAW_HOLD;
roll_pitch_mode = ROLL_PITCH_ACRO;
throttle_mode = THROTTLE_MANUAL;
break;

Loading…
Cancel
Save