Board index FlightGear Development Aircraft

Piper PA28-161 Warrior II

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

Piper PA28-161 Warrior II

Postby it0uchpods » Wed Aug 23, 2017 12:38 am

HELLO!
I have here a project for 6 or so months, with Gerhard Kick.

Let me explain:
I've begun flight training in real life, in a PA28-161 Warrior II. So I had desire to make the FGFS version better!
After answering one of his posts, Gerhard approached me with some more questions about the pa28-161 aircraft, and we started working via PM. Soon, we had GIT set-up, and progress was coming along great! However, I felt that the not-so-accurate YaSim FDM was not a strong point. Therefore, I created a new JSBsim FDM based on manuals, and my real life experience. This also required a entire Systems rewrite, with new Electrical, Fuel, Engine and more!

This is not finished work yet, but I call it STABLE BETA version. Enjoy from my GitHub: http://www.github.com/it0uchpods/PA28-Warrior.git
Make sure you rename it to "PA28-Warrior" or else some bad things may happen...

Hope you enjoy.

Features:
Advanced JSBsim FDM with accurate flight controls
Custom Electrical system with Alternator, Elec Master, and Avionics buses
Custom Fuel Management with correct consumption and tank switching
Custom IT-AUTOFLIGHT:GA autopilot with KAP140 Dual Axis Autopilot with Altitude Preselect Skin
Custom Mixture System
Sexy Wood Panels
Your Choice: Lycoming O-320 160HP, or Lycoming O-360 180HP
Aircraft Config with loadable panel states
Extensive Tutorials and Documentation (WIP)

ToDo:
More FDM work
Minor navigation improvements
More Panel variations
Better Sounds
Other cool stuff!
Update Documentation for new improvements

Kind Regards,
Josh
Last edited by it0uchpods on Sat Sep 01, 2018 12:59 am, edited 1 time in total.
it0uchpods/WTF411

FGFS Aircraft Developer
Lead Programmer at it0uchpods Design Group
Download High Quality Aircraft from it0uchpods Hangar
User avatar
it0uchpods
 
Posts: 3567
Joined: Tue Oct 06, 2015 12:51 pm
Version: 2018.2.1
OS: Windows 10 x64

Re: Piper PA28-161 Warrior II FGNavigator

Postby it0uchpods » Thu Aug 24, 2017 8:23 pm

Latest improvements:
Livery Select
Nav Source switch works
Minor fixing stuff
2 Panel Options:
* HSI and VOR2 OBS
* DG and OBS for VOR1 and VOR2

Kind Regards,
Josh
it0uchpods/WTF411

FGFS Aircraft Developer
Lead Programmer at it0uchpods Design Group
Download High Quality Aircraft from it0uchpods Hangar
User avatar
it0uchpods
 
Posts: 3567
Joined: Tue Oct 06, 2015 12:51 pm
Version: 2018.2.1
OS: Windows 10 x64

Re: Piper PA28-161 Warrior II FGNavigator

Postby it0uchpods » Sun Nov 19, 2017 4:36 am

Latest news:
PA28-Warrior just received an FDE overhaul. I corrected many errors I made my first attempt at a GA FDE, and improved the feeling of the flight controls, and response.
In addition, Gerhard has been also improving the Sounds, Cockpit, and Nav stuff, and Gabriel has improved lights etc.
https://www.github.com/it0uchpods/PA28-Warrior.git
Please give it a try and report back if you are so inclined!

Kind Regards,
Josh
it0uchpods/WTF411

FGFS Aircraft Developer
Lead Programmer at it0uchpods Design Group
Download High Quality Aircraft from it0uchpods Hangar
User avatar
it0uchpods
 
Posts: 3567
Joined: Tue Oct 06, 2015 12:51 pm
Version: 2018.2.1
OS: Windows 10 x64

Re: Piper PA28-161 Warrior II FGNavigator

Postby wlbragg » Sun Nov 19, 2017 5:45 am

I tried "Ready for Takeoff state and it appeared to hang. Then tried "Ready to Taxi" same thing. Below is the log for a clean first startup of "Ready to Takeoff".

Code: Select all
Initializing HUD Instrument
Reading sound sound from Path "/media/wayne/6d956939-8a58-46df-abe6-e01cd5c26734/FG/Aircraft/itOuchpods/Aircraft/PA28-Warrior/Nsound.xml"
XML sound: couldn't find file: 'PNavSounds/flaps.wav'
XML sound: couldn't find file: 'PNavSounds/alarm.wav'
XML sound: couldn't find file: 'PNavSounds/alarme_fuel.wav'
XML sound: couldn't find file: 'PNavSounds/seatbelt.wav'
XML sound: couldn't find file: 'PNavSounds/lidcreak.wav'
XML sound: couldn't find file: 'PNavSounds/door_close.wav'
XML sound: couldn't find file: 'PNavSounds/starter.wav'
XML sound: couldn't find file: 'PNavSounds/starter.wav'
XML sound: couldn't find file: 'PNavSounds/lancement.wav'
XML sound: couldn't find file: 'PNavSounds/engine-internal.wav'
XML sound: couldn't find file: 'PNavSounds/engine.wav'
XML sound: couldn't find file: 'PNavSounds/prop.wav'
XML sound: couldn't find file: 'PNavSounds/rumble.wav'
XML sound: couldn't find file: 'PNavSounds/squeal.wav'
XML sound: couldn't find file: 'PNavSounds/wind.wav'
XML sound: couldn't find file: 'PNavSounds/stall.wav'
XML sound: couldn't find file: 'PNavSounds/crash.wav'
Creating subsystems took:1667
Splash screen progress binding-subsystems
Failed to load file: "Aircraft/PA28-Warrior/Models/light/flash.xml"
Failed to load file: "Aircraft/PA28-Warrior/Models/light/flash.xml"
Failed to load file: "Aircraft/PA28-Warrior/Effects/tyre-smoke-nose.xml"
Failed to load file: "Aircraft/PA28-Warrior/Effects/tyre-smoke-right.xml"
Failed to load file: "Aircraft/PA28-Warrior/Effects/tyre-smoke-left.xml"
Failed to load file: "Aircraft/PA28-Warrior/Models/Instruments/KLN90B/kln90b.xml"
Failed to load file: "Aircraft/PA28-Warrior/Models/instruments/man/man.xml"
Failed to load file: "Aircraft/PA28-Warrior/models/trimw/trimwheel.xml"
Could not find at least one of the following objects for axis animation: click-R-axis
Failed to load file: "Aircraft/PA28-Warrior/Models/SVN/svn.xml"
Failed to load file: "Aircraft/PA28-Warrior/Models/instruments/ELT/ArtexELT.xml"
Failed to load submodel: Model file not found: 'Fe_Bottle.ac'
 at /media/wayne/6d956939-8a58-46df-abe6-e01cd5c26734/FG/Aircraft/itOuchpods/Aircraft/PA28-Warrior/Models/FE/fe.xml
   from:
Failed to load file: "Aircraft/PA28-Warrior/Models/Batterygauge/batterygauge.xml"
Failed to load submodel: Model file not found: 'Aircraft/pa28-Warrior/Models/instruments/ki266/dme.ac'
 at /media/wayne/6d956939-8a58-46df-abe6-e01cd5c26734/FG/Aircraft/itOuchpods/Aircraft/PA28-Warrior/Models/instruments/ki266/dme.xml
   from:
Could not find at least one of the following objects for axis animation: click-digit1-L-axis
Could not find at least one of the following objects for axis animation: click-digit2-L-axis
Could not find at least one of the following objects for axis animation: click-digit3-L-axis
Could not find at least one of the following objects for axis animation: click-digit4-L-axis
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
Volcanic activity off.
HUD: Cannot find configuration file 'Aircraft/PA28-Warrior/Huds/Pa161HUD.xml'.
Loading local weather routines...
loadxml: Cannot find XML property file 'Path "Aircraft/PA28-Warrior/dialogs/windsim.xml"'.
Nasal runtime error: Dialog class: XML dialog must have <name>
  at /home/wayne/FGFS/install/flightgear/fgdata/Nasal/gui.nas, line 335
  called from: /home/wayne/FGFS/install/flightgear/fgdata/Nasal/gui.nas, line 315
  called from: /home/wayne/FGFS/install/flightgear/fgdata/Nasal/globals.nas, line 119
Nasal runtime error: container index not scalar
  at /home/wayne/FGFS/install/flightgear/fgdata/Nasal/gui.nas, line 317
  called from: /media/wayne/6d956939-8a58-46df-abe6-e01cd5c26734/FG/Aircraft/itOuchpods/Aircraft/PA28-Warrior/Nasal/libraries.nas, line 13
loadxml: Cannot find XML property file 'Path "Aircraft/Pa28-Warrior/Dialogs/immat.xml"'.
Nasal runtime error: Dialog class: XML dialog must have <name>
  at /home/wayne/FGFS/install/flightgear/fgdata/Nasal/gui.nas, line 335
  called from: /home/wayne/FGFS/install/flightgear/fgdata/Nasal/gui.nas, line 315
  called from: /home/wayne/FGFS/install/flightgear/fgdata/Nasal/globals.nas, line 119
Nasal runtime error: container index not scalar
  at /home/wayne/FGFS/install/flightgear/fgdata/Nasal/gui.nas, line 317
  called from: /media/wayne/6d956939-8a58-46df-abe6-e01cd5c26734/FG/Aircraft/itOuchpods/Aircraft/PA28-Warrior/Nasal/immat.nas, line 22
Cannot find Nasal script 'Aircraft/PA28-Warrior/Models/Instruments/elt/ELTmessage.nas' for module 'libraries'.
KMA20 audio panel initialized
KI266 dme indicator #0 initialized
KCS55 pictorial navigation system initialized
Hobbs Meter #0 loaded
KLN-90B GPS  ...Check
Starting hard-coded terrain presampling
Nasal runtime error: No such member: variousReset
  at /media/wayne/6d956939-8a58-46df-abe6-e01cd5c26734/FG/Aircraft/itOuchpods/Aircraft/PA28-Warrior/AircraftConfig/acconfig.nas, line 77
  called from: /media/wayne/6d956939-8a58-46df-abe6-e01cd5c26734/FG/Aircraft/itOuchpods/Aircraft/PA28-Warrior/AircraftConfig/acconfig.nas, line 142
  called from: /media/wayne/6d956939-8a58-46df-abe6-e01cd5c26734/FG/Aircraft/itOuchpods/Aircraft/PA28-Warrior/AircraftConfig/acconfig.nas, line 168
  called from: /sim/bindings/gui/binding[14], line 1


I couldn't get it to start manually either.
Kansas(2-27-15)/Ohio/Midwest scenery development.
KEQA (2-27-15), 3AU, KRCP Airport Layout
User avatar
wlbragg
 
Posts: 4181
Joined: Sat Aug 25, 2012 11:31 pm
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Debain/nVGT640

Re: Piper PA28-161 Warrior II FGNavigator

Postby it0uchpods » Sun Nov 19, 2017 2:14 pm

Seems like it can't find a lot of stuff for some reason. That is rather odd, I didn't have that issue. I think it might be related to your path being Aircraft/it0uchpods/Aircraft, maybe the double aircraft is causing problems.

Kind Regards,
Josh
it0uchpods/WTF411

FGFS Aircraft Developer
Lead Programmer at it0uchpods Design Group
Download High Quality Aircraft from it0uchpods Hangar
User avatar
it0uchpods
 
Posts: 3567
Joined: Tue Oct 06, 2015 12:51 pm
Version: 2018.2.1
OS: Windows 10 x64

Re: Piper PA28-161 Warrior II FGNavigator

Postby it0uchpods » Sun Nov 19, 2017 4:13 pm

Confirmed these are all case errors, will again warn the team about case sensitive paths. Fixing now.

@wlbragg, you should be able to use it now, please report any further ones I may have missed from your log.

Kind Regards,
Josh
it0uchpods/WTF411

FGFS Aircraft Developer
Lead Programmer at it0uchpods Design Group
Download High Quality Aircraft from it0uchpods Hangar
User avatar
it0uchpods
 
Posts: 3567
Joined: Tue Oct 06, 2015 12:51 pm
Version: 2018.2.1
OS: Windows 10 x64

Re: Piper PA28-161 Warrior II FGNavigator

Postby wlbragg » Mon Nov 20, 2017 1:38 am

Yes, fixed the startup issues.

Some other items now.

After startup the HUD is visible by default. Personally I don't think it should be, but I understand if that is your preference.

Image
After "Ready for Takeoff" this little prompt is left until I close it. Don't know if that was supposed to be this way?

The landing light. Look at the J3Cub (actually the PA-18) c172p to see how I handled the landing/taxi light for interior and exterior views. The PA-18 (J3Cub) has it too but it is using a little bit different light scheme for the interior view because its a tail dragger.
Image
Image
Image
Image


Image
I'm not sure what this is all about. This happens when rolling out to take off if I get off the pavement onto the dirt or grass. I think maybe it is something going haywire with the dust effect?

Now for something nice to say instead of critiques...
Image
Last edited by wlbragg on Mon Nov 20, 2017 4:18 am, edited 1 time in total.
Kansas(2-27-15)/Ohio/Midwest scenery development.
KEQA (2-27-15), 3AU, KRCP Airport Layout
User avatar
wlbragg
 
Posts: 4181
Joined: Sat Aug 25, 2012 11:31 pm
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Debain/nVGT640

Re: Piper PA28-161 Warrior II FGNavigator

Postby it0uchpods » Mon Nov 20, 2017 3:35 am

Hey Wayne
1) Odd, it should just say "Panel state loaded successful" or something like that. Weird.
2 OK, I will, would be great --- the Airbus' suffer from this same problem. (can you link me that exact c172 so I know I have correct version?)
3) Never seen that before...
4) Nice picture!

What'd you think about the rest, systems, FDM?

Kind Regards,
Josh
it0uchpods/WTF411

FGFS Aircraft Developer
Lead Programmer at it0uchpods Design Group
Download High Quality Aircraft from it0uchpods Hangar
User avatar
it0uchpods
 
Posts: 3567
Joined: Tue Oct 06, 2015 12:51 pm
Version: 2018.2.1
OS: Windows 10 x64

Re: Piper PA28-161 Warrior II FGNavigator

Postby wlbragg » Mon Nov 20, 2017 4:18 am

can you link me that exact c172 so I know I have correct version?

The c172p that comes in fgdata or the dev repo They will both have it. If I get a chance in the next week or so I'll see if I can set it up for you if you want.
Kansas(2-27-15)/Ohio/Midwest scenery development.
KEQA (2-27-15), 3AU, KRCP Airport Layout
User avatar
wlbragg
 
Posts: 4181
Joined: Sat Aug 25, 2012 11:31 pm
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Debain/nVGT640

Re: Piper PA28-161 Warrior II FGNavigator

Postby it0uchpods » Mon Nov 20, 2017 5:38 am

Thx,
J
it0uchpods/WTF411

FGFS Aircraft Developer
Lead Programmer at it0uchpods Design Group
Download High Quality Aircraft from it0uchpods Hangar
User avatar
it0uchpods
 
Posts: 3567
Joined: Tue Oct 06, 2015 12:51 pm
Version: 2018.2.1
OS: Windows 10 x64

Re: Piper PA28-161 Warrior II FGNavigator

Postby wlbragg » Mon Nov 20, 2017 4:26 pm

What'd you think about the rest, systems, FDM?

I missed this line.

Over all my first impressions were favorable. I'm using mouse and keyboard so my feel of the controls may be skewed. I felt it was a little loose. I am used to the c172p and the Cub-PA-18 so anything different I notice. I was having a little bit of trouble rolling back and forth trying to settle into a stable flight because of the "looseness". I don't know that I am describing this very well. It seemed slow to respond to my control input so I kept rocking back and for while trying to go straight. That could be my controls, it could be my frame rate, it could be that I am just not used to it. It made it feel like I was really floating on air, but a little harder to control precisely. Both of the the aircraft I am used to I would say are tight, so maybe they're a little off and I am not used to this.

I took off and landed successfully so that was a good thing.

I wanted to click on the headset on my dash and either put on the headphones or hide them, they were bugging me. :lol:

I'll have to fly it some more and use more of its features. So far I like and I like that model aircraft in particular.
Kansas(2-27-15)/Ohio/Midwest scenery development.
KEQA (2-27-15), 3AU, KRCP Airport Layout
User avatar
wlbragg
 
Posts: 4181
Joined: Sat Aug 25, 2012 11:31 pm
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Debain/nVGT640

Re: Piper PA28-161 Warrior II FGNavigator

Postby it0uchpods » Mon Nov 20, 2017 5:05 pm

Hey
Well, after having a chance to fly the C172 in real life, I noticed the C172 in FG is extremely over sensitive in the flight controls. I tried to match the controls of this plane as closely to how the PA28-161 I fly in real life, and I think I got close. The roll, especially, is not so sensitive. I also tried to match the inertia as closely as I could when the controls were centered.

I can add a hide option for that possible, I'll bring that up with gerhard.

Glad you are enjoying, thanks for feedback.

Kind Regards,
Josh
it0uchpods/WTF411

FGFS Aircraft Developer
Lead Programmer at it0uchpods Design Group
Download High Quality Aircraft from it0uchpods Hangar
User avatar
it0uchpods
 
Posts: 3567
Joined: Tue Oct 06, 2015 12:51 pm
Version: 2018.2.1
OS: Windows 10 x64

Re: Piper PA28-161 Warrior II FGNavigator

Postby wlbragg » Mon Nov 20, 2017 5:22 pm

Well, after having a chance to fly the C172 in real life, I noticed the C172 in FG is extremely over sensitive in the flight controls.

I've heard that before, maybe we can do something about it at some point. I have no context as to how it should feel. I actually flew in a couple a few times when I was in my early teens. So long ago there is no way I could apply my impressions as to how it felt into making a sim of one now.

I need to spend some time in yours to really get the feel for it. If you're comparing your real life experience to what your programming in the sim, then great, I believe you, it certainly feels like I am "flying" it.

I am of the opinion these aircraft simulations should be and feel as close to the real thing as possible, so who better to judge that than someone that has been in one and felt the real thing.

Continuing on. I noticed the inside frame and the outside fuselage are "raw", yes, there is still some of the effects to be applied and possibly some better textures?

I think this is a great start to what I hope to be a polished aircraft at some point in the future. If only there was unlimited time and resources to throw at these projects!
Kansas(2-27-15)/Ohio/Midwest scenery development.
KEQA (2-27-15), 3AU, KRCP Airport Layout
User avatar
wlbragg
 
Posts: 4181
Joined: Sat Aug 25, 2012 11:31 pm
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Debain/nVGT640

Re: Piper PA28-161 Warrior II FGNavigator

Postby it0uchpods » Mon Nov 20, 2017 7:12 pm

hi wayne,
Yes.

There is no 3D guy working on this plane right now, so yes, it is in need of much work!

I need to correct something I noticed today about aileron performance, maybe that will help, I made a typo.

Kind Regards,
Josh
it0uchpods/WTF411

FGFS Aircraft Developer
Lead Programmer at it0uchpods Design Group
Download High Quality Aircraft from it0uchpods Hangar
User avatar
it0uchpods
 
Posts: 3567
Joined: Tue Oct 06, 2015 12:51 pm
Version: 2018.2.1
OS: Windows 10 x64

Re: Piper PA28-161 Warrior II FGNavigator

Postby it0uchpods » Tue Aug 28, 2018 1:17 am

Hi,
After flying the real plane today, and immediately flying this Warrior after, I found numerous issues with the Aerodynamics.

The result is:
* Many improvements to drag axis
* Fixed a few things in lift axis
* Fixed some stuff FCS
* Fixed some cockpit animations
* Rework cockpit lighting
* Fix 3D of prop and spinner
* Fixes to landing light by TheAlexP
* Animated gear tires
* Some fixes to instruments
* Fixed a few bugs
* Replaced engines and prop files with much better ones.

Kind Regards,
Josh
it0uchpods/WTF411

FGFS Aircraft Developer
Lead Programmer at it0uchpods Design Group
Download High Quality Aircraft from it0uchpods Hangar
User avatar
it0uchpods
 
Posts: 3567
Joined: Tue Oct 06, 2015 12:51 pm
Version: 2018.2.1
OS: Windows 10 x64

Next

Return to Aircraft

Who is online

Users browsing this forum: No registered users and 6 guests