mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-02 05:58:30 -04:00
Added Home Bearing
This commit is contained in:
parent
d9347290a4
commit
76d60a2111
@ -354,7 +354,8 @@ static bool did_ground_start = false; // have we ground started after first ar
|
||||
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 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user