Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: First hydraulic system implementation #3782

Merged
merged 184 commits into from
May 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
184 commits
Select commit Hold shift + click to select a range
85a5b77
merging first PR in clean master
crocket63 Mar 3, 2021
ebff2c1
doc updated
crocket63 Mar 3, 2021
175244c
Pumps PB faults added
crocket63 Mar 3, 2021
cc4f8c2
New const for ALTN brake logic
crocket63 Mar 3, 2021
bd8dfb3
Merge branch 'master' of https://github.com/flybywiresim/a32nx into h…
crocket63 Mar 3, 2021
6df9d8e
Merge branch 'master' into hydraulics_updated
crocket63 Mar 3, 2021
1c07b74
Merge branch 'master' into hydraulics_updated
crocket63 Mar 3, 2021
5c61a0a
Pump flow low limit to 0 (no negative flow)
crocket63 Mar 3, 2021
ebf1454
various cleaning
crocket63 Mar 3, 2021
be08b4b
Merge branch 'master' into hydraulics_updated
crocket63 Mar 4, 2021
6d9226a
cleaning....
crocket63 Mar 5, 2021
948b2e2
Merge branch 'hydraulics_dev' into hydraulics_updated
crocket63 Mar 5, 2021
de1ee40
Merge branch 'hydraulics_updated' of https://github.com/crocket63/a32…
crocket63 Mar 5, 2021
d744489
Updated RPM edp calculation fixed ratio
crocket63 Mar 5, 2021
b026871
Merge branch 'hydraulics_dev' into hydraulics_updated
crocket63 Mar 5, 2021
a29f208
Merge branch 'master' into hydraulics_updated
crocket63 Mar 5, 2021
f1618f4
Merge branch 'master' into hydraulics_updated
wpine215 Mar 5, 2021
5d18d42
Merge branch 'master' into hydraulics_dev
crocket63 Mar 6, 2021
a16c827
Updated loop availability state
crocket63 Mar 6, 2021
e18dace
Merge branch 'master' of https://github.com/flybywiresim/a32nx into h…
crocket63 Mar 6, 2021
dc324e5
Merge branch 'master' of https://github.com/flybywiresim/a32nx into h…
crocket63 Mar 7, 2021
d37ebe1
cleaning
crocket63 Mar 7, 2021
0ab4e23
Merge branch 'master' of https://github.com/flybywiresim/a32nx into h…
crocket63 Mar 8, 2021
1c5fcc6
Merge branch 'master' of https://github.com/flybywiresim/a32nx into h…
crocket63 Mar 8, 2021
c42ea45
Basic brake press limiter
crocket63 Mar 8, 2021
2a08689
Merge branch 'hydraulics_dev' into hydraulics_updated
crocket63 Mar 8, 2021
53b34d2
More cleaning!
crocket63 Mar 9, 2021
1661d21
Merge branch 'hydraulics_dev' into hydraulics_updated
crocket63 Mar 9, 2021
f433362
remove debug stuff
crocket63 Mar 9, 2021
d4a4045
Hydraulic logic simvars handled by logic struc
crocket63 Mar 9, 2021
28808fe
Merge branch 'hydraulics_dev' into hydraulics_updated
crocket63 Mar 9, 2021
f776607
repaired broken tests
crocket63 Mar 9, 2021
442950e
Update .gitignore
crocket63 Mar 9, 2021
7572035
rm test outputs
crocket63 Mar 9, 2021
cae0e1e
Merge branch 'master' into hydraulics_dev
crocket63 Mar 9, 2021
df1238f
brakes .js formatting
crocket63 Mar 9, 2021
6d07bb7
Update units in simvar documentation
crocket63 Mar 9, 2021
4231204
Updated simvar names
crocket63 Mar 9, 2021
1982c98
Moved graph drawing utils to test crate
crocket63 Mar 9, 2021
d8dbdf9
Small optimisation for rat physics
crocket63 Mar 9, 2021
5af8a74
Master switch bug correction
crocket63 Mar 9, 2021
83b9366
Code formatting
crocket63 Mar 9, 2021
5c1bca5
Merge branch 'master' of https://github.com/flybywiresim/a32nx into h…
crocket63 Mar 9, 2021
c92ec83
Comment in pseudocode updated
crocket63 Mar 9, 2021
61a3bb2
cargo clippy errors
crocket63 Mar 9, 2021
ddf3902
cargo clippy corrections again
crocket63 Mar 9, 2021
5943bdb
cargo fmt
crocket63 Mar 9, 2021
f2ed1b8
Cargo clippy again
crocket63 Mar 9, 2021
a22b8af
Merge branch 'master' of https://github.com/flybywiresim/a32nx into h…
crocket63 Mar 9, 2021
725f2f6
cargo fmt
crocket63 Mar 9, 2021
e7030eb
Merge branch 'hydraulics_updated' into hydraulics_dev
crocket63 Mar 9, 2021
470c8c2
Hyd loop: added sub functions for accu and ptu
crocket63 Mar 9, 2021
f9ebd1e
Higher brake pressure limit for Aksid off case
crocket63 Mar 9, 2021
3fd79be
Merge branch 'master' of https://github.com/flybywiresim/a32nx into h…
crocket63 Mar 10, 2021
bbb4f40
Simvar writes refactoring
crocket63 Mar 10, 2021
468b3ae
Die clippy!
crocket63 Mar 10, 2021
9209459
Merge branch 'master' of https://github.com/flybywiresim/a32nx into h…
crocket63 Mar 10, 2021
3596680
updated hydraulic logic
crocket63 Mar 10, 2021
28010ca
Merge branch 'master' into hydraulics_temp_merge
crocket63 Mar 21, 2021
c5d9356
Finalized merge with electrical consumption PR
crocket63 Mar 21, 2021
25e2a71
Merge branch 'master' of https://github.com/flybywiresim/a32nx into h…
crocket63 Mar 21, 2021
9b3e4bf
Added basic tests for A320 hydraulics
crocket63 Mar 23, 2021
a5b786f
Merge branch 'master' of https://github.com/flybywiresim/a32nx into h…
crocket63 Mar 23, 2021
7b7a15e
cargo fmt
crocket63 Mar 23, 2021
1d6c901
Firevalve tests
crocket63 Mar 24, 2021
908f311
Merge branch 'hydraulics_dev' into hydraulics_updated
crocket63 Mar 24, 2021
e2f8984
Added brake acc test
crocket63 Mar 24, 2021
05f8e88
More brake tests
crocket63 Mar 24, 2021
f950b34
brake test corrected
crocket63 Mar 24, 2021
4528f6f
Added autoOn overhead button
crocket63 Mar 25, 2021
0abae48
Merge branch 'master' of https://github.com/flybywiresim/a32nx into h…
crocket63 Mar 25, 2021
17361b2
Merge branch 'hydraulics_dev' into hydraulics_updated
crocket63 Mar 25, 2021
ef163ee
Removed code duplication in timeout handling
crocket63 Mar 25, 2021
c7a10f0
Merge branch 'master' of https://github.com/flybywiresim/a32nx into h…
crocket63 Mar 25, 2021
8a71e35
Merge branch 'hydraulics_dev' into hydraulics_updated
crocket63 Mar 25, 2021
35fd233
testing new core hydraulic regulation
crocket63 Mar 26, 2021
db97218
UpdateContext vars renamed
crocket63 Mar 29, 2021
1009f63
Format and hydraulic update subfunction split
crocket63 Mar 30, 2021
08d90c9
fast rate update subfunction
crocket63 Mar 30, 2021
5765c65
Split engine fire overhead
crocket63 Mar 30, 2021
490e848
refactor PB faults update function
crocket63 Mar 30, 2021
1872e55
Renamed braking vars
crocket63 Mar 30, 2021
f6b7092
Moved interpolation to shared crate
crocket63 Mar 30, 2021
677b317
Removed graphics from tests
crocket63 Mar 30, 2021
89e5b20
Merge branch 'master' of https://github.com/flybywiresim/a32nx into h…
crocket63 Mar 30, 2021
669d05a
Merge branch 'hydraulics_dev' into hydraulics_updated
crocket63 Mar 30, 2021
398b829
add some getters in core objects
crocket63 Mar 31, 2021
3275332
Refactored hydraulics logic
crocket63 Mar 31, 2021
c7570b3
Merge branch 'hydraulics_dev' into hydraulics_updated
crocket63 Mar 31, 2021
8b5d2a4
simpler bool updates
crocket63 Mar 31, 2021
65d15a4
simpler bool updates
crocket63 Mar 31, 2021
0e126bf
Added depressurised mode for EDP
crocket63 Mar 31, 2021
b74d1f1
Merge branch 'hydraulics_dev' into hydraulics_updated
crocket63 Mar 31, 2021
1619ea0
refactor: untangle A320HydraulicLogic part 1
davidwalschots Apr 2, 2021
4f245be
refactor: remove pump fault fields
davidwalschots Apr 2, 2021
2963812
refactor: ram air turbine
davidwalschots Apr 2, 2021
6408c66
refactor: struct impl ordering
davidwalschots Apr 2, 2021
6dfd5d3
refactor: use Self, remove unused ids
davidwalschots Apr 2, 2021
3477afc
refactor: pump commands
davidwalschots Apr 2, 2021
c10705a
Merge branch 'master' of https://github.com/flybywiresim/a32nx into h…
crocket63 Apr 3, 2021
6122777
Merge branch 'hydraulics_updated' of https://github.com/crocket63/a32…
crocket63 Apr 3, 2021
a916bf8
refactor: remove A320HydraulicLogic
davidwalschots Apr 3, 2021
5e2be3f
Merge branch 'master' into hydraulics_updated
davidwalschots Apr 3, 2021
58f4265
Merge branch 'hydraulics_updated' of https://github.com/crocket63/a32…
crocket63 Apr 4, 2021
61b805b
Merge branch 'master' of https://github.com/flybywiresim/a32nx into h…
crocket63 Apr 4, 2021
60d437b
refactor: is_pressurised in HydraulicLoop
davidwalschots Apr 4, 2021
fd29cb0
Merge branch 'hydraulics_updated' of https://github.com/crocket63/a32…
crocket63 Apr 8, 2021
a85f520
Merge branch 'master' of https://github.com/flybywiresim/a32nx into h…
crocket63 Apr 11, 2021
9aac050
Added accumulator base hydraulic bloc
crocket63 Apr 11, 2021
7b64afb
Prepared actuator interaction mechanism
crocket63 Apr 12, 2021
ba88f3b
Merge branch 'master' of https://github.com/flybywiresim/a32nx into t…
crocket63 Apr 12, 2021
3477543
update 3D pressure gauges
crocket63 Apr 13, 2021
4ea772e
Added reservoir stability test
crocket63 Apr 13, 2021
c7a43b5
Merge branch 'test3dGauge' into hydraulics_updated
crocket63 Apr 13, 2021
c4ca7a7
Merge branch 'master' of https://github.com/flybywiresim/a32nx into h…
crocket63 Apr 13, 2021
5bbf3d5
Fix: update delay wrong in timed controllers
crocket63 Apr 13, 2021
c9f4578
Comments update
crocket63 Apr 13, 2021
a09bae7
New braking actuator
crocket63 Apr 14, 2021
4253715
Corrected reservoir return
crocket63 Apr 14, 2021
3c231c5
Clippy errors
crocket63 Apr 14, 2021
ffda4da
test updates for new brakes
crocket63 Apr 14, 2021
d3c1ad2
Updated brake actuator response
crocket63 Apr 14, 2021
80612b7
Improved brake actuator pressure handling
crocket63 Apr 14, 2021
f07e1e4
Braking logic simplified/ Pressure limitation added
crocket63 Apr 15, 2021
9758444
Updated cold start state with non empty accumulator
crocket63 Apr 15, 2021
ad1f5e1
Merge branch 'master' of https://github.com/flybywiresim/a32nx into h…
crocket63 Apr 15, 2021
c448e0b
Added flow filtering on accumulator
crocket63 Apr 20, 2021
e71a9ae
Merge branch 'master' of https://github.com/flybywiresim/a32nx into h…
crocket63 Apr 21, 2021
a5fbd04
Simplified PTU deactivation logic
crocket63 Apr 21, 2021
550f079
Merge branch 'master' of https://github.com/flybywiresim/a32nx into h…
crocket63 Apr 21, 2021
3ad0d85
Merge branch 'hydraulics_dev' into hydraulics_updated
crocket63 Apr 21, 2021
552b631
Knowledge database to source control
crocket63 Apr 23, 2021
121476b
New console app for off sim simulations
crocket63 Apr 26, 2021
448f540
Merge branch 'master' of https://github.com/flybywiresim/a32nx into h…
crocket63 Apr 26, 2021
d70dbe9
Faster brake response
crocket63 Apr 26, 2021
c2f9791
Merge branch 'hydraulics_dev' into hydraulics_updated
crocket63 Apr 26, 2021
038201f
Brake norm/altn switch added hysteresis
crocket63 Apr 27, 2021
6fbf544
further ptu adjustements
crocket63 Apr 27, 2021
45110de
cargo fmt
crocket63 Apr 27, 2021
019bb42
Added auto braking on gear retraction
crocket63 Apr 27, 2021
12d7e05
Updated TUG behavior for PTU inhibit
crocket63 Apr 28, 2021
fd4dcef
Merge branch 'master' of https://github.com/flybywiresim/a32nx into h…
crocket63 Apr 28, 2021
c1b6865
Merge branch 'hydraulics_dev' into hydraulics_updated
crocket63 Apr 28, 2021
6736b9b
refactor: timestep via context
davidwalschots Apr 29, 2021
feac1ed
refactor: timestep via context
davidwalschots Apr 29, 2021
8f03a1b
Small adjustment to placeholder RAT model
crocket63 Apr 30, 2021
54a2267
Merge branch 'hydraulics_updated' of https://github.com/crocket63/a32…
crocket63 Apr 30, 2021
1d588bc
Merge branch 'hydraulics_updated' into hydraulics_dev
crocket63 Apr 30, 2021
0fafe4a
Updated gitignore / json file
crocket63 Apr 30, 2021
2190416
Updated simvar.md pattern names
crocket63 Apr 30, 2021
bb10956
removed _HAS_FAULT from .FLT
crocket63 Apr 30, 2021
cb12aa2
Speed up stress tests
crocket63 Apr 30, 2021
ea21977
Removed comment in fn interpolation
crocket63 Apr 30, 2021
8973270
Elec conditions added on brake gauges
crocket63 Apr 30, 2021
3ae62ae
unit tests for controllers
crocket63 May 2, 2021
7e68c91
more brake tests
crocket63 May 2, 2021
535d363
Merge branch 'master' of https://github.com/flybywiresim/a32nx into h…
crocket63 May 2, 2021
cb7dd32
remove comments
crocket63 May 2, 2021
98a8fd8
split blue controller tests
crocket63 May 2, 2021
a82c29d
test update and corrected max edp displacement
crocket63 May 2, 2021
d9641f0
Split some tests
crocket63 May 3, 2021
b1118dc
More tests, refactored low pump faults
crocket63 May 3, 2021
09455b1
updated fault pressure mechanism
crocket63 May 4, 2021
8b3cf49
Updated blue faults using override
crocket63 May 4, 2021
4f4f4e5
Separate low pressure values for EDP sections
crocket63 May 4, 2021
d303e79
refactor: getter naming according to RFC 344
davidwalschots May 6, 2021
332738c
chore: rust style guide comment formatting
davidwalschots May 6, 2021
4df646b
refactor: decrease visibility, remove dead code
davidwalschots May 6, 2021
7208b4b
refactor: only compile AutoBrakeController in test
davidwalschots May 6, 2021
4a080a9
refactor: decrease visibility
davidwalschots May 6, 2021
646f603
Updated in flight brake logic
crocket63 May 6, 2021
163d28a
Merge branch 'hydraulics_updated' of https://github.com/crocket63/a32…
crocket63 May 6, 2021
63359e6
Removed number of modes of autobrake
crocket63 May 6, 2021
08a1fd4
Auto brake sent to a git feature branch
crocket63 May 6, 2021
5a16e68
Refactored Engine so it computes pump speeds
crocket63 May 7, 2021
7c3fe53
wrong comment
crocket63 May 7, 2021
f8a8047
Removed duplicated tests in core hyd part
crocket63 May 7, 2021
7e6ac7a
Update CHANGELOG.md
crocket63 May 7, 2021
e048f8f
Merge branch 'master' into hydraulics_updated
davidwalschots May 7, 2021
368f54c
Updated blue epump auto run logic
crocket63 May 7, 2021
abdcc13
Merge branch 'master' into hydraulics_updated
hiaaryan May 9, 2021
78e877d
Merge branch 'master' of https://github.com/flybywiresim/a32nx into h…
crocket63 May 10, 2021
c09bfd3
Merge branch 'master' into hydraulics_updated
May 10, 2021
3800a8f
Merge branch 'master' into hydraulics_updated
davidwalschots May 12, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<!-- 1. [Changed Area] Title of changes - @github username (Name) -->

## 0.7.0
1. [HYD] First building block, more to come. Hydraulics do not impact the sim YET. - @crocket6 (crocket)
1. [ENGINE] Fixed fuel consumption model - @Taz5150 (TazX [Z+2]#0405)
1. [ENGINE] Fixed fuel flow being 0 at Start-up - @Taz5150 (TazX [Z+2]#0405)
1. [MCDU] Fixed input and display issues on PERF/W&B and INIT pages - @felixharnstrom (Felix Härnström)
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ node_modules
/target
/src/instruments/src/EFB/web/
/src/systems/target/
/src/systems/a320_hydraulic_simulation_graphs/*.png
!igniter.config.mjs
.igniter
/src/fdr2csv/*.exe
Expand Down
130 changes: 130 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
members = [
"src/systems/a320_systems",
"src/systems/a320_systems_wasm",
"src/systems/systems"
"src/systems/systems",
"src/systems/a320_hydraulic_simulation_graphs",
]
Loading