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

Garmin GPSMap 196 on yoke #510

Open
jakkos98 opened this issue Oct 8, 2023 · 3 comments · May be fixed by #511
Open

Garmin GPSMap 196 on yoke #510

jakkos98 opened this issue Oct 8, 2023 · 3 comments · May be fixed by #511

Comments

@jakkos98
Copy link

jakkos98 commented Oct 8, 2023

Hi
I managed to add Garmin GPSMap 196 from fgdata to C182s.
Since my goal was to add this GPS in such a way that it would not interfere with the observation above the glareshield and without modifying the panel model, I decided to attach it to the pilot's yoke.

The current implementation allows the GPS to be hidden with the same level of transparency as the yoke when hidden, but lacks the GUI or clickspot to completely remove it from the cockpit as in the C172p when hidden in the glovebox and correct backlight.
image
image
image

c182_gps196.mp4

To add this GPS you need to modify/add the following files:

  • c182s-set from main aircraft directory
  • interior-model-c182s in c182s/Models
  • copy garmin196 directory from fgddata to c182s/Models/Instruments
  • optionaly garmin196 texture from c172s if prefered black insted of grey

Bellow I attach those files, but I'm unsure if are compatible with latest c182s version, so I advice to copy only parts of code needed to garmin 196 (look for garmin196 in code).
c182s_garmin196.zip

Best regards
Pozdrawiam

Jakub Kosakowski
#511

@hbeni
Copy link
Collaborator

hbeni commented Oct 8, 2023

Cool addition, but I have some questions:

  • a good thing would be if you cloned the repo and filed a pull request containing the changes
  • How is this affecting FPS/Performance?
  • How exactly is the GPS integrated into the planes avionics (failure simulation, electric power, gps circuit braker?)
  • I think a good idea would be to add a (persistent) checkbox in the aircraft dialog, and when switched off completely removes the gps. Would be good id this would save all performance affecting calculations.

@jakkos98
Copy link
Author

jakkos98 commented Oct 8, 2023

  1. I will clone the repository and submit a pull request.
  2. I don't see any significant impact on FPS. As with C172, slight delay when starting the unit (can be removed by disabling city list loading).
  3. GPSMap196 operates as a semi-standalone unit, so there is no avionics integration, but it currently shows the route in both the route manager and on the map. I am working on adding another GPS module made by tdammers that will be integrated with the avionics systems and gpsmap196 should remain fully standalone. For now, they cannot be both used properly at the same time because they share the same flight plan.
  4. I will make a checkbox in the plane dialog in the cloned repository.

@jakkos98 jakkos98 linked a pull request Oct 8, 2023 that will close this issue
5 tasks
@hbeni hbeni linked a pull request Oct 10, 2023 that will close this issue
5 tasks
@stuartbuchanan
Copy link
Collaborator

stuartbuchanan commented Nov 3, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants