rmackay9
(rmackay9)
February 16, 2023, 2:35am
1
Here are the slides for the Feb 2023 update presented by Tridge, Randy and other dev team members at this month’s ArduPilot Partners meeting
The images above are of the RunCam2 4k camera and the DJI RS2 handheld gimbal both of which AP now supports in “latest” and in the upcoming 4.4 release.
As always thanks very much to our Partners for their support and engagement!
3 Likes
Amazing! Where can I read more about generator throttle script?
Cheers
rmackay9
(rmackay9)
February 20, 2023, 3:33am
3
@danielhellin ,
I think @tridge and @peterbarker know the most about the generator scripts but until then, here is AP’s generator wiki page and here is the directory with at least two electronic fuel injection drivers (written in Lua) .
tridge
(tridge)
February 20, 2023, 4:46am
4
@danielhellin the generator control script is here:
--[[
control throttle on a generator to achieve a target battery voltage
This is meant to replace throttle governors on some hybrid drone
generators. It monitors battery voltage and controls the throttle
of the generator to maintain a target voltage using a PI controller
--]]
-- luacheck: only 0
UPDATE_RATE_HZ = 10
-- setup a parameter block
local PARAM_TABLE_KEY = 73
local PARAM_TABLE_PREFIX = 'GENCTL_'
assert(param:add_table(PARAM_TABLE_KEY, PARAM_TABLE_PREFIX, 30), 'could not add param table')
-- bind a parameter to a variable
function bind_param(name)
local p = Parameter()
This file has been truncated. show original
1 Like