1
0
Fork 0
Commit graph

1627 commits

Author SHA1 Message Date
Stuart Buchanan
fbf4be91e3 c172p update from c172p-team version/2020.4
from https://github.com/c172p-team/c172p/releases/tag/version%2F2020.4
f0e108bca8ebfde42c8496df84dd580716242a0d
2021-09-14 19:34:27 +01:00
Stuart Buchanan
d363c35f4a FG1000: EIS display Emergency Bus, Standby Battery
For the moment the default publisher just uses the the
/systems/electrical/[volts|amps], but aircraft with better
electrical simulations can define their own publisher to
pass in correct data as required.
2021-08-18 20:32:23 +01:00
Stuart Buchanan
c49c6a38c6 FG1000: GMA1347 Audio Interface and NAV/COM active
The G1000 highlights the active NAV and COM radios in cyan.
In the NAV case, this is the radio being used by the CDI.
In the COM case, this is the COM radio selected on the audio panel.
2021-08-18 20:18:57 +01:00
Delta Echo
704ded6d7f FLARM: Improve Startup logic to better handle power outage during startup 2021-08-07 18:24:20 +02:00
PlayeRom
d16aac9bbc Add "Walker" menu to translations 2021-08-04 10:18:30 +02:00
Julian Smith
5a4bc3fc53 Aircraft/Generic/MPCarriers.nas: added support for always tying AI and MP carriers together.
We tie MP and AI carrier together if /sim/mp-carriers/latch-always is true.

This is done by setting /ai/models/carrier[]/ai-latch to the
/ai/models/multiplayer path containing the corresponding Multiplayer
information. C++ code will detect this and copy across the position and
orientation each frame.
2021-07-31 10:29:45 +01:00
Stuart Buchanan
0a9a0527aa FG1000 - Architecture diagram 2021-07-25 20:43:02 +01:00
Stuart Buchanan
1732f1339f FG1000: EIS Battery current display 2021-07-05 17:12:34 +01:00
Stuart Buchanan
3239f8664e FG1000: Add CHT to C182T EIS display 2021-07-05 16:24:59 +01:00
Richard Harrison
d9ffc50011 MP Carrier fixes for loading
Generally this change proves that we probably don't need the MPCarrier model on the target system - because by using the fallback model to load the Nasal this will happen without needing the high detail models at all.

To support this :

- Added fallback models for all carriers (defined as AI scenarios)
- Added logic to fallback models so that MP carriers load correctly
- The model will still be the AI model.
- MPCarriers.nas from MPCarrier/systems now in Aircraft/Generic
2021-06-22 23:40:20 +02:00
Delta Echo
55b0cf802c S3 Vario: Fix bug where the needle became offsetted when the instruments was switched off while non-zero 2021-05-14 12:26:24 +02:00
Delta Echo
b0430822b4 Glider Instruments: Fix duplicate for-loop (AR-6201), Formatting 2021-05-03 15:36:23 +02:00
James Turner
313dc7a3cb KI206: fix heading-card rotation
Thanks to Sascha Reißner and Alan W (forum) for spotting.
2021-05-02 17:13:20 +01:00
Delta Echo
665d95cb69 autochecklist.nas: support <group>ing checklists 2021-03-17 13:20:15 +00:00
Scott Giese
59fd5830ad iCCP Color Profile: c172p fixes 2021-02-27 15:13:56 -06:00
Henning Stahlke
0b62b8b03e Add lights to UFO. 2021-02-07 22:14:56 +01:00
Delta Echo
39a224edbc Add wool-thread to Aircraft/Instruments-3d:
* this was previously included in many glider aircraft in FGAddon, thus now saving space and maintenance work
* it also adds the noshadow animation to make the woolthread compatible with Compositor
* Please note: I was not able to figure out the original author (not me) of the model, texture and xml, but as far as I can see, it should be fine license-wise, since it was included in GPL FGAddon aircraft for ages
2021-02-06 19:26:21 +01:00
James Turner
1474121085 UFO: set marker beacon to standard blink mode 2021-02-03 09:39:46 +00:00
Stuart Buchanan
38ec3d2be8 Ground shaking effect
Addition to the existing headshake/redout to provide some
cockpit shaking effect when traversing rough ground.

Path from Benedikt HALLINGER.
2020-12-30 20:39:08 +00:00
James Turner
eaa31bb422 Missed changes from KAP-140 fixes 2020-12-30 16:39:53 +00:00
James Turner
b42759704f KAP-140:
The ALT-ARM knob should only be arming the altitude interception when 
the AP is activated. When rotating the AP alt-selector knob with 
disabled AP, just the altitude alarm beep is configured.

From Benedikt Hallinger

Ticket-Id: https://sourceforge.net/p/flightgear/codetickets/2489/
2020-12-27 13:59:30 +00:00
James Turner
60b144cf71 Add switching between NAV/APR/REV modes in the default KAP140.
From Benedikt Hallinger

Ticket-Id: https://sourceforge.net/p/flightgear/codetickets/2488/
2020-12-27 13:57:35 +00:00
James Turner
080e1ed403 KAP-140 annunciation fixes
From Benedikt Hallinger

Ticket-Id: https://sourceforge.net/p/flightgear/codetickets/2476/
2020-12-27 13:56:20 +00:00
James Turner
ad6ab066ad Additional fix for KAP-140 LOC/GS ARM
From Benedikt Hallinger

Ticket-Id: https://sourceforge.net/p/flightgear/codetickets/2476/
2020-12-27 13:51:36 +00:00
Stuart Buchanan
466b4e2915 FG1000: Stop attempted duplicate Emesary EIS reg 2020-12-17 22:45:56 +00:00
Stuart Buchanan
b46f5a90da FG1000: Improve Interface loading
Previously it was difficult to create custom EIS as paths
needed to be defined in multiple places.

This change creates a hash of id and paths to make this easier
in the future.
2020-12-17 22:44:08 +00:00
James Turner
0d546f5384 KAP140: improve locking to GS/LOC signals
Patch from Benedkit Hallinger:

This patch introduces a check for valid VOR/LOC as well as GS signals, 
and only if they are valid they will be catched.

See: https://sourceforge.net/p/flightgear/codetickets/2476/
2020-12-17 10:26:00 +00:00
Eatdirt
f8fd14b257 Install a GalacticJet(TM) supercharger kit on the UFO to have a better look to the moon 2020-11-30 10:53:15 +00:00
Stuart Buchanan
d315d69530 Make ufo invisible over MP again
Before fallback models were introduced, the ufo
was invisible to other MP pilots that were not in a
ufo themselves.

When fallback models were introduced, at long range
the ufo was replaced by the glider model, and so became
visible.

This change makes it invisible again by using the ufo as its
own fallback model.  This is safe because the ufo model is
very lightweight and also shipped with fgdata.
2020-11-19 19:34:45 +00:00
Stuart Buchanan
a56d13640d Hide pilot model when walker enabled.
Previously pilot models would stay visible when the
walker was active.  Which is a bit unrealistic given
the walker is supposed to be "you" in some way.

So now the internal pilot is hidden when the walker
is active outside the aircraft.

Fix provided by Benedikt Hallinger
2020-11-19 19:03:07 +00:00
Stuart Buchanan
8cb0faef60 FG1000: Enable mipmapping to
Reduces aliasing artifacts.
2020-11-15 19:33:15 +00:00
Erik Hofman
69c9f31ab5 Show the name of the region where the clicked material is stored. 2020-11-15 09:32:14 +01:00
Stuart Buchanan
8bafe4087e FG1000: GMC710 AFCS Mode controller.
Model by Mark JOSEPH.
2020-10-16 21:52:43 +01:00
Stuart Buchanan
ccedd4252f FG1000: CHECKLIST MFD Softkey 2020-10-13 19:30:29 +01:00
Stuart Buchanan
5080ae8c99 FG1000: Fuel Publisher and PanDown bug-fix
Previously the GenericFuelPublisher would barf if tank contents
weren't defined properly with numbers.

Also the XML and .ac files were inconsistent in their use of PANDown
vs PanDown.

Both spotted by Mark JOSEPH (ePilot). Now fixed.
2020-10-06 21:58:18 +01:00
Erik Hofman
3ea42c9181 Add support for running AISim form the command line using: --aircraft=aisim --aero=<aircraft> 2020-09-25 13:20:52 +02:00
Stuart Buchanan
0c521de80b FG1000: Better handling of VFR transponder code
Support in-sim updates to
/instrumentation/transponder/factory-vfr-code
2020-08-21 15:55:26 +01:00
Stuart Buchanan
f374bfabcb FG1000: Make VFR transponder code configurable
Reads from /instrumentation/transponder/factory-vfr-code
on startup.
2020-08-21 15:06:30 +01:00
Stuart Buchanan
8a7bc16829 FG1000: Fix setting 7xxx transponder codes
Previously select XPDR->CODE->7 and then another number caused very odd
transponder codes.  Turns out this was due to extra whitespace in the
label causing various string concatenations and evaluations to fail.
2020-08-21 12:38:31 +01:00
Stuart Buchanan
c23666a99f FG1000: Volume controls from Julio SANTA CRUZ 2020-07-12 18:43:59 +01:00
Stuart Buchanan
78e9eff433 FG1000: Keyboard input for GCU 47X
From Julio Santa Cruz
2020-07-07 13:28:32 +01:00
Stuart Buchanan
747cb73ca8 FG1000: Support custom SVG Path 2020-07-02 15:28:19 +01:00
James Turner
b2b6e00a1b UFO: adjust to new I18N format for name/desc
Push the translations one level down, to avoid possible ambiguity
2020-06-19 10:47:27 +01:00
Delta Echo
93b287cb21 BXP6401: bugfix 2020-06-06 18:26:01 +02:00
Delta Echo
9f52c0a8da Instruments 3d/ Vario S3: Correct typo in README 2020-06-06 13:55:51 +02:00
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
James Turner
9a140983a7 Initial work on the ISFD
Currently Boeing style and incomplete - lacks alt/speed boxes, LOC/GS
markers and brightness control.
2018-10-24 22:22:24 +01:00
Stuart Buchanan
74a3039b59 FG1000: Wrong .ac file reference for GDU-1045.3.xml 2018-09-30 21:57:56 +01:00
Stuart Buchanan
b83b95751f Bug fix - sendFMSNotification no longer exists.
Reported on the forum:

https://forum.flightgear.org/viewtopic.php?f=71&t=32764&start=120
2018-09-25 20:28:32 +01:00
Stuart Buchanan
7f1a17e9df c172p-detailed update for 2018.3
2342000a07138c82ded88d1b093ef5ad6f63be27

Fix radio frequencies to use location-presets, amphibious
tutorial descriptions.
2018-09-20 10:53:59 +01:00
Stuart Buchanan
8b53b5852f Update from c172p-detailed for 2018.3 release.
https://github.com/c172p-team/c172p/tree/release/2018.3

fee693699561f4479a15dfb0c4df6038e51b81dd
2018-09-16 18:13:13 +01:00