1
0
Fork 0
Commit graph

1532 commits

Author SHA1 Message Date
Stuart Buchanan
07c21660d8 FG1000 - make Debug menu items more efficient
Previously a completely new PFD or MFD was created when the Debug
menu items were used.  This cause significant slowdown if used
multiple times.  Now we just create one instance of each and re-use it.

Also clean up redundant code in the GUI.
2020-05-26 22:20:38 +01:00
Stuart Buchanan
0ce0e436ec Generalize pilot model support
Adds standard view option to enable pilot models.
Set /sim/rendering/pilot-model/available=true in aircraft
using pilot models.

/sim/rendering/pilot-model/enabled is used by users to
enable/disable the pilot models from the View Options dialog.

Note that pilot models are only visible for non-internal views.
2020-05-24 19:05:14 +01:00
Delta Echo
71b66dce64 Aircraft - Instruments 3D - addition of new (mostly) glider instruments: AR-6201 (comm), BXP-6401 (xpdr), FLARM and LX vario S3 2020-05-24 19:37:48 +02:00
Stuart Buchanan
3c7ea51fca FG1000: New fascia and support resize of windows
FG1000 now allows you to resize the GUI windows (thanks to Henning
for the pointer)

Now including updated fascia.  Thanks to Michat.
2020-05-12 21:41:07 +01:00
Julian Smith
e70a4c228c Aircraft/Generic/aar.nas: open popup warning if no probe/boom specified.
Might help debugging when adding air-to-air refueling to an aircraft.
2020-05-01 20:13:35 +01:00
Stuart Buchanan
8c3fb681da FG1000 - Add missing XML headers. 2020-04-12 13:27:07 +01:00
Stuart Buchanan
67b8af5ea2 c172p for 2020.1
From the c172p-team

https://github.com/c172p-team/c172p/releases/tag/version%2F2020.1

Commit 5c870e4559434393c6985ae8ae4c11132a3d2030
2020-04-01 18:43:35 +01:00
James Turner
de2c42d908 CDU: add page accessor for testing 2020-03-23 12:55:56 +00:00
Stuart Buchanan
3caa899068 FG1000 - NRST PFD Function
Implement the Nearest Airports PFD softkey, displaying a scrollable
list of the closest 25 airports within 200nm.

Also fix a couple of minor bugs and add self-checking to the
GroupElement
2020-03-12 21:39:23 +00:00
Stuart Buchanan
76cfa2c077 FG1000 and MFD handle non-MFD Emesary notifications
Previously the FG1000 and MFD assumed that all notifications received
via Emesary had a Device_Id field.  This is true for
notifications.PFDEventNotification.DefaultType but not for other
messages - e.g. those generated by the AN SPN 46  system on the
carrier.

The effect of this was that when Nimitz was loaded, the FG1000 stopped
working with various errors.

This fix checks the notification type before the Device_Id.
2020-03-12 17:25:34 +00:00
Stuart Buchanan
f707840b10 FG1000: Fix RANGE, HDG, CRS knob behaviour
- Make Range knob behaviour consistent between PFD inset and MFD maps
- Add rotation animations for the HDG and CRS knobs
- Change the CRS knob behaviour:
  - BARO on outer knob (consistent with FMS knob)
  - CRS on inner knob
  - Shift-click on inner knob to center (consistent with HDG knob)
2020-02-29 19:23:51 +00:00
Colin Geniet
755d66e9bc Glider vario: Fix slight scratch in vario sound
The begining and end of the ilec-sc7 continuous beep sound did not match
well, causing a repetitive scratch, audible at high volume.
2020-02-27 20:05:40 +01:00
Colin Geniet
59b9aeb271 Glider vario: Add nasal controller for sound pitch
Adds a sound frequency controller to glider-instrumentation-sdk.nas,
used for the ilec-sc7. This allows:
- Simpler <sound>.xml files to integrate the glider variometer.
- More accurate frequency scaling (frequency scales exponentially with
vertical speed, so that perceived changes in pitch are linear with
vertical speed).
- Fixes that the variometer sound would not drop at negative vertical
speeds.
2020-02-27 20:05:40 +01:00
Colin Geniet
741fc5c43b Glider vario: Add battery level to ilec-sc7
Code by: Delta Echo <echoair@t-online.de>
2020-02-27 20:05:40 +01:00
Colin Geniet
3a7519dc78 Glider vario: Improve ilec-sc7 texture
Texture by: Gilberto Agostinho <gilbertohasnofb@gmail.com>
2020-02-27 20:05:29 +01:00
vezza
8d2ead194e fix typo (jsbsim output's in thrust_lb property instead of thrust-lbs) 2020-02-18 21:32:03 +01:00
James Turner
e98ffffba4 Some additional CDU formatters
This is part of the Boeing 737 FMC work, adding cruise/climb pages
which have these paired speed or time-distance fields
2019-11-10 15:29:01 +00:00
Stuart Buchanan
d02ad7922b FG1000 bugfixes
- Simulate solid-state gyro for orientation
- Improve behaviour restarting interfaces
- Improve generic support through Debug menu.
2019-09-25 20:52:54 +01:00
Julian Smith
4f260baf43 Aircraft/c172p/Models/Effects/: fix path for Aircraft/c172p/Models/Effects/exterior/dirt.png.
Avoids warnings like: Texture file not found: 'Models/Effects/exterior/dirt.png'
2019-07-09 16:25:11 +01:00
Stuart Buchanan
018a7c4afa Further c172p fixes.
Manual merge of cf5dd13f83
2019-06-24 19:38:58 +01:00
Stuart Buchanan
cea9d242dd Fix c172p warning messages
Manual merge of cf5dd13f83
2019-06-21 14:54:06 +01:00
Stuart Buchanan
b079fffa13 Updated c172p with 8.33kHz radio stack
https://github.com/c172p-team/c172p/commits/release/2019.1

184e0083293de474c7944b34b8ac71c5e12380fc
2019-06-18 21:31:13 +01:00
James Turner
a0b4a0650c CDU hacking 2019-06-05 22:46:37 +01:00
Stuart Buchanan
0bb7e30ce1 2019.1 C172p
From https://github.com/c172p-team/c172p/releases/tag/version%2F2019.1

Thanks to Gilberto AGOSTINHO and team.
2019-05-15 19:14:04 +01:00
Stuart Buchanan
c9bebd65ed FG1000: Cascading PID controllers for GFC700
Thanks to Josh (it0uchpods) for pointing out my controllers
were not actually cascading.
2019-03-29 16:13:15 +00:00
Stuart Buchanan
6b1db73423 FG1000 - Improved timers
Implement single timer for all highlighting of elements.
2019-03-12 20:33:35 +00:00
Richard Harrison
94d90fa85e AAR: optimised engage/disgengage logic 2019-03-10 15:25:44 +01:00
Richard Harrison
dbcc7f6aee AAR - optimisations
Only scan list of tankers when model added/removed; as otherwise it is a 3to10ms hit each time invoked.
2019-03-10 15:25:43 +01:00
Stuart Buchanan
c234f22daa FG1000: Quality of life improvements
- Pre-load nearest airports to remove significant freeze when the
NearestAirports page is accessed for the first time.
- Update multikey support to provide easy access to commonly used MFD
pages and access to softkeys.
2019-02-22 16:32:55 +00:00
Stuart Buchanan
f09b49e006 FG1000 : APR and GS modes
Approach and GS modes - FG1000 and GFC700 can now be used for
autopilot coupled ILS or GPS approaches

Also:
- FLC mdoe now include an airspeed bug
- VDI indicator beside altitude tape now works
- Marker beacon displays O/M/I as appropriate
2019-02-21 22:09:48 +00:00
Stuart Buchanan
8cb8121231 FG1000: FLC, NAV GPS Autopilot modes 2019-02-17 21:35:32 +00:00
Stuart Buchanan
90b65247eb FG1000: GFC700 ALTS/ALT vertical autopilot modes
GFC700 now supports the Selected Altitude Capture (ALTS) and Altitude
Hold (ALT) modes.

ALTS is automatically armed in more vertical modes, and allows capture
of whatever altitude is selected.
2019-02-14 22:29:01 +00:00
Stuart Buchanan
9d353a3266 FG1000: GFC700 Autopilot Integration
Support for GFC700 autopilot.  Current modes that work: AP, FD, ROL, PIT, HDG, VS
2019-02-10 22:06:31 +00:00
James Turner
78272b5906 Fix mis-named AI aircraft control property 2019-02-03 13:36:32 +00:00
Stuart Buchanan
7da1fd08d3 FG1000 - multikey support. 2019-01-26 15:20:39 +00:00
James Turner
1bcb51baa8 Further ISFD tweaks
- fix a nil value warning when the nav-radio isn’t valid yet
- fix sizing of barometer setting text
2019-01-18 14:55:35 +00:00
James Turner
917db66493 Missed line from ISFD commit, oops. 2019-01-17 09:54:39 +00:00
James Turner
efbd5cbb4f ISFD has ILS bars now in APProach mode 2019-01-17 09:46:04 +00:00
Stuart Buchanan
34db58c529 FG1000: Multikey Support
Add Multikey support for the FG1000 (:GF and :GP) to improve useability
by allowing direct entry of strings.  This is massively easier than
fiddling with the control knobs.

Also correct interface variable name "frequency" to "period", which is
more accurate.
2019-01-14 22:22:20 +00:00
James Turner
45adf8cdd0 Boeing-style CDU, many improvements:
- proper messages stack and API
- paging of scrolled-pages behind static pages works (eg RTE)
- exec API (and cancellation)
- more callbacks / overrides on actions and models
- temporary (modal) page support, eg for waypoint disambiguation
- reload command
2019-01-12 23:47:41 +00:00
Stuart Buchanan
acabed103f FG1000: Local time display, ETE fix. 2019-01-12 21:23:27 +00:00
Stuart Buchanan
e69c77aa8e FG1000: Transponder
Transponder can now be set using PFD softkeys.

(Should also be settable using the FMS knob, but this is not implemented yet)
2019-01-12 20:11:14 +00:00
Stuart Buchanan
f32a376a3e FG1000: EIS Fuel totalizer function
FG1000 requires fuel quantity to be entered manually and uses a flow
computer to calculate the amount used.  Strange but true!
2019-01-11 20:19:09 +00:00
Stuart Buchanan
60e5e787b8 FG1000 - Fix broken GUI display of panels. 2019-01-06 21:09:20 +00:00
Stuart Buchanan
14ad6bb9f9 Grid view for ufo
Addition of a coloured 8x8m lattice box around the UFO, switched on/off using
Ctrl+G.  This is to aid configuration of multi-monitor displays.
2019-01-06 19:41:54 +00:00
James Turner
ad10f5fbde CDU: command interfacing
This allows external processes to drive the CDU via custom commands.
See https://github.com/zakalawe/simpit/tree/master/simCDUDriver for
an example of sending such commands.
2018-12-19 17:22:49 +00:00
Richard Harrison
0200041d74 Fix slowdown when flying with fuel freeze.
Caused by AAR creating a timers that don't get fired and clag up the system.
2018-12-15 16:29:07 +01:00
Anders Gidenstam
0900c9907a JSBSim hydrodynamics: Updated to support JSBSim moments. 2018-11-27 13:52:58 +01:00
James Turner
3c867578dc ISFD enhancements
Adjusted colours to match one photograph, but likely needs more
experimentation to see what looks best.
2018-11-16 13:45:12 +00:00
James Turner
b49619c8c9 ISFS box hookup 2018-11-02 22:01:20 +01:00