Board index FlightGear Development Aircraft

JSBSim Piper J-3 Cub  Topic is solved

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

Re: JSBSim Piper J-3 Cub

Postby Octal450 » Sun Sep 01, 2019 9:10 pm

Alan,
Thanks for the info about the prop. I've just applied this fix into my IDG-PA28 and it is much more realistic!

Do you know if there is documentation about this? I do not recall reading anything like this when I made this prop.

Kind Regards,
Josh
Skillset: JSBsim Flight Dynamics, Systems, Canvas, Autoflight/Control, Instrumentation, Animations
Aircraft: A320-family, MD-11, MD-80, Contribs in a few others

Octal450's GitHub|Launcher Catalog
|Airbus Dev Discord|Octal450 Hangar Dev Discord
User avatar
Octal450
 
Posts: 5565
Joined: Tue Oct 06, 2015 1:51 pm
Location: Huntsville, AL
Callsign: WTF411
Version: next
OS: Windows 11

Re: JSBSim Piper J-3 Cub

Postby Alant » Sun Sep 01, 2019 9:34 pm

I already quoted https://github.com/JSBSim-Team/jsbsim/wiki/Moments-applied-by-a-propeller-to-an-aircraft
This bug report has more details, and gives links to the resulting discussions https://sourceforge.net/p/jsbsim/bugs/110/

Alan
Alant
 
Posts: 1219
Joined: Wed Jun 23, 2010 6:58 am
Location: Portugal
Callsign: Tarnish99
Version: latest Git
OS: Windows 10/11

Re: JSBSim Piper J-3 Cub

Postby Alant » Sun Sep 01, 2019 10:51 pm

The iat.png error can be cured by editing the file dome-light.ac and changing both lines containing
texture "..\temp\iat.png"
to
texture "iat.png"


This is normal text file. Alternatively you can copy iat.png from the temp directory to the one which containes dome-light.ac.
Alan
Alant
 
Posts: 1219
Joined: Wed Jun 23, 2010 6:58 am
Location: Portugal
Callsign: Tarnish99
Version: latest Git
OS: Windows 10/11

Re: JSBSim Piper J-3 Cub

Postby Alant » Sun Sep 01, 2019 11:02 pm

In-air reset - the bug is that this sometimes hangs forever.

Another in-air reset bug was already reported , with a sugested cure, in my post https://forum.flightgear.org/viewtopic.php?f=4&t=28303&p=348717&hilit=brake#p348717.

Alan
Alant
 
Posts: 1219
Joined: Wed Jun 23, 2010 6:58 am
Location: Portugal
Callsign: Tarnish99
Version: latest Git
OS: Windows 10/11

Re: JSBSim Piper J-3 Cub

Postby wlbragg » Mon Sep 02, 2019 4:26 am

The iat.png error can be cured by editing the file dome-light.ac

Actually I don't think dome-light.ac should be using it at all. That is why I said an erroneous texture or material assignment. I think it may be a duplicate material setting that is using that .png. Should probably be removed altogether.
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7574
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: JSBSim Piper J-3 Cub

Postby wlbragg » Tue Sep 03, 2019 11:30 pm

Alan, I think the only two issue you reported left to resolve is the joystick throttle and
In-air reset - the bug is that this sometimes hangs forever

I have as of yet not been able to reproduce these errors.
Can you give me any more specific information as to what I should be seeing and when I should be seeing it?

I read the link talking about the brake being set to "on" when an "In air reset" is executed. I haven't actually looked at that yet but will. I need to determin what exactly an in air reset is and what it is doing in order to know how to handle the brake.
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7574
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: JSBSim Piper J-3 Cub

Postby wlbragg » Mon Dec 30, 2019 9:42 pm

For those interested, I added a new "compositor" compliant branch at https://github.com/wlbragg/J3Cub/tree/compositor
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7574
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: JSBSim Piper J-3 Cub

Postby wlbragg » Thu Jan 30, 2020 5:40 am

New low res texture liveries pushed to all the repositories.
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7574
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: JSBSim Piper J-3 Cub

Postby wlbragg » Fri Jan 31, 2020 6:17 pm

It appears a bug has crept into the manual starting sequence. No idea how long it's been this way. I am usually in a hurry and use autostart.

The issue is the prop just doesn't turn over, it's like there is no power and the prop doesn't turn over.

If you use autostart, shut it down (magnetos to off), then try manual, it suddenly works.
Even when manual start is working, using [s] to turn it over sets the magneto, but incorrectly. It sets it to right (3) instead of both (4). I think because it still uses the fgdata defined key for [s] which probably is set to 3 but the Cub has a "bat" selection in line and need to be set to 4. Plus I don't want "s" (manual start) to set the mags at all.
I need to override the default "s" key.

I'm working on it and hopefully will have a fix soon.
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7574
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: JSBSim Piper J-3 Cub

Postby wlbragg » Fri Jan 31, 2020 7:15 pm

My mistake on the starter issue, I included some oil temp check carried over from the c172p that shouldn't be there.

But while digging into it I discovered that currently there is a limit to being able to start it only from the interior view to protect the Walker.
However, the RL cub requires you to exit the aircraft to start it if your alone, If not alone, your "required" to have a "walker" on the outside to spin the prop. So technically I should add the logic to require you to exit the vehicle or have the walker turned on before allowing a manual start.

On another note, @polly noticed the rear wheel is not a castor wheel. I am amazed I never noticed this before. That needs to be rectified!
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7574
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: JSBSim Piper J-3 Cub

Postby wlbragg » Fri Jan 31, 2020 9:05 pm

I've corrected the manual starter issue and also added castor for amphibious front gear, tail wheel and tail lite-ski.

Pushed to https://github.com/wlbragg/J3Cub for testing.

I'm holding off pushing to fgaddon until we can figure out why it's so touchy.

Thanks to @polly for bringing it to my attention.
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7574
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: JSBSim Piper J-3 Cub

Postby xen_steda » Fri Jan 31, 2020 9:13 pm

Hello, apologizes in advance if this is already known about but when changing the liveries to anything other than the Default, the interiors of the Cub/Super Cub remain the Default Yellow. If this is accurate to how the real planes are then I double apologize. I just was wondering if that is something you may be able to adjust at some point in the future.


Image
The Default Yellow livery is visible here on parts of the interior while the Blue/Gold livery is equipped.


The Turn Indicator also appears to be behaving wonkie (no expert here obviously). No matter what I do to keep the dot in the middle of the dial, it remains on the left side. The screenshot above also shows the Turn Indicator "stuck" on the left side.
xen_steda
 
Posts: 234
Joined: Sun Jan 05, 2020 4:53 pm

Re: JSBSim Piper J-3 Cub

Postby wlbragg » Fri Jan 31, 2020 9:21 pm

The Turn Indicator also appears to be behaving wonkie


Yeah, I noticed that awhile back. It may be nothing more than the wrong point for the rotation animation of the ball.
I need to look into it.

the interiors of the Cub/Super Cub remain the Default Yellow.


Oops, something I missed, I'll get it fixed. Thanks.
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7574
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: JSBSim Piper J-3 Cub

Postby wlbragg » Fri Jan 31, 2020 10:16 pm

I pushed a fix for the livery to the git development repository. I will push it to fgaddon later tonight. But there is a z-fighting issue on the top nose cowling when in the pa-18 variant. I still need to track that down and fix it.

Still need to look at the slip ball.
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7574
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: JSBSim Piper J-3 Cub

Postby xen_steda » Sat Feb 01, 2020 12:53 am

I noticed that on the cowling too but thought it might be my computer. Thanks!
xen_steda
 
Posts: 234
Joined: Sun Jan 05, 2020 4:53 pm

PreviousNext

Return to Aircraft

Who is online

Users browsing this forum: No registered users and 9 guests