Do you have a LUA script for displaying the position of the 4WS (front wheel, 4ws, crab steer), dig position, gear position (2 speed gear box)?
@arminrc
3 ай бұрын
Sorry, currently I do not have such a script. Usually I write/develop the script when needed. The only script type which has access to the LCD is the telemetry script. The problem I see here: how should the script know what mode is currently active?
@funeralatpizzahut
3 ай бұрын
is it possible to change the default switch positions on the MT12? i know on a flight radio it is in the model settings but I can't find the same setting on the MT12. I want to change the default switch position for the SA switch
@arminrc
3 ай бұрын
Please check out the model menu and there the SETUP page. Then expand the "Pre-start Checks" group. The text has a little arrow on the right border of the screen. The array can be "clicked". Then you will find an entry "S-Warning". Maybe this is what you are looking for.
@Darrens_RC_Adventures
3 ай бұрын
I keep getting Syntax error, bad argument #1 to ‘getValue’ (string expected, got nil) Do you know how I can fix this?
@arminrc
3 ай бұрын
The "getValue" function accepts the ID of the "sensor" from which the value should be retrieved. This ID on the other hand is retrieved in the init - function (lines 40 and 46 in the script of the video). Since you getting the error you mentioned I assume that you provide the wrong sensor name to the "getFieldInfo" functions. Please remember that the values/names shown in the video are for my setup. Yours may differ!
@Darrens_RC_Adventures
3 ай бұрын
@@arminrcthank you. I’m new to this so trying to learn. Where do I find the correct id for the sensors?
@arminrc
3 ай бұрын
@@Darrens_RC_Adventures On the telemetry screen in the model menu. There you may have to "expand" the sensor list.
@Darrens_RC_Adventures
3 ай бұрын
@@arminrc than you, I’ve found it now. Will try it again.
@choekstr
3 ай бұрын
I'm so surprised you haven't added the script to either the video notes or somewhere so people can download it and modify as needed. In the meantime, I'll be transcoding this letter by letter from the video....ugh
@arminrc
3 ай бұрын
Yeah, sometimes you have to do some work by yourself.
@choekstr
3 ай бұрын
@@arminrc haha, true. ChatGPT got me most of the script and then I just tweaked the sensorInfo portion as it's solution was a bit off on the value it returned for RxBt (my sensor name). Thanks for the great content and making it easy to digest and follow a fairly complex topic.
@arminrc
3 ай бұрын
Maybe I should do one final video showing how you can use ChatGPT to write the scripts and then close down the channel. For what good should this endeauver be if the computer can do all the work?
@choekstr
3 ай бұрын
@@arminrc I mean it's a common issue among the programming community with AI replacing jobs and especially in programming. To be fair it used delay() which threw an error, I asked it to fix the code since delay isn't implemented and it chose a different method which wasn't valid and a 3rd try and it still got it wrong so I referred to your video and moved everything from init down into run and then it wasn't refreshing every millisecond and using up all the cpu of the transmitter. So the AI code is much less than perfect, so for now your channel is safe :)
@arminrc
3 ай бұрын
Thanks! I played around with AI-Scriptgeneration and the output it is quite amazing. But as you say: without manual "override" the scripts are virtually unusable.
Пікірлер: 16