1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-26 09:45:21 +03:00
Commit graph

39 commits

Author SHA1 Message Date
3djc
f436f4bbe4 Follow ups 2021-07-26 08:50:00 +02:00
3djc
c06b789f5c
Multi module config support (#8438)
* Multi module configuration

Co-authored-by: Pascal Langer <pascal_langer@yahoo.fr>
2021-05-05 15:46:29 +02:00
Bertrand Songis
72feef3911
All my comments from the PR fixed. Still missing the Companion part 2021-02-01 23:02:52 +01:00
Jesper Frickmann
a9179d1357
Updated documentation for getSensor (#8161) 2020-12-13 08:19:31 +01:00
3djc
19b4c687ee cosmetics 2020-12-09 18:28:44 +01:00
Jesper Frickmann
b320e9f884
Added model.resetSensor(sensor) function
Issue #7562
2020-12-03 19:53:34 -05:00
3djc
099d5cb30c
Fix insertMix (#8066) 2020-10-30 17:00:17 +01:00
3djc
fcedcb9c56
LUA improvement (#7878)
Add FM handling to LUA
2020-08-28 17:05:40 +02:00
3djc
8ae2f4f782
Multi channels naming tool (#7538)
Mostly-authored-by: Pascal Langer <planger@mathworks.com>
2020-04-22 19:23:32 +02:00
3djc
e26abb5650 Fix #7428 2020-03-08 11:54:34 +01:00
3djc
40d57a8853
Add name handling to LUA timer functions (#7358)
Add timer name to LUA timer functions
2020-02-06 14:36:21 +01:00
Bertrand Songis
82577ed621
Module subType fixes 2019-09-03 21:04:37 +02:00
Bertrand Songis
1efd3cbefa
Cosmetics 2019-06-13 17:14:59 +02:00
lshems
747e6131bc Update api_model.cpp (#6492)
Added carryTrim to input API's
2019-06-13 17:07:07 +02:00
Bertrand Songis
d5ce54047c The script for SBEC now searches for a SBEC sensor 2019-04-01 18:48:14 +02:00
3djc
04c95d2fdb LUA : Add curves to inputs 2018-10-12 07:34:56 +02:00
Arne Schwabe
c99dc375e8 Fix setting x values < 0 for custom curves (fixes #6026)
Also accept bool for smooth parameter as the documentation suggest
2018-07-13 09:36:30 +02:00
Arne Schwabe
129bbe2198 Fix getcurve reporting 0 as first x value instead of -100 2017-07-07 23:44:23 +02:00
Arne Schwabe
1ae8e40a3f Fix setCurve not probably working for custom curves
ypoints used for x instead of xpoints
2017-07-01 01:55:31 +02:00
Arne Schwabe
2ae0472f76 Minor fixes to lua dua 2017-05-28 09:48:34 +02:00
Arne Schwabe
cd23fedb56 Schwabe/lua set curve (#4955)
* Implement setCurve for lua

* Bug fixes after actual testing of API

* Fix documentation

* Even more error checking

* Add example code how to use this function

* Silence gcc warnings

* Drop points and start array index at 1 and note about wrong index in getCurve

* Add standard example

* Fixes

* Don’t use an invalid number in example

* fix missing 0
2017-05-28 07:30:43 +02:00
Bertrand Songis
53f55f8e1d Fixes #4399: problem getting/setting curve on output with Lua (#4455) 2017-02-15 21:25:08 +01:00
Damjan Adamic
be61e07939 Lua documentation update 2017-02-11 19:08:55 +01:00
Damjan Adamic
b493973d7d Lua: Use incremental GC and also call it for Widgets (#4369)
Fixes #3885: Error in Lua Widget options handled better (does not disable entire Lua state)
Disable Lua Widget if any of its functions has error.
2017-02-04 10:58:06 +01:00
Damjan Adamic
2e12b6401f Re #3719: documentation updated for model.setLogicalSwitch() - how to set "and" parameter (previous commit was wrong). 2017-01-14 16:18:19 +01:00
Damjan Adamic
85306a0d91 Re #3719: documentation updated for model.getLogicalSwitch() - how to set "and" parameter. 2017-01-14 16:05:59 +01:00
Damjan Adamic
d6d91b5798 Fixes #4129: error in lua documentation of model.setGlobalVariable for flight mode parameter 2016-12-16 19:21:38 +01:00
Bertrand Songis
82d6b96f8b X7D renamed to X7 2016-12-12 07:39:51 +01:00
Damjan Adamic
4233e71954 Lua docs updated 2016-12-11 20:11:56 +01:00
Bertrand Songis
d58244ebde Bsongis/lua interpreter added on x7d (#3999)
* [X7D] Lua option added (only standalone scripts)

* [X7D] Compilation fix

* [X7D] Compilation fix

* [X7D] Compilation fix

* [X7D] Compilation fix
2016-11-10 21:41:16 +01:00
Bertrand Songis
d3ae3c035d Bsongis/gui refactoring for x7 d (#3701)
* [X7D] New board added
* Cosmetics
2016-08-18 11:49:16 +02:00
Bertrand Songis
ecff71b044 Cosmetics 2016-03-25 12:54:35 +01:00
Damjan Adamic
29b8b2685c Fixes #3285: only first 32 input lines (out of 64) were accessible in Lua 2016-02-15 21:50:57 +01:00
Bertrand Songis
e8aaa67450 [Horus] GUI continued - #3159
[GVars] Refactoring continued - #3185
2016-01-14 07:41:30 +01:00
Bertrand Songis
71f08998dd [Horus] No more errors in Lua interface compilation 2015-11-25 21:50:12 +01:00
Damjan Adamic
788035b0e3 Lua documentation update 2015-11-16 22:46:07 +01:00
Damjan Adamic
d1e9bf8e98 Lua documentation update 2015-11-16 19:52:59 +01:00
Bertrand Songis
de733579d5 Merge remote-tracking branch 'origin/next' into Horus
# Conflicts:
#	companion/src/CMakeLists.txt
#	companion/src/firmwares/opentx/opentxinterface.cpp
#	companion/src/firmwares/opentx/simulator/CMakeLists.txt
#	companion/src/firmwares/opentx/stamp-opentx.h.in
#	radio/src/Makefile
#	radio/src/cli.cpp
#	radio/src/gui/Taranis/helpers.cpp
#	radio/src/gui/Taranis/lcd.cpp
#	radio/src/gui/Taranis/menu_model_setup.cpp
#	radio/src/gui/Taranis/view_main.cpp
#	radio/src/lua_api.cpp
#	radio/src/main_avr.cpp
#	radio/src/myeeprom.h
#	radio/src/opentx.cpp
#	radio/src/pulses/pxx_arm.cpp
#	radio/src/storage/eeprom_conversions.cpp
#	radio/src/targets/Horus/adc_driver.cpp
#	radio/src/targets/Horus/board_horus.cpp
#	radio/src/targets/Horus/board_horus.h
#	radio/src/targets/Horus/diskio.cpp
#	radio/src/targets/Horus/hal.h
#	radio/src/targets/Horus/haptic_driver.cpp
#	radio/src/targets/Horus/i2c_driver.cpp
#	radio/src/targets/Horus/keys_driver.cpp
#	radio/src/targets/Horus/lcd_driver.cpp
#	radio/src/targets/Horus/led_driver.cpp
#	radio/src/targets/Horus/pulses_driver.cpp
#	radio/src/targets/Horus/pwr_driver.c
#	radio/src/targets/Horus/sdio_sd.c
#	radio/src/targets/Horus/sdio_sd.h
#	radio/src/targets/Horus/serial2_driver.cpp
#	radio/src/targets/Horus/telemetry_driver.cpp
#	radio/src/targets/Horus/usb_conf.h
#	radio/src/targets/Horus/usbd_desc.c
#	radio/src/targets/Horus/usbd_storage_msd.cpp
2015-11-15 23:08:34 +01:00
Damjan Adamic
d54f25ccba Lua api and interface lua_api.cpp moved to lua dir and split into several files 2015-11-15 12:05:53 +01:00