mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 15:53:56 -04:00
AP_Math: Add AUS_TO_MAH definition
This commit is contained in:
parent
10b4eebce4
commit
fd3c83c0d1
@ -112,3 +112,6 @@ static const double WGS84_E = (sqrt(2 * WGS84_F - WGS84_F * WGS84_F));
|
||||
// Convert amps milliseconds to milliamp hours
|
||||
// Amp.millisec to milliAmp.hour = 1/1E3(ms->s) * 1/3600(s->hr) * 1000(A->mA)
|
||||
#define AMS_TO_MAH 0.000277777778f
|
||||
|
||||
// Amps microseconds to milliamp hours
|
||||
#define AUS_TO_MAH 0.0000002778f
|
||||
|
Loading…
Reference in New Issue
Block a user