#include <propulsion.h>
Definition at line 25 of file propulsion.h.
◆ AirfoilType
◆ propulsion()
◆ CalculateDragCoefficient()
| float propulsion::CalculateDragCoefficient |
( |
AirfoilType |
type, |
|
|
float |
aoa, |
|
|
float |
CDDelta |
|
) |
| |
|
staticprivate |
http://fooplot.com/#W3sidHlwZSI6MCwiZXEiOiIoc2luKCh4LTEuNTcwOCkqLjAxOCkqMC41KzAuNSleNC44KjEuMzctLjAyIiwiY29sb3IiOiIjMDAwMDAwIn0seyJ0eXBlIjoxMDAwLCJ3aW5kb3ciOlsiLTE0My40Mzk1MjQxNDYxNTU1OCIsIjMwMy41MTI2Njg2ODIwODM1IiwiLTEuMTU3MjU2MzI4NjE5NjIwMiIsIjIuNTQ4MDIzOTY5ODA0MTAwNyJdfV0-
Definition at line 71 of file propulsion.cpp.
◆ CalculateLiftCoefficient()
| float propulsion::CalculateLiftCoefficient |
( |
AirfoilType |
type, |
|
|
float |
aoaRad, |
|
|
float |
CLDelta |
|
) |
| |
|
staticprivate |
◆ GetFrictionCoefficients()
| void propulsion::GetFrictionCoefficients |
( |
unsigned char |
type, |
|
|
float * |
rollingResistance, |
|
|
float * |
roughness |
|
) |
| |
|
staticprivate |
◆ GetTach()
| float propulsion::GetTach |
( |
| ) |
const |
◆ GetTotalThrust()
| float propulsion::GetTotalThrust |
( |
| ) |
const |
◆ Reset()
| void propulsion::Reset |
( |
| ) |
|
◆ Update()
| void propulsion::Update |
( |
float |
fElapsedTime | ) |
|
- Todo:
- this is the only place we reference the D3D9Device in Propulsion->Update
- Bug:
- https://jira.risetvp.com/view.php?id=1267
https://www.omnicalculator.com/physics/acceleration#acceleration-formula-three-acceleration-equations
- Todo:
- would love to add reverser sound and reverse effect sound!
- Todo:
- turned this off 3/23/2020 for
- Todo:
- we could jack with this number based on a bad sensor but it is the combined density and relative wind from above (ram air)
- Todo:
- FLOW CALCULATION AGAINST TOP, BOTTOM, SIDE, FRONT, BACK
http://hyperphysics.phy-astr.gsu.edu/hbase/thermo/stefan.html
- Todo:
- we are using exteriorInsulationHeatTransferCoefficient for emissivity ... not sure that is accurate https://www.engineeringtoolbox.com/emissivity-coefficients-d_447.html
- Todo:
- could evaluate each direction with different insulating values front back top bottom left/right
- Todo:
- not sure but I think we should use the wing PLAN area here not frontal drag profile for conduction
- Todo:
- so there is a difference between the aileron snapping off and not having a sensor for that vs. a feedback loop that says we can't talk to it
- Todo:
- so there is a difference between the aileron snapping off and not having a sensor for that vs. a feedback loop that says we can't talk to it
https://aircrafticing.grc.nasa.gov/1_1_5_2.html
https://gizmodo.com/scientists-make-coldest-liquid-water-ever-and-its-weir-1821874001
https://docs.google.com/spreadsheets/d/1gtlbIwcJKqFnqDA7UKDkdBQlpO8IErs1ZPj3eD4o4qQ/edit?usp=sharing
- Todo:
- here we could mess with the probe ... false positives ... false negatives
- Todo:
- this is based on failure which is based on a minimum N1 no?
- Bug:
- https://jira.risetvp.com/view.php?id=1645 disconnect if they have it engaged above 10km
- Todo:
- I think this only takes into account split flap TE ... not LE adjustment to hold laminar flow?
https://jira.risetvp.com/view.php?id=1271
http://hpwizard.com/tire-friction-coefficient.html and https://courses.lumenlearning.com/physics/chapter/5-1-friction/
- Todo:
- technically if it is in R and we are going forward or vice-versa?
- Todo:
- lots more we could do here, ramp up from 30 to 45 degrees, left and right brake depending on left or right wing scrape
- Todo:
- is this the only place where we would use sound->IsPlaying()?
Definition at line 125 of file propulsion.cpp.
◆ actual
| D3DXVECTOR3 propulsion::actual |
|
private |
◆ airframeTempCelsius
| float propulsion::airframeTempCelsius = -273.15f |
◆ ambtype1
| PlotType propulsion::ambtype1 |
|
private |
◆ ambtype2
| char propulsion::ambtype2 |
|
private |
◆ chip
◆ convectionRate
| float propulsion::convectionRate = 0.0f |
◆ discordHeartbeat
| char propulsion::discordHeartbeat = 0 |
|
private |
◆ dynamicDensity
| float propulsion::dynamicDensity = 1.0f |
◆ EngineThrustOutput
◆ f_netupdate
| float propulsion::f_netupdate |
|
private |
◆ gndcontactG
| float propulsion::gndcontactG |
|
private |
◆ halfsec
| float propulsion::halfsec |
|
private |
◆ iceAccumulationMm
| float propulsion::iceAccumulationMm = 0 |
◆ initFromDeflect
| bool propulsion::initFromDeflect = false |
◆ intensity
| float propulsion::intensity |
|
private |
◆ localvel
| D3DXVECTOR3 propulsion::localvel = centerC |
|
private |
◆ logger
◆ mach
| float propulsion::mach = 0.0f |
◆ msg
| char propulsion::msg[160] |
|
private |
◆ oldagl
◆ oldcorrection
| float propulsion::oldcorrection |
|
private |
◆ olddesiredvsi
| float propulsion::olddesiredvsi |
|
private |
◆ oldmsl
◆ oldOdoPosition
| D3DXVECTOR3 propulsion::oldOdoPosition |
|
private |
◆ oldOdoReference
| char propulsion::oldOdoReference |
|
private |
◆ oldpitch
| float propulsion::oldpitch |
|
private |
◆ oldvol
◆ pitchAccelerationSnapshot
| float propulsion::pitchAccelerationSnapshot = 0.0f |
◆ qz
| float propulsion::qz = 0.0f |
◆ relativeWindTrueKms
| D3DXVECTOR3 propulsion::relativeWindTrueKms = centerC |
|
private |
◆ rollAccelerationSnapshot
| float propulsion::rollAccelerationSnapshot = 0.0f |
◆ rougfric
| float propulsion::rougfric |
|
private |
◆ speedOfSoundKms
| float propulsion::speedOfSoundKms = 0.343f |
◆ staticBuildup
| float propulsion::staticBuildup = 0.0f |
◆ staticDensity
| float propulsion::staticDensity = 1.0f |
◆ tach
◆ tat_mod_qz_x
| float propulsion::tat_mod_qz_x = 0.0f |
◆ tatCelsius
| float propulsion::tatCelsius = 0.0f |
◆ ThrustReverserOutput
◆ totalWeightLbs
| float propulsion::totalWeightLbs = 0.0f |
◆ trendup
◆ viewscreen
◆ windgust
| D3DXVECTOR3 propulsion::windgust |
|
private |
◆ windVectorTrueKms
| D3DXVECTOR3 propulsion::windVectorTrueKms = centerC |
|
private |
◆ yawAccelerationSnapshot
| float propulsion::yawAccelerationSnapshot = 0.0f |
The documentation for this class was generated from the following files: