mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Finished beginner section
This commit is contained in:
@@ -9,5 +9,50 @@ nav_order: 04
|
||||
1. Table of contents
|
||||
{:toc}
|
||||
|
||||
{: .warning }
|
||||
> THIS DOCUMENT IS STILL WORK IN PROGRESS!
|
||||
The best way to get compftable with a Moose class is to try the demo missions of
|
||||
the class you want to learn. The Moose team created a lot of demo missions for
|
||||
most of the classes.
|
||||
|
||||
## Download demo missions
|
||||
|
||||
Go to the repository [MOOSE_MISSIONS]{:target="_blank"}, search the folder of
|
||||
the class, download the mission (`.miz`) and rum them.
|
||||
|
||||
## Read the mission script
|
||||
|
||||
In the same folder a `.lua` file with the same name is placed which is the
|
||||
included mission script. You can watch these mission scripts easily online at
|
||||
GitHub to understand what is happening in the mission.
|
||||
|
||||
## Read documentation
|
||||
|
||||
Next step is to read the [documentation]{:target="_blank"} of the class to
|
||||
understand the code of the demo mission.
|
||||
|
||||
{: .note }
|
||||
> The documentation is quite long and might be confusing for beginners.
|
||||
> Start by looking at the description at the top of the documentation of a
|
||||
> class. It often contains examples and explanations. <br /><br />
|
||||
> Then search for the function names and look at the description of the
|
||||
> functions and its parameters.
|
||||
|
||||
## Make small changes to the script
|
||||
|
||||
Download the `.lua` file, change the parameters to suit your needs in
|
||||
[Notepad++]{:target="_blank"}, add it to the mission and rerun the mission.
|
||||
Observe what happens and adapt the code.
|
||||
|
||||
If you want to use more functions combine them all up.
|
||||
|
||||
{: .note }
|
||||
> But it is wise to do this in small steps. So it is easier to find errors.
|
||||
|
||||
## Next step
|
||||
|
||||
If the mission shows not the expected behaviour take a look at section
|
||||
[problems].
|
||||
|
||||
[MOOSE_MISSIONS]: https://github.com/FlightControl-Master/MOOSE_MISSIONS/tree/develop
|
||||
[documentation]: https://flightcontrol-master.github.io/MOOSE_DOCS_DEVELOP/Documentation/index.html
|
||||
[Notepad++]: https://notepad-plus-plus.org/downloads/
|
||||
[problems]: problems.md
|
||||
|
||||
Reference in New Issue
Block a user