Outerra forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Download Outerra Tech Demo. Unofficial Outerra Discord server, MicroProse Discord server for OWS.

Author Topic: mistake  (Read 10594 times)

bomber

  • Hero Member
  • *****
  • Posts: 523
  • newbie
mistake
« on: May 30, 2015, 03:36:37 pm »

Ok can anyone spot the school boy mistake I made in this code....

All the code does is dampen the roll, the faster the roll the more wind resistance and the more dampening occurs... in theory this should work and does in the present moment section of the flight models, however I've always thought the planes were too sensitive with insufficient dampening.. but just dampening for the sake of dampening isn't my bag and to do so would have meant adding a 'magic number' which I hate to see in flight models. And would basically have meant that my flight model was bogus and wouldn't have stood up to a challenge in this area....

Anyway this week I've been working on the float pontoons for float planes and as such needed water density (big clue this) for drag and such, so I pulled in this code to use and noticed that the air density I'm using is in slugs and not lbs.... only out by a factor of 32.17 which makes a big difference to the present flight models...

expect an update.

Code: [Select]
<fcs_function name="T4T/moments/Roll_dampening_rotate-lbsft">
<function>
        <description>dampening roll</description>
<product>
<!-- Dynamic Pressure -->
<value> 0.5 </value>
<!-- Air Density -->
<property>atmosphere/rho-slugs_ft3</property>
<!-- V2 -->
<pow>
<product>
<!-- Revolutions per Second -->
<quotient>
<property>velocities/p-aero-rad_sec</property>
<value> 6.284 </value>
</quotient>
<!-- Circumference -->
<value> 3.142 </value>
<property>metrics/bw-ft</property>
</product>
<value> 2 </value>
</pow>
<!-- Area -->
<sum>
<property>metrics/Sw-sqft</property>
<property>metrics/Sh-sqft</property>
<property>metrics/Sv-sqft</property>
</sum>
<table>
<independentVar>velocities/p-aero-rad_sec</independentVar>
<tableData>
-0.1 1.28
0.0 0
0.1 -1.28
</tableData>
</table>
<property>metrics/bw-ft</property> <!-- Armature Distance -->
            </product>
        </function>
</fcs_function>
Logged
"If anyone ever tells you anything about an aeroplane which is so bloody complicated you can't understand it, take it from me - it's all balls" - R J Mitchell

jcomm

  • Newbie
  • Posts: 2
Re: mistake
« Reply #1 on: May 31, 2015, 12:39:35 pm »

I'll have to look in more detail to your code, and I am not familiar with the underlying model and the XML used to code it, but roll, yaw and pitch "stick" forces are all affected by q.

If the question is on how much the flight controls "feel" that dampening, than that's another story, and different simulators use different approaches, specially to overcome the limitations imposed by thekind of hardware we use in our desktop flight simulators.

I always suggest an algorithm based on "q" do determine "stick forces". MSFS has it's own core filter, x-plane gives their users the chance to design their own either through Plane Maker or dataref manipulation, but ortherwise imposes no stick forces, which makes "flying" it's aircraft really weird....

I know that in the gliders I fly IRL I sometimes have to use both hands to counter the aerodynamic forces, or turbulence effects :)

If, OTOH, you're referring to aerodynamic roll damping, like in here then that's a different story :)

A source of some interesting MSFS-related documents is here at Hervé's site. Yves Guillaume's article is a Great read!
« Last Edit: May 31, 2015, 04:12:04 pm by jcomm »
Logged
Flight Simulation is the Virtual Materialization of a Dream...
I'm grateful to All of those who make that Possible...
My rig: i5 2500k @3,3GHz, 16GB DDR3 RAM, Nvidia Geeforce GTX 650 ti - 1GB DDR5, Win 7 Home Premium

HiFlyer

  • Hero Member
  • *****
  • Posts: 1788
  • newbie
Re: mistake
« Reply #2 on: May 31, 2015, 04:11:00 pm »

Well, welcome aboard Jcomm.  :) I hope you find Outerra has enough potential to hold your interest. With all of your experience, I think you could really help.
« Last Edit: May 31, 2015, 04:13:04 pm by HiFlyer »
Logged
Spex: Intel Core i7 6700K @ 4.6GHz / 32.0GB G.SKILL TridentZ Series Dual-Channel Ram / ASUS STRIX GeForce GTX 1080 / Sound Blaster Z / Oculus Rift VR Headset / Klipsch® Promedia 2.1 Computer Speakers / ASUS ROG SWIFT PG279Q ‑ 27" IPS LED Monitor ‑ QHD / 2x Samsung SSD 850 EVO 500GB / Windows 10 Pro

jcomm

  • Newbie
  • Posts: 2
Re: mistake
« Reply #3 on: May 31, 2015, 04:13:24 pm »

Well, welcome aboard Jcomm.  :) I hope you find Outerra has the potential to hold your interest.

Thank you HiFlyer. It certainly has :-)  And thas for your frequent updates at AVSIM, helping this great project to become even better known to the simmer community around there !
Logged
Flight Simulation is the Virtual Materialization of a Dream...
I'm grateful to All of those who make that Possible...
My rig: i5 2500k @3,3GHz, 16GB DDR3 RAM, Nvidia Geeforce GTX 650 ti - 1GB DDR5, Win 7 Home Premium