AP_Scripting: docs for get_resistance

This commit is contained in:
Peter Barker 2024-07-17 18:02:51 +10:00 committed by Peter Barker
parent 6514a3522b
commit 56773f09b4
1 changed files with 5 additions and 0 deletions

View File

@ -3147,6 +3147,11 @@ function battery:current_amps(instance) end
---@return number -- resting voltage
function battery:voltage_resting_estimate(instance) end
-- Returns the estimated internal battery resistance in Ohms
---@param instance integer -- battery instance
---@return number -- estimated internal resistance in Ohms
function battery:get_resistance(instance) end
-- Returns the voltage of the selected battery instance.
---@param instance integer -- battery instance
---@return number -- voltage