mavlink VFR_HUD message fixed, minor fixes and cleanup

This commit is contained in:
Anton Babushkin
2013-08-22 18:05:30 +02:00
parent bb91484b26
commit 41fac46ff0
4 changed files with 17 additions and 17 deletions
@@ -610,7 +610,7 @@ int position_estimator_inav_thread_main(int argc, char *argv[])
if (local_pos.v_xy_valid) {
global_pos.vx = local_pos.vx;
global_pos.vy = local_pos.vy;
global_pos.hdg = atan2f(local_pos.vy, local_pos.vx);
global_pos.hdg = atan2f(local_pos.vy, local_pos.vx); // TODO is it correct?
}
if (local_pos.z_valid) {