Browse Source

removed the on-the-ground limitation for setting simple mode bearing.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1841 f9c3cf11-9bcb-44bc-f272-b75c42450872
mission-4.1.18
jasonshort 14 years ago
parent
commit
e8c40234a6
  1. 4
      ArduCopterMega/system.pde

4
ArduCopterMega/system.pde

@ -462,10 +462,10 @@ void @@ -462,10 +462,10 @@ void
init_simple_bearing()
{
if(simple_bearing_is_set == false){
if(g.rc_3.control_in == 0){
//if(g.rc_3.control_in == 0){
// we are on the ground
initial_simple_bearing = dcm.yaw_sensor;
simple_bearing_is_set = true;
}
//}
}
}

Loading…
Cancel
Save