Decaff's Garage

Personal work in progress topics go here
User avatar
NajmiCreative
Modding Team
Modding Team
Posts: 782
Joined: Thu Sep 04, 2014 9:14 am
Favorite Aircraft: MiG-29N,SU-30 MKM
Location: Shah Alam,Selangor,Malaysia
OS: Windows 10 Home
Has thanked: 516 times
Been thanked: 500 times
Contact:

Re: Decaff's Garage

Post by NajmiCreative » Thu Apr 21, 2016 6:56 am

the cockpit looks cool!
yet for the "lite" version you can take my modified 747-400 on the VMA Pack...and the cockpit also looks nice yet make some modification for -8 variant (and some more edit if you want make it even more detail)
Image
yet the buttons and gauges all 2d,so good enough for lite version...
My official website
My Twitter NOTE:All my rework model are allowed for repaint and need to credit on publish..no need to PM me anymore
[align=center]for modifications on my mods,please PM me first,and credit me and original creator(if my work were rework)[/align]

User avatar
Turbofan
Senior Veteran
Senior Veteran
Posts: 1904
Joined: Thu Feb 03, 2011 4:22 pm
Favorite Aircraft: Boeing 747, all variants
Location: Central OK
Has thanked: 1010 times
Been thanked: 696 times
Contact:

Re: Decaff's Garage

Post by Turbofan » Thu Apr 21, 2016 11:32 pm

I would suggest making one with the medium-level flightdeck/flightpanel details as has been suggested here, and one completely without, maybe just add in the default instrument panel, similar to what TF 58 has done with the Simple Airliners (747s). That way, for those who have very low-end computers, they can fly the plane with not much lag but those who want the actual flight panel will get a fairly detailed one without comprosiming on FPS rates too much.
Check out my YSFS videos on my Youtube channel!
-----------------------
ATRP: When used in my posts refers to "Air Traffic Replay Project"
-----------------------
Avatar: Pratt and Whitney JT8D-219
-----------------------
My general rant: I will call them blended winglets, not Sharklets; There is no CEO, it's just simply put, an Airbus 319/320/321, or the 320NEO, 321NEO etc. I didn't land IN DAL, I landed AT DAL. On the other hand, I did land in Dallas.
-----------------------
Website GRID updated for 2019. New stuff in the works!
Turbofan's Terminal

Hi! I make average, undesirable, boring grey maps for YS Flight!

User avatar
Copperhead
Veteran
Veteran
Posts: 1149
Joined: Tue Jun 18, 2013 7:00 pm
Favorite Aircraft: YF-23A Black Widow II
Location: Alabama
OS: Windows 7
Has thanked: 369 times
Been thanked: 128 times
Contact:

Re: Decaff's Garage

Post by Copperhead » Fri Apr 22, 2016 6:33 am

Its things like this that make me wonder why decaff is modding for YS and not for FSX or something... We do not deserve and we can not have nice things,... just ask Eric.
Image

^The Murican^

"Well boys, I reckon this is it...nuclear combat toe to toe with the Ruskies." - Major Kong

User avatar
decaff_42
Staff
Staff
Posts: 3563
Joined: Sat Oct 29, 2011 7:23 pm
Favorite Aircraft: SR-71 Blackbird
Location: Eastern United States
OS: Mac OSX
Has thanked: 627 times
Been thanked: 1364 times
Contact:

Re: Decaff's Garage

Post by decaff_42 » Fri Apr 22, 2016 10:33 am

Copperhead wrote:Its things like this that make me wonder why decaff is modding for YS and not for FSX or something.
It is an FSX cockpit originally. I believe I stated that earlier, but it bears repeating.

Anyhoo I like the ideas yu guys have been proposing. Now I'm thinking 3 versions. HD, normal and bare bones just a window frame and forward instrument panel with nothing on it.
Check out my website YSDecaff for all my tutorials and addon releases.
Visit by Bitbucket page for Python codes: https://bitbucket.org/decaff42/

Server Flight Log
Addon Database Submit Addon To Database

User avatar
decaff_42
Staff
Staff
Posts: 3563
Joined: Sat Oct 29, 2011 7:23 pm
Favorite Aircraft: SR-71 Blackbird
Location: Eastern United States
OS: Mac OSX
Has thanked: 627 times
Been thanked: 1364 times
Contact:

Re: Decaff's Garage

Post by decaff_42 » Sat Apr 23, 2016 10:31 pm

Creating all-new screen displays. I'm tempted to animated some of them, but that may be pushing things a bit too far. :D This is already complicated enough.
Image
Check out my website YSDecaff for all my tutorials and addon releases.
Visit by Bitbucket page for Python codes: https://bitbucket.org/decaff42/

Server Flight Log
Addon Database Submit Addon To Database

User avatar
ksh
Veteran
Veteran
Posts: 636
Joined: Sun Jan 25, 2015 10:15 pm
Favorite Aircraft: Concorde; F-15; Embraer 190; F-35
Location: Buenos Aires, Argentina
Has thanked: 150 times
Been thanked: 229 times
Contact:

Re: Decaff's Garage

Post by ksh » Sat Apr 23, 2016 10:35 pm

decaff_42 wrote:Creating all-new screen displays. I'm tempted to animated some of them, but that may be pushing things a bit too far. :D This is already complicated enough.
Image
that´s awesome! i thought flash had the best cockpit ever with the vulcan, but this is going into my number one veeeeeery fast!

User avatar
u2fly
Senior Veteran
Senior Veteran
Posts: 1280
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 767 times
Been thanked: 281 times
Contact:

Re: Decaff's Garage

Post by u2fly » Sat Apr 23, 2016 11:06 pm

Here is one greate example with animated radar inside cockpit (using trick with gun tracking), that show nearest enemy aircrafts.
[email protected]二代目 wrote:レーダーパネル付きF-5
f5投稿用.zip
自動回転機銃を応用し、実際に敵機の位置を表示するレーダーパネルを
作ってみました。
皆さんの機体制作の参考になればと思います。
From here - http://www41.atwiki.jp/ysflight/m/pages/21.html
/!\ READ YSFLIGHT HANDBOOK (online + PDF) | updated 2019/04/25

U.S. Senator John McCain wrote:
“Spending #NewYearsEve w/ brave #Ukrainian Marines at a forward combat outpost - we stand w/ them in their fight against #Putin's aggression”
http://pic.twitter.com/vkz0gdozVV
(31 DEC 2016)

User avatar
decaff_42
Staff
Staff
Posts: 3563
Joined: Sat Oct 29, 2011 7:23 pm
Favorite Aircraft: SR-71 Blackbird
Location: Eastern United States
OS: Mac OSX
Has thanked: 627 times
Been thanked: 1364 times
Contact:

Re: Decaff's Garage

Post by decaff_42 » Wed Apr 27, 2016 12:57 am

Working on a python tool to help pull data from a replay file. I've got the backend mostly hashed out in theory, but the GUI is coming along nicely. I will have to adapt an older code to extract the data from the replay file, but all the nuts and bolts is there.

The idea is that you can extract the flight data of a particular aircraft from a replay and export the raw and derived parameters to a .csv file which can be used in an program of your choice to plot and analyze data.

(Not shown) the user will be able to select certain analysis modules to perform which will calculate parameters like angle of attack, roll rate, climb rate, angle of bank, etc.

Additionally, the data will be extracted at a user-selected rate (full (~17Hz), 10Hz, 5Hz, 1Hz, 1/60Hz)

Image
Check out my website YSDecaff for all my tutorials and addon releases.
Visit by Bitbucket page for Python codes: https://bitbucket.org/decaff42/

Server Flight Log
Addon Database Submit Addon To Database

User avatar
Flake
Core Staff
Core Staff
Posts: 4354
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 836 times
Been thanked: 1238 times
Contact:

Re: Decaff's Garage

Post by Flake » Wed Apr 27, 2016 1:45 am

decaff_42 wrote:Working on a python tool to help pull data from a replay file.
Check out YSFlight Replay Merger source to see my structured approach for loading a YFS files into classes.

Obviously python is not c# but the code structure and variable names are easy enough to follow I think. Perhaps it may help you?

See me if you need help, happy to assist. ;)
decaff_42 wrote:The user will be able to ... calculate ... angle of attack, roll rate, climb rate, angle of bank, etc
Now, this has my attention. OpenYS can load replays, yes, but I don't know how to calculate the change in attitude in each step of a replay. For example, how much has the pitch changed? and the bank? and the roll? This is something your expertise may be able to help with Decaff. Currently replays streamed in OpenYS are "blocky" due to me "making do" for now by setting all V_Rotation values on H P and B axes to be always 0... It's like watching crudely drawn stop motion watching an aircraft roll for example. If you can find a solution for calculating this, I would definitely pull the solution into OpenYS, and it would be much appreciated. If you do end up doing this, please let me know.
I am an accountant working full-time (and some). I'm not here as often as I would like to be. Send a message if you need me. There are a few people in the community who can get in contact with me urgently if you need - don't be afraid to ask. I just don't check here as frequently as I used to. Sorry!

User avatar
u2fly
Senior Veteran
Senior Veteran
Posts: 1280
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 767 times
Been thanked: 281 times
Contact:

Re: Decaff's Garage

Post by u2fly » Wed Apr 27, 2016 2:19 am

decaff_42 wrote:The idea is that you can extract the flight data of a particular aircraft from a replay and export the raw and derived parameters
This operation have name - it's "parsing"! ;-)
+1 for choosing Python, that can run on any OS including mobile! (I hope you will chose Py2.x, and not 3.x)
I hate C++ & C#...
*
Also recommend you look at AeroPython, maybe something interesting can be found for YSFlight
> https://github.com/AeroPython
Image
/!\ READ YSFLIGHT HANDBOOK (online + PDF) | updated 2019/04/25

U.S. Senator John McCain wrote:
“Spending #NewYearsEve w/ brave #Ukrainian Marines at a forward combat outpost - we stand w/ them in their fight against #Putin's aggression”
http://pic.twitter.com/vkz0gdozVV
(31 DEC 2016)

User avatar
decaff_42
Staff
Staff
Posts: 3563
Joined: Sat Oct 29, 2011 7:23 pm
Favorite Aircraft: SR-71 Blackbird
Location: Eastern United States
OS: Mac OSX
Has thanked: 627 times
Been thanked: 1364 times
Contact:

Re: Decaff's Garage

Post by decaff_42 » Wed Apr 27, 2016 11:17 am

OfficerFlake wrote:It's like watching crudely drawn stop motion watching an aircraft roll for example.
At 17 Hz, the full-rate data is definitely something that may appear stop-motion-esk, but there really isn't a way around it without doing some interesting math (which would add a ton to the computation time). It might be possible to have that go into a later update, but I'd have to crack open my numerical methods book from grad school.

Also I'm not sure how YSFlight would react to data coming in at say 100Hz, or even 50Hz. It might be worth experimenting manually with setting up a YFS file with that kind of data rate to see if it is even possible. I can just imagine the file-size would get crazy. All you would really have to do is change the time values on the recorded data to find out, although your replay would fly at like mach 30 with that kind of time-shift.

@u2fly
This tool is written in python 3.4 and I will not be using AeroPython for the simple reason that aeropython needs numpy. This tools is meant to be a simple and numpy adds a whole host of issues with installation, that for a casual user is a bit much. I am much more comfortable in python 3.x rather than 2.x, especially when it comes to tkinter for the GUI.

If I were to be doing an actual aircraft design/analysis project then I'd definitely consider numpy and AeroPython for it. Thanks for making me aware of it!
Check out my website YSDecaff for all my tutorials and addon releases.
Visit by Bitbucket page for Python codes: https://bitbucket.org/decaff42/

Server Flight Log
Addon Database Submit Addon To Database

User avatar
u2fly
Senior Veteran
Senior Veteran
Posts: 1280
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 767 times
Been thanked: 281 times
Contact:

Re: Decaff's Garage

Post by u2fly » Wed Apr 27, 2016 12:12 pm

decaff_42 wrote:If I were to be doing an actual aircraft design/analysis project then I'd definitely consider numpy and AeroPython for it. Thanks for making me aware of it!
Think especially PythonFME would be usefull.
https://github.com/AeroPython/PyFME
Also, can you little bit discover what you mean when told about Hz (herzes) in YFS file?
Anyway, take this https://xkcd.com/353/
/!\ READ YSFLIGHT HANDBOOK (online + PDF) | updated 2019/04/25

U.S. Senator John McCain wrote:
“Spending #NewYearsEve w/ brave #Ukrainian Marines at a forward combat outpost - we stand w/ them in their fight against #Putin's aggression”
http://pic.twitter.com/vkz0gdozVV
(31 DEC 2016)

Richard Vo
Veteran
Veteran
Posts: 523
Joined: Mon Dec 14, 2015 8:19 pm
Favorite Aircraft: A380, JAS-39
Location: Sweden
OS: Windows 10
Has thanked: 318 times
Been thanked: 112 times
Contact:

Re: Decaff's Garage

Post by Richard Vo » Wed Apr 27, 2016 8:09 pm

The other aircrafts are getting jealous with your 748! :lol:
Image
The A380 is ahead of its time. With the resilient passenger traffic growth for times to come (reference from Airbus's Global Market Forecast), plus congested airports, the A380 could not be ignored.

By any chance if you have Instagram, please drop a follow on @rv_aviation02 and if you have Twitter, please drop a follow on @vhaq_aero. Appreciate that!

User avatar
decaff_42
Staff
Staff
Posts: 3563
Joined: Sat Oct 29, 2011 7:23 pm
Favorite Aircraft: SR-71 Blackbird
Location: Eastern United States
OS: Mac OSX
Has thanked: 627 times
Been thanked: 1364 times
Contact:

Re: Decaff's Garage

Post by decaff_42 » Thu Apr 28, 2016 11:04 pm

The GUI is now complete enough to proceed with the project's meat.
Image
Starting to work on the actual code for this now. The dat and yfs file import process is going great! I'm also able to recycle some code from my proof-of-concept of this program to help with extracting meaningful data.

Phase 1: Get the YFS data extracted at the right Hz and exporting to csv properly.
Phase 2: Add in support for the three initial modules (shown Above)
Phase 3: release Beta and fix any bugs that are found.
Phase 4: Add in more modules.
Check out my website YSDecaff for all my tutorials and addon releases.
Visit by Bitbucket page for Python codes: https://bitbucket.org/decaff42/

Server Flight Log
Addon Database Submit Addon To Database

User avatar
decaff_42
Staff
Staff
Posts: 3563
Joined: Sat Oct 29, 2011 7:23 pm
Favorite Aircraft: SR-71 Blackbird
Location: Eastern United States
OS: Mac OSX
Has thanked: 627 times
Been thanked: 1364 times
Contact:

Re: Decaff's Garage

Post by decaff_42 » Sat Apr 30, 2016 6:32 pm

I'm really excited for the kind of data that I can get from this tool. Right now I've got the first module and the different data rates working well. I decided to add in a button to toggle between selecting all the modules and deselecting all the modules.

Image

I've attached the test csv files I've generated from a quick flight. In order to make things simpler (less columns of data), I separated the raw YFS data and the derived parameters into two different files. This is also because the Coordinate system used to calculate the Angle of Attack (Tangential Plane Reference Coordinate System) and the reference frame attached to the aircraft (Figures 2 and 1 respectively) are different from the YSFlight coordinate system used in the YFS file.

As I mentioned in the chat, the raw data comes in at 1mb per 8.5 minutes of full rate flight data. If you took 1Hz data you'd be able to store roughly 2.4 hours of data in 1mb of csv file. The data storage changes when you look at the derived parameters because they are a lot of decimal numbers in addition to a lot more columns of data.

One of the cool things that you can see in the last column of the derived data is the flight path angle. As the auto pilot is engaged shortly after the start of the flight, you can scroll through the data and see the flight path angle slowly change to 0 as the autopilot gradually eases the aircraft to the target altitude.
Attachments
Sample Data.zip
(96.68 KiB) Downloaded 32 times
Check out my website YSDecaff for all my tutorials and addon releases.
Visit by Bitbucket page for Python codes: https://bitbucket.org/decaff42/

Server Flight Log
Addon Database Submit Addon To Database

User avatar
decaff_42
Staff
Staff
Posts: 3563
Joined: Sat Oct 29, 2011 7:23 pm
Favorite Aircraft: SR-71 Blackbird
Location: Eastern United States
OS: Mac OSX
Has thanked: 627 times
Been thanked: 1364 times
Contact:

Re: Decaff's Garage

Post by decaff_42 » Sun May 01, 2016 2:09 am

Running into a weird issue. When I export the cockpit mesh as an srf, some, not all, of the color disappears. Really strange. Has anyone else run into an issue like this with Blender?

Before:
Image

After:
Image
Check out my website YSDecaff for all my tutorials and addon releases.
Visit by Bitbucket page for Python codes: https://bitbucket.org/decaff42/

Server Flight Log
Addon Database Submit Addon To Database

User avatar
Kujo
Veteran
Veteran
Posts: 1005
Joined: Fri Feb 08, 2013 2:28 am
Favorite Aircraft: Lockheed Martin F-16 Fighting Falcon
Location: Las Vegas, NV
OS: Windows 8.1 - 64 Bit
Has thanked: 779 times
Been thanked: 723 times
Contact:

Re: Decaff's Garage

Post by Kujo » Sun May 01, 2016 4:00 am

That looks top notch! Loving those colors, too :D Dude we need a Van's RV-8 with your modding skills, no doubt.
Image

User avatar
u2fly
Senior Veteran
Senior Veteran
Posts: 1280
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 767 times
Been thanked: 281 times
Contact:

Re: Decaff's Garage

Post by u2fly » Sun May 01, 2016 4:32 am

Kujo wrote:That looks top notch! Loving those colors, too :D Dude we need a Van's RV-8 with your modding skills, no doubt.
+1
As I remember, here was topic for that! - viewtopic.php?t=8364
/!\ READ YSFLIGHT HANDBOOK (online + PDF) | updated 2019/04/25

U.S. Senator John McCain wrote:
“Spending #NewYearsEve w/ brave #Ukrainian Marines at a forward combat outpost - we stand w/ them in their fight against #Putin's aggression”
http://pic.twitter.com/vkz0gdozVV
(31 DEC 2016)

lorDuckFeet
Modding Team
Modding Team
Posts: 1085
Joined: Fri Dec 16, 2011 12:42 am
Favorite Aircraft: McDonnell Douglas
Has thanked: 1319 times
Been thanked: 514 times

Re: Decaff's Garage

Post by lorDuckFeet » Sun May 01, 2016 7:32 am

Nice work on this 748 cockpit Decaff!
This happens to me with logos and after export. I solved this problem by importing again and repainting the logo again (second time).

User avatar
decaff_42
Staff
Staff
Posts: 3563
Joined: Sat Oct 29, 2011 7:23 pm
Favorite Aircraft: SR-71 Blackbird
Location: Eastern United States
OS: Mac OSX
Has thanked: 627 times
Been thanked: 1364 times
Contact:

Re: Decaff's Garage

Post by decaff_42 » Sun May 01, 2016 1:19 pm

I was able to figure out a work around. The cockpit now looks great!
(1) Make sure all modifiers are applied
(2) Delete all materials from objects.
(3) Make Object Centers at Origin and clear any rotations (ctrl-a-1)
(4) Export as DNM
(5) import DNM
(6) Join Meshes
(7) Export as SRF

With everything loaded into the base -8i model there are ~50k vertices. 9k in cockpit mesh, 8k in cockpit animations(4k in the instrument screens alone), 33k for external model. With the cockpit mesh being stored outside the model, the blank will be around 40k vertices. This leaves the DNM hovering at @ 2.2mb without any paint schemes.

With my idea for a simple model, The cockpit will lose all animations and have ~300 vertex mesh for dash and basic room. The blank of this model will be ~33k for a 1.7mb DNM file.
Check out my website YSDecaff for all my tutorials and addon releases.
Visit by Bitbucket page for Python codes: https://bitbucket.org/decaff42/

Server Flight Log
Addon Database Submit Addon To Database

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests