mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
Tracker: add nav_status comments
no functional impact
This commit is contained in:
parent
e0e534628b
commit
df827fdb8c
@ -104,16 +104,16 @@ static AP_Notify notify;
|
|||||||
|
|
||||||
// tracking status for MAVLink
|
// tracking status for MAVLink
|
||||||
static struct {
|
static struct {
|
||||||
float bearing;
|
float bearing; // bearing to vehicle in centi-degrees
|
||||||
float distance;
|
float distance; // distance to vehicle in meters
|
||||||
float pitch;
|
float pitch; // pitch to vehicle in degrees (positive means vehicle is above tracker, negative means below)
|
||||||
float altitude_difference;
|
float altitude_difference; // altitude difference between tracker and vehicle in meters. positive value means vehicle is above tracker
|
||||||
float altitude_offset;
|
float altitude_offset; // offset in meters which is added to tracker altitude to align altitude measurements with vehicle's barometer
|
||||||
bool manual_control_yaw:1;
|
bool manual_control_yaw : 1;// true if tracker yaw is under manual control
|
||||||
bool manual_control_pitch:1;
|
bool manual_control_pitch : 1;// true if tracker pitch is manually controlled
|
||||||
bool need_altitude_calibration:1;
|
bool need_altitude_calibration : 1;// true if tracker altitude has not been determined (true after startup)
|
||||||
bool scan_reverse_pitch:1;
|
bool scan_reverse_pitch : 1;// controls direction of pitch movement in SCAN mode
|
||||||
bool scan_reverse_yaw:1;
|
bool scan_reverse_yaw : 1;// controls direction of yaw movement in SCAN mode
|
||||||
} nav_status;
|
} nav_status;
|
||||||
|
|
||||||
static uint32_t start_time_ms;
|
static uint32_t start_time_ms;
|
||||||
|
Loading…
Reference in New Issue
Block a user