AP_Math: add conversions from metres to feet

This commit is contained in:
Peter Barker 2023-09-06 16:02:43 +10:00 committed by Peter Barker
parent 13195464d5
commit 40c4bf5d6a
1 changed files with 1 additions and 0 deletions

View File

@ -110,6 +110,7 @@ static const double WGS84_E = (sqrt(2 * WGS84_F - WGS84_F * WGS84_F));
// speed and distance conversions
#define KNOTS_TO_METERS_PER_SECOND 0.51444
#define FEET_TO_METERS 0.3048
#define METRES_TO_FEET 3.280839895013123
// Convert amps milliseconds to milliamp hours
// Amp.millisec to milliAmp.hour = 1/1E3(ms->s) * 1/3600(s->hr) * 1000(A->mA)