Comments (1)
You haven't given enough context. At what point are you executing:
Clp = fdm['aero/coefficient/Clp']
While the aircraft is flying or while it's standing still on the ground?
Now I presume you've seen this function in c172p.xml
right?
jsbsim/aircraft/c172p/c172p.xml
Lines 733 to 743 in ebb770e
Now the first thing you need to realise is that the name of the function can be anything that the FDM author feels like using, but typically people include coefficient names in the function but there is no requirement, you could name this aaa
for example.
Now it turns out that functions using this sort of naming convention can be misleading, the description
field gives it away, this isn't a function which returns a coefficient, it's a function that calculates and returns a moment, in this particular case by multiplying a number of fields and values together.
Now I'm guessing you're trying to retrieve the coefficient in particular, i.e. -0.4840
in this example?
If so, remember that coefficients in general aren't static figures. For example take a look at this example:
Lines 770 to 785 in ebb770e
The coefficient in the above case is dependent on Mach.
What exactly are you trying to do?
from jsbsim.
Related Issues (20)
- JSBSim Simulink Function HOT 36
- Rust HOT 13
- Can autopilot feature come to jsbsim- unreal engine 5? HOT 2
- MSVC: toupper is not a member of std HOT 1
- Missing target_include_directories in libJSBSim
- JSBSIM_ prefix in CMake options
- Cython warnings about 'tp_print' which is deprecated
- Wrong calculation of vPQRdot in FGAccelerations class HOT 4
- Fixing the mixture for JSBSim piston aircraft HOT 54
- Request: turbine spindown table or property support HOT 2
- Aircraft crashed on air when rolling consecutively HOT 15
- How Jsbsim models the "+" shaped tail fins of missiles and rockets. HOT 1
- JSBSimFlightDynamicsModel could not be loaded in Unreal Engine HOT 4
- AugmentCmd should be clamped to [0.0..1.0] HOT 5
- Transfer function make JSBSim close down HOT 2
- unresolved external symbol(s) logging/console related HOT 5
- Request: Unreal Marketplace Plugin HOT 5
- JSBSim can't interpolate between n dimensions
- Robocopy step errors if spaces in path. HOT 1
- Keyboard/Gamepad input non-functional in Unreal Plugin Project HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsbsim.