![]() “Do not use Lua model scripts for controlling any aspect of your model that could cause a crash if script stops executing.” Now what does that mean exactly? It means that if you wanted to, you could write a lua script to take an input from, say a telemetry value like altitude, and use that to calculate something crazy like the throttle. I am going to quote the model script wiki verbatim as it is important and in a big font. The first thing I need to mention is that there are certain rules that you need to follow for a model script to be a “model” script. We’re talking about model scripts right now. Remember? There are two kinds of lua scripts: one time and modeling. ![]() In this course we are going to cover Model Scripting. We are all just getting started with this, unless you have been programming in lua, and then I have to wonder why you are spending time in this class. I have a couple of languages that I can say I was extremely proficient in at one time, but I don’t think that is the case anymore. There are so many languages to learn and becoming proficient takes time. ![]() I have been coding for over 30 years now and will not claim to be an expert at it. There are plenty of courses and classes on programming so I won’t spend much time going over the basics of coding unless it’s something I feel needs to be brought up. Your instructor: Isaac Davis (Fig Newton on RCGroups) Getting StartedĪll right class, now that we have the basic concept of what a lua script does and what they are capable of, let’s get the party started. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |