mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-02 14:08:45 -04:00
Added Home Bearing
This commit is contained in:
parent
d9347290a4
commit
76d60a2111
@ -355,6 +355,7 @@ static bool nav_ok;
|
|||||||
static const float radius_of_earth = 6378100; // meters
|
static const float radius_of_earth = 6378100; // meters
|
||||||
static const float gravity = 9.81; // meters/ sec^2
|
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
|
static byte wp_control; // used to control - navgation or loiter
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user