mirror of
https://github.com/nasa/trick.git
synced 2024-12-18 20:57:55 +00:00
Add SIM_lander README to explain what it is, and how to use. REF#997
This commit is contained in:
parent
18d9060510
commit
0abe830903
43
trick_sims/SIM_lander/README.md
Normal file
43
trick_sims/SIM_lander/README.md
Normal file
@ -0,0 +1,43 @@
|
||||
# SIM_lander
|
||||
![Graphics CLient Showing Lander on the ground](images/Lander.png)
|
||||
|
||||
|
||||
SIM_lander simulates a lunar lander, with manual and automatic controls.
|
||||
|
||||
### Building the Simulation
|
||||
In the SIM\_lander directory, type **trick-CP** to build the simulation executable. When it's complete, you should see:
|
||||
|
||||
```
|
||||
=== Simulation make complete ===
|
||||
```
|
||||
Now **cd** into models/graphics/ and type **make**. This builds the display client for the simulation.
|
||||
|
||||
### Running the Simulation
|
||||
In the SIM_lander directory:
|
||||
|
||||
```
|
||||
% S_main_*.exe RUN_test/input.py
|
||||
```
|
||||
The Sim Control Panel, and a GUI called "Lander Range" should appear.
|
||||
|
||||
Click the Start on the Trick Sim Control Panel.
|
||||
|
||||
![Graphics CLient Showing Lander on the ground](images/LanderInitial.png)
|
||||
|
||||
Using the controls shown below have fun!
|
||||
|
||||
|
||||
|
||||
![Graphics CLient Showing Lander on the ground](images/ManualControlPanel.png)
|
||||
|
||||
![Graphics CLient Showing Lander on the ground](images/AutomaticControlPanel.png)
|
||||
|
||||
## Initial Conditions
|
||||
To set the initial state of the lander, edit the following variables in the input file.
|
||||
|
||||
Variable | Type | Units
|
||||
------------------------------------------|----------------|-------
|
||||
dyn.lander.pos | double[2] | m
|
||||
dyn.lander.vel | double[2] | m
|
||||
dyn.lander.angle | double | rad
|
||||
dyn.lander.angleDot | double | rad/s
|
BIN
trick_sims/SIM_lander/images/AutomaticControlPanel.png
Normal file
BIN
trick_sims/SIM_lander/images/AutomaticControlPanel.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
BIN
trick_sims/SIM_lander/images/Lander.png
Normal file
BIN
trick_sims/SIM_lander/images/Lander.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
BIN
trick_sims/SIM_lander/images/LanderInitial.png
Normal file
BIN
trick_sims/SIM_lander/images/LanderInitial.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 390 KiB |
BIN
trick_sims/SIM_lander/images/ManualControlPanel.png
Normal file
BIN
trick_sims/SIM_lander/images/ManualControlPanel.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 25 KiB |
Loading…
Reference in New Issue
Block a user