Skip to content

Commit

Permalink
ArgenTech: re-enable Q_ASSIST_SPEED
Browse files Browse the repository at this point in the history
This actually seems like a good idea to have since Q_ASSIST_ALT kicks on
and off when there is terrain.
  • Loading branch information
robertlong13 committed Apr 9, 2024
1 parent bc2435a commit ed196f5
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions libraries/AP_Scripting/applets/engine_out.lua
Original file line number Diff line number Diff line change
Expand Up @@ -597,13 +597,6 @@ local function configure_tecs(glide)
gcs:send_text(5, 'Error: could not read ' .. 'Q_OPTIONS')
end

--[[
Disable Q_ASSIST_SPEED, since it is easy to get stuck underspeed at a high
altitude and not be able to recover once the engine is off. Q_ASSIST_ANGLE
and Q_ASSIST_ALT should be enough during this emergency.
--]]
tecsParamGroup:set_parameter("Q_ASSIST_SPEED", 0.1)

-- This script relies on Q_ASSIST_ALT and Q_ASSIST_ANGLE, but they will
-- not be used if Q_ASSIST_SPEED is <= 0. Ensure it is > 0.
local q_assist_speed = tecsParamGroup:get_backup("Q_ASSIST_SPEED") or 0
Expand Down

0 comments on commit ed196f5

Please sign in to comment.