mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
Made Yaw Hold universal for Acro
This commit is contained in:
parent
32e7b075d9
commit
1851dd541b
@ -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)
|
||||
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…
Reference in New Issue
Block a user