Search found 3 matches
- Sat May 07, 2022 3:48 am
- Forum: openTx
- Topic: Help with updating a curve point at run time with Lua script
- Replies: 0
- Views: 1279
Help with updating a curve point at run time with Lua script
I would like to change a point on a curve using a lua script triggered by a trim switch. I am not sure on the syntax to do this. I started with: local FM local FMname local createRes local function init_func() end local function run_func() FM, FMname = getFlightMode() local curveVal = model.getCurve...
- Thu Nov 01, 2018 11:51 pm
- Forum: General help (FrSky Taranis radio)
- Topic: Can I copy logical switches from one model to another in FROS?
- Replies: 0
- Views: 2138
Can I copy logical switches from one model to another in FROS?
I have one model setup with eight logical switches and special functions and want them to copy to eight other models. Is there a way to do this without re-entering all the configuration for each model?
- Wed Feb 15, 2017 1:52 am
- Forum: openTx
- Topic: OpenTx 2.1.9 Lua script Haptic access
- Replies: 0
- Views: 1391
OpenTx 2.1.9 Lua script Haptic access
I have a Taranis X9D Plus and am trying to get a Hapic call to work in a mix lua script. If I remove the comment on the playHaptic line the script fails. Any advice how to make haptic work in the script? Here is the script: local channelValue = 0 local duration -- local targetTime not declared so it...