Added Home Bearing

This commit is contained in:
Jason Short 2011-12-09 15:49:41 -08:00
parent d9347290a4
commit 76d60a2111

View File

@ -355,6 +355,7 @@ static bool nav_ok;
static const float radius_of_earth = 6378100; // meters
static const float gravity = 9.81; // meters/ sec^2
static int32_t target_bearing; // deg * 100 : 0 to 360 location of the plane to the target
static int32_t home_bearing; // used to track difference in angle
static byte wp_control; // used to control - navgation or loiter