Skip to content

Commit

Permalink
AP_Scripting: added logging to EFI_Halo6000.lua driver
Browse files Browse the repository at this point in the history
allows for log analysis of current/voltage
  • Loading branch information
tridge committed Sep 20, 2023
1 parent c352de2 commit e43064b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions libraries/AP_Scripting/drivers/EFI_Halo6000.lua
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,11 @@ local function engine_control()

efi_state:last_updated_ms(millis())

-- Set the EFI_State into the EFI scripting driver
efi_backend:handle_scripting(efi_state)
-- Set the EFI_State into the EFI scripting driver
efi_backend:handle_scripting(efi_state)

logger.write('H6K','Curr,Volt,CoolT,CylT,FuelPct', 'fffff',
out_current, out_volt, cool_temp, cyl_temp, fuel_pct)
end

-- update telemetry output for extra telemetry values
Expand Down

0 comments on commit e43064b

Please sign in to comment.