Diac Posted May 4, 2021 Share Posted May 4, 2021 Hi, The LoSetCommand function in Export.lua - can this be used to set a specific stick position etc. from e.g. an external script? From Export.lua located in the install folder: function LuaExportBeforeNextFrame() -- Works just before every simulation frame. -- Call Lo*() functions to set data to Lock On here -- For example: -- LoSetCommand(3, 0.25) -- rudder 0.25 right -- LoSetCommand(64) -- increase thrust end I am trying to make a more sophisticated autopilot for the MI-8, and I was initially planning to do it by extracting data by using the LoGet...() functions and send it to a python script, and use a virtual joystick to provide control inputs to DCS. If i can provide input to DCS directly by using LoSetCommand functions, I think that may be a better solution. 1 Link to comment Share on other sites More sharing options...
Diac Posted May 9, 2021 Author Share Posted May 9, 2021 Bump. Link to comment Share on other sites More sharing options...
iwalwila Posted January 10, 2023 Share Posted January 10, 2023 I'm interested on this too Link to comment Share on other sites More sharing options...
ArturDCS Posted November 28, 2023 Share Posted November 28, 2023 Bump. First off, I know almost nothing about LoSetCommand(). But I have added it together with the iCommands to dcs-insight. I would very much like to get some feedback whether it works as it should in dcs-insight. The idea was to make it easy to test different commands from a GUI. DCSFlightpanels dcs-insight dcs-bios DCSBIOSBridge BIOSBuddy Link to comment Share on other sites More sharing options...
Recommended Posts