1
0
Fork 0
Commit graph

348 commits

Author SHA1 Message Date
Matthew Maring
601d733e46 Fix FL in history wind 2020-08-08 08:55:49 -04:00
legoboyvdlp R
0aefdda66d Better error messaging for simbrief download failure 2020-08-07 13:01:15 +01:00
legoboyvdlp R
b8c31535c4 Fix the flight number. 2020-08-07 12:48:47 +01:00
legoboyvdlp R
1b9c2667bf Fix DCT routing simbrief parser 2020-08-07 12:44:22 +01:00
legoboyvdlp R
e48e060ef6 Invalid flightplan input won't crash flightgear 2020-08-07 11:44:03 +01:00
Matthew Maring
366382c9cc Actually record previous flight's wind, add missing degree symbols 2020-08-05 19:37:26 -04:00
Matthew Maring
536f61d197 Implement history winds 2020-08-05 05:36:25 -04:00
legoboyvdlp R
f8508feccb Correct path to simbrief -- there shouldn't be any danger in having this, since you can't press it more than once during parsing, anyway 2020-08-04 12:25:51 +01:00
Matthew Maring
4c33cefa5e Live updates of fuel 2020-08-04 06:43:18 -04:00
Matthew Maring
4c246d8efc Extra fuel now based on FOB when engines running 2020-08-03 18:54:14 -04:00
Matthew Maring
a21e107881 Disable block fuel recalculation 2020-08-03 18:18:44 -04:00
Matthew Maring
0f8d8596f8 Fix zfwcg entry bug, improve simbrief fuel integration 2020-08-03 17:47:30 -04:00
legoboyvdlp R
409781828a fixes 2020-08-03 18:28:06 +01:00
legoboyvdlp R
5d73f217e1 Merge branch 'dev' into simbrief-integration 2020-08-03 17:59:48 +01:00
Matthew Maring
7edaf22381 Move speed calcs away from setprop/getprop 2020-08-03 10:50:32 -04:00
Matthew Maring
c75df53506 Remove setprop/getprop from fuel, min dest fob bug fix 2020-08-03 10:50:32 -04:00
legoboyvdlp R
067a87f1e8 Fix that cost index 0 would prevent managed speed 2020-08-02 13:01:06 +01:00
legoboyvdlp R
92ec285cf0 Alright, so now loads waypoints -- I checked these situations:
- With DCT first waypoint
- With SID to first waypoint
- With SID (not in DB) to first waypoint
- PROBLEMS with runway mismatch
- With DCT runway
- With STAR to runway
- With STAR (not in DB) to last waypoint
- PROBLEMS with runway mismatch
2020-08-01 21:25:49 +01:00
legoboyvdlp R
fb41cf8424 INITA loading 2020-08-01 16:30:16 +01:00
legoboyvdlp R
fc25237eb2 INITA linked in 2020-08-01 15:04:54 +01:00
legoboyvdlp R
31e8269996 Simbrief initial downloader 2020-08-01 14:04:33 +01:00
legoboyvdlp R
e32c7b6522 It works, finished 2020-07-31 14:32:19 +01:00
legoboyvdlp R
86f265b791 Weather uplink 2020-07-31 14:32:18 +01:00
Matthew Maring
5e98ff639c Fix cruise waypoints 2020-07-30 14:48:11 -04:00
Matthew Maring
3bd1e28769 Properly clear winds 2020-07-29 22:32:30 -04:00
Matthew Maring
5927afb337 Clear descent/alt winds when changing arrival 2020-07-29 22:21:30 -04:00
Matthew Maring
5c74fa8617 Allow 0s for wind magnitude/direction 2020-07-29 21:33:00 -04:00
Matthew Maring
6eb28aabcf Prepare for propogation of winds, bug-fix for wind clearing 2020-07-29 21:25:56 -04:00
Matthew Maring
d6b2b82c92 Push GRND wind to PERFAPPR 2020-07-29 19:24:03 -04:00
legoboyvdlp R
a1d20d78fb Correct autopilot max bank angle to 30 deg, THR IDLE in autoland at 30 feet, altitude capture at delta 20 feet, and LAND arms at 400 rather than 300 2020-07-19 23:58:21 +01:00
legoboyvdlp R
a28879577c Revision of FBW degradation logic, rudder trim implemented to spec. Todo -- rudder trim should affect RTLU. Separate yaw law -- normal, alternate, and mechanical. 2020-07-16 19:54:05 +01:00
legoboyvdlp R
a6d278773c Same fix for APPR 2020-07-16 12:32:26 +01:00
legoboyvdlp R
7527908d8e Fix bug in LOC -- now can only be armed above 400 feet and if not in SRS mode 2020-07-16 01:05:41 +01:00
legoboyvdlp R
629c579b26 Optimize FMGC loop more 2020-07-12 19:27:04 +01:00
legoboyvdlp R
85779a5676 Major bugfixes to failures; correct property references; optimize it-fbw 2020-07-11 20:23:21 +01:00
legoboyvdlp R
9e72589b57 Bugfixes 2020-07-11 14:03:30 +01:00
legoboyvdlp R
0baaf4a0f5 Bugfix 2020-07-10 22:15:37 +01:00
legoboyvdlp R
69cdce951c Bugfixes 2020-07-10 21:28:53 +01:00
legoboyvdlp R
649c29e7b8 Bugfixes 2020-07-10 20:54:13 +01:00
legoboyvdlp R
b1f91f1639 Rest of INITA converted 2020-07-10 20:28:17 +01:00
legoboyvdlp R
f9bd25884a Gnd temp, alt 2020-07-10 01:25:25 +01:00
legoboyvdlp R
a125092915 Flight num, crz level, crz temp, tropo 2020-07-10 01:09:19 +01:00
legoboyvdlp R
28c1f2e50a Switch v1 / vr / v2 to nasal thingies 2020-07-10 00:07:03 +01:00
Josh Davidson
c8612c2c1b FMGC: Remove unused in AP 2020-07-09 10:27:33 -04:00
Josh Davidson
e6a6398ff6 FMGC: Streamline autopilot speeds 2020-07-08 21:12:02 -04:00
Josh Davidson
d875a8ec35 FMGC: Update autopilot to 4.0.4 spec 2020-07-08 16:14:55 -04:00
legoboyvdlp R
6cd65e9ac0 Several major bugfixes reported by @julienlengele - many thanks! 2020-06-27 23:26:36 +01:00
legoboyvdlp R
3adabd6317 Bugfix for landing - reset arrival index (thanks @stdg!) 2020-06-23 00:07:00 +01:00
legoboyvdlp R
9a56678e94 Bugfix for loading flightplans - thanks LemiCandy! 2020-06-17 10:38:21 +01:00
legoboyvdlp R
ed66593c1b Improvements to winds format entry, fixes for nasal error 2020-06-14 18:31:15 +01:00
legoboyvdlp R
1abf474b58 Hide debug, DRAFT title and ttle colour, also new font for symbols 2020-06-14 12:02:45 +01:00
legoboyvdlp R
946c8ce3b2 Merge branch 'dev' into wind 2020-06-13 23:32:34 +01:00
Matthew Maring
5e5966e96f Remove unecessary code 2020-06-13 10:58:09 -04:00
Matthew Maring
6c4c75b311 Add parents to wind objects 2020-06-13 10:51:03 -04:00
Matthew Maring
20849fd25a Add access to winds from VERTREV, winds finished and ready for testing! 2020-06-12 22:12:28 -04:00
Matthew Maring
80ef332f29 Add access to wind pages from DATA2, save previous page in winds 2020-06-12 21:28:14 -04:00
Matthew Maring
e83ac26786 History wind bug fixes 2020-06-12 12:53:12 -04:00
legoboyvdlp R
99f914a8d6 Major bugfixes, port departure page, please test! 2020-06-12 16:16:44 +01:00
Matthew Maring
ca1407d7d6 Major ug fix for crz page when using both mcdus (no more nasal errors!), minor temp fix 2020-06-12 08:15:04 -04:00
legoboyvdlp R
fb0e4754e2 Bugfix 2020-06-12 00:43:29 +01:00
Matthew Maring
9986b4b7f9 Fix nasal error when adding navaids 2020-06-11 18:08:47 -04:00
Matthew Maring
3332a106f2 Another typo, temporary bug fix 2020-06-11 14:56:09 -04:00
Matthew Maring
9f867a6bd0 Fix nasal bug 2020-06-11 14:43:32 -04:00
Matthew Maring
136a292c53 Enable return buttons, clean up history page 2020-06-11 13:55:52 -04:00
Matthew Maring
34333c876c Bug fixes when using both mcdus at the same time 2020-06-11 12:57:35 -04:00
Matthew Maring
3fd01a904d Enable wind cancel/insert buttons 2020-06-10 20:18:11 -04:00
Matthew Maring
6b523801b8 Implement enroute navaids wind, save wind values across flightplan changes 2020-06-10 19:22:08 -04:00
Matthew Maring
49257dc018 Push changes to cruize/descent, fix return button bug 2020-06-10 18:26:55 -04:00
Matthew Maring
331baf014b Push new logic to climb page, make work on both mcdus 2020-06-10 17:44:04 -04:00
Matthew Maring
79f8c543a1 Completed wind store logic (not implemented in mcdu yet) 2020-06-09 22:42:30 -04:00
legoboyvdlp R
96788e63cc Approach vias - add version check; restore functionality to top row 2020-06-07 13:29:56 +01:00
legoboyvdlp R
6d586efe38 Improvements - no via, no star, etc 2020-06-03 14:20:39 +01:00
legoboyvdlp R
20f8b1c513 Distance calculation for waypoints 2020-06-02 20:10:12 +01:00
legoboyvdlp R
27e2438549 Flightplan: new arrival distance calculation, experimental 2020-06-02 18:59:02 +01:00
legoboyvdlp R
539344f1be Bugfix for discontinuities; arrival page index typo 2020-06-02 16:37:30 +01:00
Matthew Maring
2fbdf96223 Make right MCDU work 2020-06-01 20:57:58 -04:00
Matthew Maring
e2153f9281 Store crz wind data in waypoint 2020-06-01 18:12:33 -04:00
Matthew Maring
b7f153a601 Enabling cycling through waypoints 2020-05-31 21:10:47 -04:00
legoboyvdlp R
856500e871 Merge branch 'mcdu-messages' into dev 2020-05-30 22:25:36 +01:00
legoboyvdlp R
cbc237bbb6 Bugfix the navdisplay. Also, fix sound 2020-05-30 20:03:43 +01:00
Matthew Maring
1f67d08363 Fix vapp, speed logic improvements 2020-05-27 11:59:40 -04:00
legoboyvdlp R
6f698bf473 Will check distance before deleting waypoint. This seems more reliable, in DIRTO 2020-05-25 23:34:34 +01:00
legoboyvdlp R
7291df73f3 Type II messages 2020-05-25 18:56:13 +01:00
legoboyvdlp R
1c77d670aa Load cost index automatically if you try to enter ZFW with no cost index set 2020-05-23 12:43:09 +01:00
legoboyvdlp R
07f6036dc7 INITA: stop input to R1 / L2 if temporary exists 2020-05-23 12:21:03 +01:00
legoboyvdlp R
ccbfee96e5 Port to new method 2020-05-23 12:16:20 +01:00
legoboyvdlp R
97e00861cb Improvements 2020-05-23 01:40:01 +01:00
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