Skip to content

Commit

Permalink
AP_Scripting: docs for get_resistance
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker committed Jul 21, 2024
1 parent 6514a35 commit 56773f0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions libraries/AP_Scripting/docs/docs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 56773f0

Please sign in to comment.