mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-20 15:48:29 -04:00
Common: add location alt max definition
This commit is contained in:
parent
a0932d1d0b
commit
d1d778652b
@ -70,6 +70,8 @@
|
|||||||
#define ToRad(x) radians(x) // *pi/180
|
#define ToRad(x) radians(x) // *pi/180
|
||||||
#define ToDeg(x) degrees(x) // *180/pi
|
#define ToDeg(x) degrees(x) // *180/pi
|
||||||
|
|
||||||
|
#define LOCATION_ALT_MAX_M 83000 // maximum altitude (in meters) that can be fit into Location structure's alt field
|
||||||
|
|
||||||
/*
|
/*
|
||||||
check if bit bitnumber is set in value, returned as a
|
check if bit bitnumber is set in value, returned as a
|
||||||
bool. Bitnumber starts at 0 for the first bit
|
bool. Bitnumber starts at 0 for the first bit
|
||||||
|
Loading…
Reference in New Issue
Block a user