1
0
Fork 0
Commit graph

361 commits

Author SHA1 Message Date
legoboyvdlp R
5788e99be3 Bugfixes 2020-05-23 00:47:43 +01:00
legoboyvdlp R
91184fd64a Initial work 2020-05-22 20:58:15 +01:00
legoboyvdlp R
01a05e3194 Merge branch 'dev' into fuel-prediction 2020-05-22 14:41:13 +01:00
legoboyvdlp R
15c700430f Flightplan: show PPOS --> discont if before INITA 2020-05-21 21:11:43 +01:00
legoboyvdlp R
8fcb2f83d8 Merge branch 'dev' into fuel-prediction 2020-05-21 19:22:25 +01:00
legoboyvdlp R
10bf4c5cb8 It works 2020-05-21 19:02:59 +01:00
legoboyvdlp R
6903e1976c Improvements 2020-05-20 18:50:09 +01:00
legoboyvdlp R
bd55b7a504 Persistent across sessions 2020-05-19 13:04:33 +01:00
legoboyvdlp R
cfcb77e3cf Database persistent across sessions 2020-05-19 00:09:09 +01:00
Matthew Maring
1f58826998 Block crazy outputs that will mess-up display (>8 hours or >80,000 lbs fuel) 2020-05-18 15:51:09 -04:00
Matthew Maring
192ef3a4d9 Fuel now updates for all revisions + clearing a discontinuity 2020-05-18 15:18:17 -04:00
Matthew Maring
f04ff08cd3 Allow indpendent block entry, fix fuel pred animation, show tow value when ready 2020-05-18 14:30:43 -04:00
Matthew Maring
32c5dc1a31 Merge branch 'dev' into fuel-prediction 2020-05-18 13:03:34 -04:00
legoboyvdlp R
f01fc6bc6a Saving works now! 2020-05-18 00:11:24 +01:00
legoboyvdlp R
82631ed689 Fix closest airports magVar; fix the database adding to first wp 2020-05-17 21:36:42 +01:00
legoboyvdlp R
eb37ea57fc A/C STATUS page works; deleting works; it won't yet add at the first index (it _does_ add the waypoint to db but doesn't add to the flightplan :( 2020-05-17 17:53:43 +01:00
legoboyvdlp R
7b6f861960 Flightplan: rewrite inserting algorithim 2020-05-17 15:34:46 +01:00
legoboyvdlp R
eadcfc6ce0 Add ability to re-add stored waypoints. Prepare ability to store waypoints 2020-05-17 14:27:28 +01:00
legoboyvdlp R
68fd0ba416 WP Database: add initial; limits entries to 20 2020-05-17 01:37:42 +01:00
legoboyvdlp R
b453e2e3a3 Nasal - correct namespace definitions 2020-05-16 21:04:03 +01:00
legoboyvdlp R
b792a1b472 Proof of concept for using nodes rather than property IO in FMGC; also re-add forward slash in various places, and correct format of transition altitude on PERF APPR page 2020-05-16 15:48:26 +01:00
legoboyvdlp R
aa31623021 Add dmeIntercept waypoints to no-sequence list 2020-05-16 14:34:33 +01:00
legoboyvdlp R
1778cf4363 Bugfixes to FMGC phase reset / scratchpad messages 2020-05-16 14:21:50 +01:00
legoboyvdlp R
f19fc737e6 Fix flightplan sequencing 2020-05-15 23:53:33 +01:00
legoboyvdlp R
d169edaba9 Correct distance calculations in DIRTO page 2020-05-15 21:52:48 +01:00
legoboyvdlp R
cf09ea912d Re-add discontinuities experimentally 2020-05-15 17:09:00 +01:00
legoboyvdlp R
85a34eeb54 Add Place / Bearing / Distance - uses magnetic heading for now 2020-05-14 20:02:18 +01:00
Matthew Maring
a84ce9b4e9 Add simple alternate time calc (no automatic calc until SEC FPLN implemented) 2020-05-13 18:26:08 -04:00
Matthew Maring
bb25e00230 Merge branch 'dev' into fuel-prediction 2020-05-13 17:03:43 -04:00
Josh Davidson
e00b6a94a1 Control: Totally refactor Flaps/Slats system, add more detail 2020-05-11 22:40:59 -04:00
Matthew Maring
7760b405a4 Formula update for trip time 2020-05-10 12:39:01 -04:00
Matthew Maring
928a28a1f6 Merge branch 'dev' into fuel-prediction 2020-05-09 14:36:39 -04:00
Matthew Maring
0cd7084783 Parentheses needed! 2020-05-09 14:33:55 -04:00
Matthew Maring
b1593a2443 Add correct final/extra formula, no more crazy calcs :) 2020-05-09 14:27:21 -04:00
Matthew Maring
969a4f5f90 Add time to final fuel, add temporary green dot fuel formula to prevent crazy numbers 2020-05-09 14:08:08 -04:00
Matthew Maring
a5ffe63daf Add time calculation to extra fuel 2020-05-09 12:59:33 -04:00
Matthew Maring
f798f315e1 Correct aoa floating point error 2020-05-09 11:11:31 -04:00
Matthew Maring
0d3f686028 Fix cruize temp correction and fix bblock clearing bug 2020-05-09 10:46:53 -04:00
Matthew Maring
bffcbd6152 Merge branch 'dev' into fuel-prediction 2020-05-07 13:55:44 -04:00
legoboyvdlp R
b9f1bc9d79 Minor thing that doesn't change anything 2020-05-07 00:06:24 +01:00
Matthew Maring
62e77bce95 Temp fix 2020-05-05 10:24:24 -04:00
Matthew Maring
9e9f9f52f6 Push changes to fuel predict, bugfix for reserve fuel 2020-05-05 09:52:11 -04:00
Matthew Maring
a7ac96b90d Time improvements 2020-05-05 09:15:45 -04:00
Matthew Maring
1a8ec19b46 Add trip time and new trip formulas (+/- 50 lbs accuracy for supported range), fix prediction bugs (block inaccurate until all calcs done) 2020-05-04 22:39:06 -04:00
legoboyvdlp R
dc955859ca Hold dummy page improved, airways dummy page added 2020-05-04 11:48:22 +01:00
legoboyvdlp R
5d18b4c539 Merge branch 'dev' into flightplan-load 2020-05-03 21:06:47 +01:00
Matthew Maring
64611f92d5 Fix reserve fuel bug 2020-05-03 16:00:58 -04:00
Matthew Maring
1ce894ed90 Add weight correction to trip fuel 2020-05-03 14:12:47 -04:00
Matthew Maring
1cd3e66d24 Add temporary wind temp (simplified for testing) 2020-05-03 13:29:46 -04:00
Matthew Maring
859c419074 Add skeleton calculations for trip 2020-05-03 12:52:38 -04:00
Matthew Maring
f52f2ddba4 Fix nasal error 2020-05-03 11:02:46 -04:00
Matthew Maring
003bae8bd2 Add rough draft model for trip fuel, fix route reserve fuel 2020-05-03 10:01:28 -04:00
Matthew Maring
3fd56ef973 Reserve bug fix 2020-05-02 16:05:52 -04:00
Matthew Maring
ba89dfec12 Add engine detection 2020-05-02 15:52:57 -04:00
Matthew Maring
b946f20e3e Simplify reserve calc 2020-05-02 15:42:39 -04:00
Matthew Maring
8d9a28e3a9 Add reserve calculations, copy over to FUELPRED, fix reserve label bug 2020-05-02 15:40:19 -04:00
Matthew Maring
d1be8b117a Insert skeleton fuel calcs 2020-05-02 14:12:44 -04:00
Matthew Maring
3d17d1d777 Minor bug fixes: don't overwrite zfw if already set, allow reset before block-confirm 2020-05-01 21:39:55 -04:00
Matthew Maring
e9109a2cfc Make minimum dest fuel work, add MCDU warning, allow fuel pred without zfw (automatically calculated) 2020-05-01 20:55:22 -04:00
Matthew Maring
7c21f214e7 Implement relistic fuel pred button action (no calcs yet), add delay timers to INITB, add leading slash for FMGC variables 2020-05-01 20:26:05 -04:00
Matthew Maring
6e737cc8c8 Merge branch 'dev' into fuel-prediction 2020-05-01 16:00:06 -04:00
Matthew Maring
1379e5a261 Move fuel calculations to FMGC 2020-05-01 15:59:47 -04:00
legoboyvdlp R
bd9975db57 Updates to IRS INIT page 2020-05-01 17:46:53 +01:00
legoboyvdlp R
c8a9f30aea Improve latitude / longitude entry 2020-04-30 19:35:46 +01:00
legoboyvdlp R
4a74f0a25f Add initial load flightplan support 2020-04-29 00:41:08 +01:00
legoboyvdlp R
155e710d33 Add bearing / track / distance along flightplan. It doesn't play nicely with (alt) waypoints 2020-04-28 15:16:08 +01:00
legoboyvdlp R
b9fb07ec8b Fixes for arrival / departure page so they now show selected departure / approach properly at the top 2020-04-28 12:35:23 +01:00
Josh Davidson
9cc44f0ee0 Sim: Various cleanup and optimization 2020-04-27 09:58:38 -04:00
Matthew Maring
4a1bc58efc Add comment on altitude for the future 2020-04-26 15:18:47 -04:00
Matthew Maring
e78f738bb5 Fix PERFAPPR runway issue, cleanup code more 2020-04-26 15:14:06 -04:00
Matthew Maring
81edf65259 Clean up ils logic 2020-04-26 15:01:10 -04:00
legoboyvdlp R
a76ba4a31b Document some functions in flight plan controller, also revise direct to logic a little 2020-04-26 14:52:07 +01:00
legoboyvdlp R
90ef8b431a Fix phases correctly this time 2020-04-24 17:13:10 +01:00
legoboyvdlp R
25132937ab Add debug statements, fix bounced landing breaking FMGC phases 2020-04-24 16:47:13 +01:00
legoboyvdlp R
0ef5d73f14 LATREV: pass the ghost, not identifier. Fix the L6 LAT REV spawn on f-pln page. Change (1500) to 1500 -- we need to remove parenthases on the SID waypoints too, but how? 2020-04-24 12:44:39 +01:00
legoboyvdlp R
5c63b288fe Bugfix NO STAR and transitions, add NO SID 2020-04-24 12:23:33 +01:00
legoboyvdlp R
79a105bd4b Add NO STAR choice, makes dynamic waypoint five miles from runway if NO STAR and NO IAP 2020-04-24 10:34:28 +01:00
Josh Davidson
2a7d7d4a31 FMGC: Fix waypoint advance/sequencing logic for INTC, VECTORS etc 2020-04-23 13:21:59 -04:00
Josh Davidson
ae235b244c FMGC: Fix autopilot ignoring altitude target in G/A SRS mode 2020-04-20 20:50:22 -04:00
Matthew Maring
c7ccadb458 Minimum VLS correction 2020-04-20 23:43:34 +01:00
legoboyvdlp R
e096887432 Bugfix vertical plan phases 2020-04-20 23:43:34 +01:00
legoboyvdlp R
090ed7e5f4 Bugfix: cruise-fl is in flight levels, not feet 2020-04-20 23:43:34 +01:00
legoboyvdlp R
4af7f0faf0 Correct loop bug 2020-04-20 23:43:34 +01:00
legoboyvdlp R
2a0a631b91 Correction to conditions - I think this is right, please inform me if not 2020-04-20 23:43:34 +01:00
Matthew Maring
04ee431d13 Proper mda/dh implementation 2020-04-20 23:43:34 +01:00
Matthew Maring
df59dc7168 Add baro/radio, improve vapp 2020-04-20 23:43:34 +01:00
Matthew Maring
5222aeb633 Implement generic mcdu message, add ils mismatch (need to fix offset freq error, i.e. KSFO 28R) 2020-04-20 23:43:34 +01:00
Matthew Maring
8632050f40 Big fuel bug fixes, minor ILS fix 2020-04-20 23:43:34 +01:00
Matthew Maring
26836076bc Implement fully functional IRSINIT page 2020-04-20 23:43:34 +01:00
legoboyvdlp R
9b60b72df9 Bugfix 2020-04-20 23:43:34 +01:00
legoboyvdlp R
ef8468f261 Bugfix FMGC 2020-04-20 23:43:34 +01:00
Matthew Maring
acd64cde37 Implement partial ILS select functionality 2020-04-20 23:43:34 +01:00
legoboyvdlp R
5417101ca0 Add experimental vertical flightplan phases, allow user to set cruise flight level in descent phase 2020-04-20 23:43:34 +01:00
legoboyvdlp R
e4182ae9b8 Rename property to make it more clear what this does 2020-04-20 23:43:34 +01:00
legoboyvdlp R
6bc3b483cf Really... 2020-04-19 10:29:34 +01:00
legoboyvdlp R
b87b6d27b7 Better bugfix 2020-04-19 10:24:06 +01:00
legoboyvdlp R
33e2efb7b7 Bugfix Linux segfaults 2020-04-19 10:21:00 +01:00
Josh Davidson
390b9d751a FMGC: Fix incorrect variable init 2020-04-19 00:01:55 -04:00
Josh Davidson
7c7f5875fc FMGC: Fix numerous bugs in the autopilot and heading/track control logic 2020-04-18 15:48:47 -04:00
legoboyvdlp R
cc02760a18 Move to better place 2020-04-18 16:39:55 +01:00
Josh Davidson
60bdf8f08e GIT: Update 2019 to 2020 2020-04-18 01:36:46 -04:00
Josh Davidson
5cc72e1acd FMGC: Fix errenous disarming of NAV mode - and incorrect ingauge condition 2020-04-18 01:12:04 -04:00
Matthew Maring
cfff5302d6
Merge branch 'dev' into speed-rewrite 2020-04-12 18:08:16 -04:00
Matthew Maring
a9c44598de Add support for alternate/direct law 2020-04-12 14:09:56 -04:00
Matthew Maring
30497a8cf2 Fix bugs with approach, protection bars fully work, go-around still buggy 2020-04-12 13:37:15 -04:00
Matthew Maring
b163a833cf Approach bug fixes 2020-04-11 15:52:38 -04:00
Matthew Maring
4173e37e22 Add dummy protection speeds, need to fix bottom bar 2020-04-11 15:31:58 -04:00
legoboyvdlp R
5e54cb04ba Correct the sequencing - deleteWP changes broke it 2020-04-11 18:12:18 +01:00
Matthew Maring
8e6cebb080 Implement new speed logic, managed speed at correct values (note, pointer still incorrect on approach) 2020-04-11 06:46:17 -04:00
Matthew Maring
e1f6bb1d8c Implement semi-working PROG/PERF pages, manual APPR activation, initial go-around logic (speeds still wip) 2020-04-10 14:38:58 -04:00
Matthew Maring
acda7585be Add semi-working PERFCLB page + some initial manual APPR logic 2020-04-10 08:31:35 -04:00
legoboyvdlp R
9a929f90d6 Rename F-PLN-rework --> F-PLN.nas 2020-04-07 17:05:45 +01:00
legoboyvdlp R
9d7d885ccb Direct to now deletes waypoints properly. Doesn't work that well with sid / star waypoints 2020-04-07 16:59:43 +01:00
legoboyvdlp R
d8f83979c4 Slight corrections 2020-03-31 16:48:36 +01:00
legoboyvdlp R
2fcfbcb180 DIRTO now works! 2020-03-31 16:33:28 +01:00
legoboyvdlp R
964443258b Correct the discontinuity routines 2020-03-29 19:54:26 +01:00
legoboyvdlp R
023344442a DIRTO finalised, now to make it work 2020-03-29 16:55:30 +01:00
hayden2000
23142d2959 Implement alternate airport on INTA 2020-03-28 17:19:14 -04:00
legoboyvdlp R
e8d5baecd7 Fix typos 2020-03-28 17:06:42 +00:00
legoboyvdlp R
6bc4169e89 DIRTO improved - added tmpy conflict with dirto error messages 2020-03-28 15:53:50 +00:00
legoboyvdlp R
2297da9975 Merge branch 'dev' into FMGC 2020-03-25 20:47:04 +00:00
legoboyvdlp R
35977d4486 Fix arrival distance calculation 2020-03-25 20:46:04 +00:00
legoboyvdlp R
ea95889252 Experimental support for cases like EGJJ 2020-03-25 15:05:04 +00:00
fly
8699a8ac7a Agressive cleanup
Signed-off-by: fly <merspieler@airmail.cc>
2020-03-25 15:01:01 +00:00
legoboyvdlp R
3aada81966 FROM legend, now show UTC / altitude of FROM waypoint 2020-03-24 16:46:27 +00:00
legoboyvdlp R
2ae96d1ee6 Merge branch 'dev' into FMGC 2020-03-23 16:26:48 +00:00
hayden2000
695bda2a90 These all default to 1500, once FPLN is done, can be set to 1500 plus runway altitude 2020-03-21 21:10:55 -04:00
legoboyvdlp R
fa1b7e65c0 vert rev 2020-03-09 18:00:22 +00:00
legoboyvdlp R
e9f9c7e106 Fix discont 2020-03-07 17:38:57 +00:00
legoboyvdlp R
470b2fbcc1 Fix the CLR button, and fix distance calculation. Needs to neglect discontinuitites still, that broke agagin 2020-03-07 15:20:20 +00:00
legoboyvdlp R
95fca8e11e Revert "go to next waypoint, don't delete intermediate. MCDU only shows next ones, doesn't show historical ones"
t push

This reverts commit 5e19cbd42c.
2020-02-11 17:01:11 +00:00
legoboyvdlp R
5e19cbd42c go to next waypoint, don't delete intermediate. MCDU only shows next ones, doesn't show historical ones 2020-02-11 14:30:28 +00:00
legoboyvdlp R
be7ce479aa Merge branch 'dev' into FMGC 2020-02-07 17:40:29 +00:00
legoboyvdlp R
d9df41ddde Test removing forward slash 2020-02-07 16:10:54 +00:00
legoboyvdlp R
80fdd62d4b fix 2020-02-03 19:16:05 +00:00
legoboyvdlp R
4f4c45782e Fix the num 2020-02-03 17:45:00 +00:00
legoboyvdlp R
af67b66bfe Fix the flightplan, now will show up properly on ND (ID and course), also advancing should work now. However, _num_ doesn't advance atm? 2020-02-02 20:34:27 +00:00
legoboyvdlp R
ad5a12532a Bugfix 2020-01-23 17:02:46 +00:00
legoboyvdlp R
47bf534bca Push improvements 2020-01-23 14:14:48 +00:00
legoboyvdlp R
f4e79d16e4 Bugfix arrival page 2020-01-16 21:02:35 +00:00
legoboyvdlp R
828d2b3893 Improvements, add ARRIVAL 2020-01-16 17:08:14 +00:00
legoboyvdlp R
ec68189ce1 Many improvements 2020-01-11 13:30:08 +00:00
legoboyvdlp R
9affa52adb Push semi-working fpln, segfaults fg due to core bug 2020-01-07 20:48:27 +00:00
legoboyvdlp R
848a6a7b7f New FPLN 2020-01-05 20:21:28 +00:00
legoboyvdlp R
12a80d9557 Merge branch 'dev' into FMGC 2020-01-03 10:07:08 +00:00
legoboyvdlp R
b61b45abde Bugfixes, new CLR function, fix FBW -> autopilot failures, etc 2020-01-02 21:13:18 +00:00
legoboyvdlp R
a0fbcccff0 Fix 2020-01-01 22:17:10 +00:00
legoboyvdlp R
cf05f3da8d Merge branch 'dev' into FMGC 2020-01-01 22:13:52 +00:00
legoboyvdlp R
e30af58122 Add overspeed PFD warning for the landing gear 2020-01-01 22:11:26 +00:00
legoboyvdlp R
cec616d0d8 Merge branch 'dev' into FMGC 2020-01-01 21:50:11 +00:00
legoboyvdlp R
928144a072 Bugfix FCU, RAT MAN light, and ECAM autopilot message 2020-01-01 21:30:13 +00:00
legoboyvdlp R
d36c9505ce Major improvements - discontinuity, lat rev, sequencing, etc 2019-12-31 17:48:23 +00:00
legoboyvdlp R
d2305f3104 Add Octal's FMGC back in, extend with LAT REV page 2019-12-29 21:37:52 +00:00
legoboyvdlp R
6363f8a6fa Fix FCU - should be available in EMER ELEC 2019-12-28 17:38:20 +00:00
legoboyvdlp R
8edf5bb5cb Fix transponder, self-test now only occurs when power lost > 3 seconds, fix ECAM warnings going off sometimes when they shouldn't 2019-12-28 15:53:17 +00:00
legoboyvdlp R
36f3345c7a Fix autopilot disconnection warning (re-engagement should cancel), fix the APU FUEL LO PR, fix the spurious stal warning on the ground 2019-12-21 13:25:39 +00:00
legoboyvdlp R
09cfcacf99 Big update - improve FBW loop, SAT and TAT on EICAS, ECAM improvements, ADR improvements 2019-11-30 13:39:53 +00:00
legoboyvdlp R
f64bbea9f2 Merge branch 'master' into ADIRS 2019-11-21 16:34:28 +00:00
legoboyvdlp R
d8b6335eff Re-organize nasal folder 2019-11-16 12:12:36 +00:00
legoboyvdlp R
1fa30b2b97 FCU: fix case sensitive 2019-10-29 14:03:36 +00:00
legoboyvdlp R
1143178296 FCU: new control, now works according to electrical system 2019-10-27 20:54:23 +00:00