element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Personal Blogs
  • Community Hub
  • More
Personal Blogs
NexGen Flight Simuator Flight Simulator 101 or back to College - part 6: Aircraft Models..
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: phoenixcomm
  • Date Created: 12 Jan 2013 1:37 PM Date Created
  • Views 213 views
  • Likes 2 likes
  • Comments 0 comments
  • flight_simulation
  • software_design
  • phpmyadmin
  • mysql
  • diy_cockpit
  • feature_tutorial
  • linux
Related
Recommended

Flight Simulator 101 or back to College - part 6: Aircraft Models..

phoenixcomm
phoenixcomm
12 Jan 2013

Do you remember I talked about the Aircrafts Frame of Reference? Well I just reprinted it here if I slipped your mind.image

And I described it as a  3-D Cartesian (orthogonal right-handed) coordinate system (x, y, z), which is centered (origin) at the rear of the aircraft where:

  • ROLL-axis passes through the propeller and tail. (Positive to the nose)
  • PITCH-axis passes though wing tip to wing tip. (Positive to right wing)
  • YAW-axis is a vertical axis, and is perpendicular to both the ROLL-axis, and PITCH-axis. (positive is down)

which contains a hierarchical model of the aircraft. In this way parameter data inputs can drive individual parts, such as control surfaces. Also parts may be attached to other parts in such a way that movement of one part will cause movement in an other.

 

Now what does all this mean?

For the most part aircraft designers or aerodynamicists have used spreadsheets to do the math for the aircraft. Bill Lear said "If it looks good, it will fly good." Now I really hate spreadsheets. To me this is like trying to stuff an elephant into that little tin of sardines. So why don't we use a database. I like MySQL or Postgress. So lets get started. So I use phpMyAdim to create MySQL databases, and tables. So first we need to consider what is an object. First are we going to use inches or the metric system in the aircraft.

  • The object needs a name.
  • The object should have a reference document.
  • The name of object we are attaching to.
  • The object needs an attachment point on the aircraft or it parent. In three dimensions (x, y, z).
  • The object has mass or weight.
  • The object size. In three dimensions (height, width, depth).
  • The objects point of origin (x, y, z).

 

name: engine.1image

reference: CSG_Leaflet_4_2003.pd

parent:

attachment point:

mass: 200 kg

size: 679, 670, 685

origin: 207, 335, 535 (center of the flywheel)

 

name: psru.1

reference: gear-drive

parent: engine.1

attachment point: 0, 0, 0

mass: 29.48

size: 437.36, 534.74, 235.407

origin:

 

name: popeller.1

reference: 72" warp drive

parent: psru.1

attachment point:

mass: 9.07

size: 1828.8, 1828.8, 101

origin: 914.4, 914.4, 101

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube