Skip to content

Commit d8ff842

Browse files
committed
added nl2br
1 parent e430134 commit d8ff842

9 files changed

+82
-24
lines changed

docs/LATA API.md renamed to docs/Command Line Interface and API.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ LATA can be used as an external application through the lata-cli client applicat
44
The client application makes direct use of the API. Both use the same parameters.
55

66
When used from outside of X-Plane, as an external application, LATA has some constraints.
7-
1. It needs to know the home or root folder where X-Plane is installed.
8-
2. It does not connect to X-Plane, so it is necessary to restart LST if it is running so that it sees the newly created files.
7+
1. If LATA is not installed at the recommended location, it needs to know the folder where X-Plane is installed.
8+
2. It does not connect to X-Plane, so it is necessary to restart LST from inside X-Plane so that it takes into account the newly created files.
9+
3. If run from another python installation or environment, required python packages need to be installed in that environment.
910

1011
Client application accepts `-h` or `--help` flag to provide general help or help specific to an operation.
1112

@@ -15,11 +16,12 @@ $ lata-cli -h                  
1516
usage: lata-cli [-h] {help,?,create,clean,lint} ...
1617

1718
positional arguments:
18-
  {help,?,create,clean,lint}
19+
  {help,?,create,clean,lint,list}
1920
    help (?)            help, print this help
20-
    create              create turnaround, taxi, or tow, or random movement
21-
    clean               clean airport movements or all
21+
    create              create turnaround, taxi, tow, or random movement
22+
    clean               clean all movements on an airport
2223
    lint                lint configuration files
24+
    list list possible and valid values for most elements (runways, ramps, aircraft types…)
2325

2426
options:
2527
  -h, --help            show this help message and exit
@@ -50,6 +52,7 @@ $ python lata-cli.py create turnaround OTHH arrival pax A35K A7 2023-10-08T00:15
5052

5153
```
5254

55+
The arrival or departure flag determines which operations get carried out. The passenger or cargo flag also. (There is no catering on a cargo flight, there more ULD loaders on cargo flights, etc.)
5356
# Taxi
5457

5558
```sh
@@ -120,6 +123,8 @@ $ python lata-cli.py create random turnaround EDDM
120123
$ python lata-cli.py create random turnaround EDDM
121124
```
122125

126+
When no time is specified, the movement will start immediately with the taxi-in movement of the aircraft from the runway to the gate (arrival on-block). Turnaround operations will then be synchronized based on the time of arrival of the aircraft at the gate.
127+
123128
## Random Taxi
124129

125130
```sh
@@ -159,4 +164,4 @@ The linter includes a gross *object library checker* that scans X-Plane library
159164
$ lata-cli list EBBR
160165
```
161166

162-
will list all valid values for runways, ramps, vehicles, aircraft types with model, and turn around services.
167+
will list all valid values for runways, ramps, vehicles, aircraft types with model, and turn around services.

docs/How It Works.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11

2-
The Little Airport Turnaround Activity (LATA) plugin or side application generates object movement files that can be processed by the [Living Scenery Technology](https://forums.x-plane.org/index.php?/files/file/82876-living-scenery-technology/) (LST) plugin.
2+
The Little Airport Turnaround Activity (LATA) plugin or side application generates object movement files that can be processed by the [Living Scenery Technology](https://forums.x-plane.org/index.php?/files/file/82876-living-scenery-technology/) (LST) plugin. It is a Living Scenery Technology *generator*.
33

4-
All files that LATA generates are placed in a new custom scenery folder called LATA and do not interfere with other sceneries. LST will find and load them when started and generate appropriate objects and their movements. LATA manages all generated files, including their removal when no longer needed.
4+
All files that LATA generates are placed in a custom scenery folder called LATA and do not interfere with other sceneries. LST will find and load those files when started and generate appropriate objects and their movements. LATA manages all generated files, including their removal when no longer needed.
55

66
LATA generates movement files based on user requests.
77

8-
[[Movements|Here]] are the movements of vehicles that can be generated by LATA.
8+
There are two methods to generate that activity. In X-Plane, [[User Interface|the LATA plugin interface]] allows for creation of one or more random turnarounds and vehicle moments, to quickly generate activity on the ground of the airport and around you. It is the simplest way to generate random activity.
9+
10+
LATA also has a [[Command Line Interface and API|client application]] that allows for creation of precise, scheduled and coordinated movements. In this case, it is necessary to supply information such as [[Movements|movement type]], ramp positions to use, and timing.
911

1012

1113

docs/Installation.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11

22
## Installation Requirements
33

4-
LATA is an application written in the python language. It will require a working copy of a recent python interpreter.
4+
LATA is an application and plugin written in the python language. It requires the XPPython3 X-Plane plugin.
55

66
## LATA Software Installation
77

8+
LATA is a Custom Scenery and needs to be installed as such.
9+
810
Download the latest version of LATA from [GitHub](https://github.com/devleaks/lata).
911

1012
Decompress the archive file into X-Plane Custom Scenery folder.
@@ -79,11 +81,11 @@ $ python lata-cli.py create turnaround LFBO arrival pax A321 F12 "2023-10-08T00:
7981
)
8082
```
8183

82-
LATA creates files for LST in the X-Plane 12/Custom Scenery/LATA folder.
84+
LATA creates files for LST in the `X-Plane/Custom Scenery/lata` folder.
8385

8486
```sh
8587

86-
$ ls X-Plane/Custom Scenery/Lata
88+
$ ls X-Plane/Custom Scenery/lata
8789
library
8890
LICENSE
8991
LST_LFBO_TAR_ARR_F12_A321_2310080015

docs/Movements.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
The following movements can be created with LATA.
2+
23
- Taxi from ramp to runway or runway to ramp
34
- Tow from one ramp to another
4-
- Trip from parking to destination
5-
- Turnaround which is in fact a collection of one or more individual Services.
6-
7-
A Service is a movement of a ground support equipment that provides a service to an aircraft.
5+
- Trip of a ground support vehicle from parking to destination
6+
- Turnaround, which is a collection of one or more individual Services. A Service is a movement of a ground support equipment that provides a service to an aircraft. That vehicle will spawn at a parking position, service the aircraft at its ramp, and then head to a destination position where it will vanish.
87

98
![[movements.png]]
109
# Taxi
@@ -60,9 +59,7 @@ A service support vehicle always travels from a X-Plane *parking* position, and
6059

6160
Taxi, tow, or turnarounds are scheduled according to aircraft arrival at gate (on-block time), or departure from gate (off-block time).
6261

63-
A condition of success for scheduling is that the event being planned must occur in the future time, relative to the simulator time. (Please recall that the simulator time is not necessarily the current real life time.)
64-
65-
If the event, for example a turnaround refueling, is scheduled to occur in the past, in respect of the local time, it is not created.
62+
A condition of success for scheduling is that the event being planned must occur in the future time, relative to the simulator time. (Please recall that the simulator time is not necessarily the current real life time.) If the event, for example a turnaround refueling, is scheduled to occur in the past, in respect of the local time, it is not created.
6663

6764
It is possible to either explicitly specify a movement time by supplying the aircraft on block or off block time, or to start the movement(s) immediately. In the later case, LATA will determine the on block or off block time based on the desired movements, the first vehicle that needs moving will start immediately creating some *activity*.
6865

docs/Parameters and Options.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@
44
## XPLANE_BASE
55
Home directory of X-Plane.
66

7-
LATA uses the folder to find miscellaneous X-Plane files like airport definitions and objects.
7+
LATA uses the folder to find X-Plane files like airport definitions and objects.
88

9-
LATA will create a Custom Scenery called LATA and will place its generated files in that directory for LST. On restart, LST will automagically find those new files and generate traffic accordingly.
9+
If LATA was not installed in the X-Plane Custom Scenery folder, LATA will create a Custom Scenery called LATA and will place its generated files in that directory for LST. On restart, LST will automagically find those new files and generate traffic accordingly.
10+
11+
> If you installed LATA in X-Plane Custom Scenery folder, there is no need to specify this parameter.
1012
1113
# Options
1214

@@ -15,6 +17,7 @@ Boolean, explicit.
1517

1618
## Cargo Flight Percentage
1719
Value between 0 and 100, to specify the ratio of passenger and cargo flights.
20+
When a flight is randomly generated, this parameter drives the type of the flight.
1821
Setting the cargo flight percentage to 25 will generate 75% passenger flights and 25% cargo flights.
1922

2023
## Closest Destination

docs/User Interface.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
2+
#### Little Airport Turnaround Activity
3+
4+
##### Generate 0-9 turnarounds
5+
- [ ] Close to me
6+
- [ ] Add aircraft
7+
- [ ] Include aircraft taxi
8+
(When turnaround has ended vehicles disappear.)
9+
10+
11+
##### Generate 0-19 random traffic routes
12+
- [ ] Passing by ramps next to me
13+
- [ ] Add one random tow
14+
(Recall that traffic routes are run over and over again.)
15+
16+
17+
[ Start ] [ Stop all LATA activity ]
18+
19+
##### Advanced
20+
- [ ] Monitor FPS
21+
- [ ]
22+
23+
##### Status (sample texts)
24+
6 turnarounds (with aircrafts and taxi) and 7 routes active.
25+
Problem generating traffic. See XPPython.log for more information.
26+
No taxiway routes, cannot generate taxi.
27+
No service roads. Cannot generate turnaround traffic.
28+
No or not enough parking or destinations at this airport.
29+
No or not enough ramp at this airport.
30+
Too many turnarounds requested. Spawning 4.
31+
Too much traffic requested. Spawning 5 vehicles.
32+
All traffic stopped.
33+
34+
S: ICAO;Tx:76/132/23gates,45tied;Sr:56/112/12park,23dest;Ac:6cl/34ac/3gsepro;Ta:8/8
35+
36+
[ Dismiss ]

docs/index.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,20 @@
11
# Welcome
22

3-
Little Airport Turnaround Activity (LATA) is a X-Plane plugin that generates animation on the ground of an airport.
3+
Little Airport Turnaround Activity (LATA) is a X-Plane scenery plugin that generates animation on the ground of an airport. Any airport.
44

55
The original goal is to generate turnaround activity around an aircraft, with the coordinated movement of ground support vehicles around the aircraft in timely fashion.
66

77
However, the flexibility of the plugin allow for a lot more generation of activity around the airport. It can generate activity around your aircraft, or any other aircraft at the airport. It can even animate aircrafts like any other model.
88

99
The plugin generates activity based on instructions it receives. It does not coordinates activities or even ground movements. It does not control ground traffic. Generated traffic may happily collide if instructed to do so.
1010

11-
This plug in only generate activity on the *ground of an airport*, on the taxiways and service roads of that airport. It does not generate activity in the surroundings, roads, highways or even water.
11+
This plug in only generate activity on the *ground of an airport*, on the taxiways and service roads of that airport. It does not generate activity in the surroundings, roads, highways or even water. LATA will not work if the airport does not have service roads.
1212

1313
[[How It Works|Here]] is a little explanation of how it works.
14+
15+
16+
17+
> [!NOTE] Title
18+
> Are call out converted with Dracula
19+
20+
Are call out converted with Dracula

docs/resources/Configuration Files.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,9 @@ The type of vehicle specified in the Service must match a vehicle type in the gr
2020

2121
## Service Position
2222

23-
A Service `precise-position` must match the name of a position in the GSE profile. If a precise-position cannot be found, another position for the service is used. If no position can be found, the center of the ramp is used.
23+
A Service `precise-position` must match the name of a position in the GSE profile. If a precise-position cannot be found, another position for the service is used. If no position can be found, the center of the ramp is used.
24+
25+
# Profile Fallback
26+
27+
For a given aircraft performing a turnaround, there is a sophisticate mechanism to find a suitable profile.
28+
LATA first tries to find a profile for the exact airplane. If none is found it tries to find a profile for an aircraft of the same class. Then for a generic narrow or wide body aircraft, and finally fall back on a large narrow body aircraft (class `C`) which is the default value if none is found.

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ theme:
2424

2525
# Extensions
2626
markdown_extensions:
27+
- nl2br
2728
- footnotes
2829
# - attr_list
2930
- pymdownx.arithmatex:

0 commit comments

Comments
 (0)