Board index FlightGear Development Aircraft

DHC-6 Twin Otter development

Questions and discussion about creating aircraft. Flight dynamics, 3d models, cockpits, systems, animation, textures.

Re: DHC-6 Twin Otter development

Postby Volador » Sat Jul 30, 2022 5:17 pm

Nice work, I always noticed the dive or sudden climb. Are you going to get your alterations pushed to the 'official' hanger?
User avatar
Volador
 
Posts: 1140
Joined: Tue Sep 01, 2020 4:58 pm
Callsign: Volador, G-VLDR
Version: 2020.4
OS: Windows 10, 64 bit

Re: DHC-6 Twin Otter development

Postby SurferTim » Sat Jul 30, 2022 5:23 pm

I don't know about FGAddon. I like the fact i control the changes. Please feel free to "steal" anything from my code you might find useful.

I presume you use the version of the Twin Otter in FGAddon, but it only has my engines as an option. Mine shows as DHC6P on the map. I think the FGAddon PT-34 engines shows as DHC6P also.

There is no Citation-X in FGAddon AFAIK. I might be willing to put that in FGAddon. I've circumanvigated with it 23 times, so it is well tested. Refer to my videos in my signature.
\
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1708
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

Re: DHC-6 Twin Otter development

Postby Volador » Sat Jul 30, 2022 5:36 pm

This may have been asked before elsewhere and apologies if this is the wrong thread, but it's clear you know a thing or two about coding -is it possible to trigger a binding by using a listener? - It seems a bit crazy that we're re-writing xml systems in Nasal when it might be possible to press that HDG button using a property listener (an Arduino button boolean) linked to the original developers binding. (I may have misunderstood how everything links in FG though)
User avatar
Volador
 
Posts: 1140
Joined: Tue Sep 01, 2020 4:58 pm
Callsign: Volador, G-VLDR
Version: 2020.4
OS: Windows 10, 64 bit

Re: DHC-6 Twin Otter development

Postby SurferTim » Sat Jul 30, 2022 5:40 pm

Somebody else may be more experienced with that, but I would not recommend using both a listener and binding, unless you plan on using separate variables/properties on each, one triggering the other.
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1708
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

Re: DHC-6 Twin Otter development

Postby Hooray » Wed Aug 03, 2022 9:26 pm

the most portable way is using dedicated fgcommands for things like that, which could internally be implemented using Nasal functions - if you'd like this to work across multiple instances (multiplayer, multi-pilot etc), then you'd want to use Emesary.

The FG1000 is using this kind of setup, and it's this that would allow an existing cockpit to be operated from different front-ends (the actual cockpit, a GUI dialog, or Phi, telnet, dedicated hardware)
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU

Re: DHC-6 Twin Otter development

Postby psyduck » Thu Sep 08, 2022 8:15 pm

my bugs report:

engines sounds left / right inverted .

electric generator of the left engine is inactive

only the left engine supply air to artificial horizon

autopilot shut down when exterior temperature is negative.
psyduck
 
Posts: 56
Joined: Wed Apr 08, 2020 12:26 pm
Callsign: psyduck

Re: DHC-6 Twin Otter development

Postby SurferTim » Fri Sep 09, 2022 5:07 am

I'll check those on my version. Last I heard from dg-505, he didn't have the time to maintain the FGAddon version. It hasn't been modified in over a year.

I presume you mean the engine sounds are inverted like left is right, and right is left. Is that correct?

I haven't tried the Twin Otter in sub-zero conditions. I'll check my version.

If that is your only complaint about the autopilot, you haven't checked it very well. The engage/disengage glitches nose down, overshoots altitude, and the glideslope intercept is jerky. Corrected in my version.
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1708
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

Re: DHC-6 Twin Otter development

Postby psyduck » Fri Sep 09, 2022 12:58 pm

SurferTim wrote in Fri Sep 09, 2022 5:07 am:
I presume you mean the engine sounds are inverted like left is right, and right is left. Is that correct?



yes. but it's not really flagrant.
psyduck
 
Posts: 56
Joined: Wed Apr 08, 2020 12:26 pm
Callsign: psyduck

Re: DHC-6 Twin Otter development

Postby SurferTim » Fri Sep 09, 2022 4:15 pm

Considering the Y axis gets larger to the right, then a lot of the engine sounds on my version were on the wrong side. Mostly left engine sound on the right side of the aircraft. Never noticed it before.

I've changed my personal copy, and after I test it, I'll upload it to GitHub.

Edit: I checked the FGAddon version, and it appears you are correct. All engine/prop sounds are on the wrong side.
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1708
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

Re: DHC-6 Twin Otter development

Postby TheEagle » Fri Sep 09, 2022 5:55 pm

@Surfertim why doesn't your version contain the JSBsim FDM ?
Cessna 210 (Wiki)
My other aircraft: my wiki profile !
Other: FGTools (GitHub)
World tour: View on SkyVector
Please consider donating $1 / €1 to help me finance a new camera !
User avatar
TheEagle
 
Posts: 3411
Joined: Sat May 01, 2021 3:27 pm
Location: France
Pronouns: You, he
Callsign: F-EAGLE
IRC name: none
Version: Git next
OS: Ubuntu Studio 22.04

Re: DHC-6 Twin Otter development

Postby SurferTim » Fri Sep 09, 2022 6:43 pm

Don't know. I didn't modify the FDM, just the horsepower on the engines.

Most of my changes are just minor, like sound and minor equipment fixes.

Edit: I see there was two files that used JSBSim, but I don't know what happened to them. I don't remember removing them. Got my version here:
http://mirrors.ibiblio.org/flightgear/ftp/Aircraft/

I might have failed to copy those files when I changed the folder name to dhc6p.
Last edited by SurferTim on Fri Sep 09, 2022 7:02 pm, edited 1 time in total.
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1708
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

Re: DHC-6 Twin Otter development

Postby TheEagle » Fri Sep 09, 2022 7:01 pm

Well check for yourself - the FGAddon version has a JSBSim FDM, yours doesn't. FGAddon version for example has an Engines folder, yours doesn't.
Cessna 210 (Wiki)
My other aircraft: my wiki profile !
Other: FGTools (GitHub)
World tour: View on SkyVector
Please consider donating $1 / €1 to help me finance a new camera !
User avatar
TheEagle
 
Posts: 3411
Joined: Sat May 01, 2021 3:27 pm
Location: France
Pronouns: You, he
Callsign: F-EAGLE
IRC name: none
Version: Git next
OS: Ubuntu Studio 22.04

Re: DHC-6 Twin Otter development

Postby SurferTim » Fri Sep 09, 2022 7:06 pm

I'm not using the FGAddon version. I did not start with it. The sound is wrong. The autopilot is buggy. I don't want to start over.

As I recall, when I first started with FG, I had some serious problems with JSBSim.
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1708
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

Re: DHC-6 Twin Otter development

Postby TheEagle » Fri Sep 09, 2022 7:48 pm

Ah okay.
Cessna 210 (Wiki)
My other aircraft: my wiki profile !
Other: FGTools (GitHub)
World tour: View on SkyVector
Please consider donating $1 / €1 to help me finance a new camera !
User avatar
TheEagle
 
Posts: 3411
Joined: Sat May 01, 2021 3:27 pm
Location: France
Pronouns: You, he
Callsign: F-EAGLE
IRC name: none
Version: Git next
OS: Ubuntu Studio 22.04

Re: DHC-6 Twin Otter development - web panel?

Postby rooman » Tue Jan 10, 2023 4:12 pm

Hi guys, following developement with interest, tuning my arduino simpit to fly with this plane but I cannot find the webpanel in the files. There is something somewhere right?

This link is broken
Code: Select all
https://c.gmx.net/@327459158418791162/Q10lah9nSR2dQuwi5l0DAQ
Grew up with Dr Who then discovered Monty Python and Middle Earth. The world was never the same.
rooman
 
Posts: 169
Joined: Sun Apr 12, 2015 7:26 pm
Location: Lausanne, Switzerland
Callsign: HB-ROO
Version: Next + LTS
OS: Ubuntu latest stable

PreviousNext

Return to Aircraft

Who is online

Users browsing this forum: No registered users and 19 guests