Skip to content

Commit 234b167

Browse files
committed
Resolve conflict
2 parents e6b9409 + ffaeec0 commit 234b167

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+12003
-9894
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,4 +365,5 @@ ASALocalRun/
365365
healthchecksdb
366366

367367
# Backup folder for Package Reference Convert tool in Visual Studio 2017
368-
MigrationBackup/
368+
MigrationBackup/
369+
/Source/RunActivity/Properties/launchSettings.json

Docs/Architecture.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,29 @@
11
# Open Rails Architecture
22

3-
This document will describe the overall structure of Open Rails and how we expect different areas of the program to work together.
3+
This document describes the overall structure of Open Rails and how we expect different areas of the program to work together.
4+
5+
## Player application model
6+
7+
The player application model describes the desired components and their relationships which make up Open Rails. Each of these will be formed from one or more libraries, as needed, and each library may contain distinct but critically linked subfunctions.
8+
9+
```mermaid
10+
flowchart TB
11+
Formats["Orts.Formats"]
12+
Game["Orts.Game"]
13+
Input["Orts.Input"]
14+
Multiplayer["Orts.Multiplayer"]
15+
Parsers["Orts.Parsers"]
16+
Player["Player"]
17+
Simulation["Orts.Simulation"]
18+
Sound["Orts.Sound"]
19+
UI["Orts.UI"]
20+
Viewer["Orts.Viewer"]
21+
Web["Orts.Web"]
22+
Player --- Game --- UI --- Viewer --- Simulation & Formats
23+
Player --- Input --- UI & Simulation
24+
Sound --- Simulation --- Formats & Multiplayer & Web
25+
Formats --- Parsers
26+
```
427

528
## Threading model
629

Source/Documentation/Manual/physics.rst

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2705,6 +2705,12 @@ Brake Token: ``TrainBrakesControllerSupressionStart``
27052705
- Brake Systems: Air single pipe, Air twin pipe, EP
27062706
- Description: Cancels effect of penalty brake application by TCS and restores control of brakes to driver.
27072707

2708+
Brake Position Labels
2709+
----------------------
2710+
The name of a given brake controller notch can be customized by adding an ORTSLabel
2711+
block to the notch definition::
2712+
2713+
Notch ( 0.5 0 TrainBrakesControllerEPFullServiceStart ORTSLabel ( "Regeneration III and EP" ) )
27082714

27092715
.. _physics-hud-brake:
27102716

@@ -2967,7 +2973,7 @@ DynamicBrakeForceCurves defined in the ENG file, than one is created
29672973
based on the MSTS parameter values.
29682974

29692975
It is possible to use dynamic brakes as a replacement for air brakes
2970-
when they are available (dynamic brake blending). During blending operation,
2976+
when they are available ("local" dynamic brake blending). During blending operation,
29712977
the following parameters will adjust the behaviour of air brakes:
29722978

29732979
.. index::
@@ -2980,7 +2986,38 @@ the following parameters will adjust the behaviour of air brakes:
29802986
air brakes are released while dynamic brakes satisfy the train brake demand.
29812987
If dynamic braking is not sufficient, air brakes will be partially applied
29822988
so the combination air+dynamic provides the required brake demand.
2983-
2989+
2990+
Sometimes the train brake controller is capable to apply the dynamic
2991+
brakes for the whole consist, usually as a first step before air brakes
2992+
are applied. This is usually known as "train blending", as opposed to
2993+
"local" blending which only affects dynamic braking on the locomotive itself.
2994+
A blending table which looks similar to the DynamicBrakeForceCurves table is
2995+
available. It specifies the amount of dynamic brake that is applied at each
2996+
notch of the train brake controller, where 0 means no dynamic brake and 1 means full dynamic brake::
2997+
Engine(
2998+
ORTSTrainDynamicBlendingTable(
2999+
comment ( Notch 0 of train brake - no dynamic brake applied )
3000+
0 (
3001+
0 0
3002+
300km/h 0
3003+
)
3004+
comment ( 30% of Train brake - apply full dynamic brake )
3005+
0.3 (
3006+
0 1
3007+
300km/h 1
3008+
)
3009+
comment ( 90% of Train brake - still apply full dynamic brake )
3010+
0.9 (
3011+
0 1
3012+
300km/h 1
3013+
)
3014+
comment ( Emergency brake notch - do not command dynamic brake )
3015+
1 (
3016+
0 0
3017+
300km/h 0
3018+
)
3019+
)
3020+
)
29843021

29853022
Native Open Rails Braking Parameters
29863023
------------------------------------

0 commit comments

Comments
 (0)