Henning Stahlke
1c932b3d79
YASim Model.cpp to avoid performance problems with getNode() add variables for properties that are written at FDM rate.
...
getNode() is slow, setValue() is ok
2017-03-16 09:36:15 +01:00
Henning Stahlke
dbf21b1ca8
YASim calculate max CG range (on x-axis) from gear positions, to implement checks later (a better guesstimate will follow).
2017-03-11 22:44:45 +01:00
Henning Stahlke
e78a763eef
YASim Airplane: move one-liners to header and remove unused code.
2017-03-11 21:29:05 +01:00
Henning Stahlke
60f5c97272
YASim Gear: move one-liners to header
2017-03-11 21:06:16 +01:00
Henning Stahlke
06ba4fe351
YASim wrap bugfix with version check to maintain compatibility with old aircraft config.
2017-03-07 20:47:43 +01:00
Henning Stahlke
1e92c33a9e
YASim export config version used by aircraft to property tree.
...
Gives /fdm/yasim/config-version as integer (see enum in Version.hpp to decode).
2017-03-07 20:45:46 +01:00
Henning Stahlke
80462d23c5
YASim Wing: remove unnecessary local variable "root" (use _base);
...
calculate _tip in directly in one command
clarify signature of Wing::interp()
2017-03-07 18:03:25 +01:00
Henning Stahlke
583ea27dd6
YASim Version: add tag for version 2017.2
2017-03-07 17:50:05 +01:00
Henning Stahlke
a56f85ac95
YASim removed unused include from Rotor.cpp
2017-03-07 17:50:05 +01:00
Henning Stahlke
6efa1ab821
YASim moved one liners
2017-03-07 17:50:05 +01:00
Henning Stahlke
ce4df326d7
YASim Airplane.cpp additional comments
2017-03-07 17:50:05 +01:00
Henning Stahlke
05f9fcfd10
comments
2017-03-07 17:50:04 +01:00
Henning Stahlke
dc66959b83
YASim comments
2017-03-07 17:50:04 +01:00
Henning Stahlke
1198f5a3ec
YASim CLI tool: add print out of max lift and min drag
...
add drag(speed) print function
2017-03-07 17:50:04 +01:00
Henning Stahlke
cb7d2a1bc5
YASim Wing: add _aspectRatio and _meanChord.
...
(an some indent)
2017-03-07 17:50:04 +01:00
Henning Stahlke
a87442c6f3
YASim fix performance problem due to export to prop.tree.
2017-03-07 17:50:04 +01:00
Henning Stahlke
76a0ea96cc
YASim clarification. Add const to method parameters in Math.hpp
2017-03-07 17:50:04 +01:00
Henning Stahlke
4cbe540bec
YASim: convert local variables alpha and stallAlpha to members of Surface.
2017-03-07 17:50:03 +01:00
Henning Stahlke
5f78545961
only white spaces
2017-03-07 17:50:03 +01:00
Henning Stahlke
d4688d206a
YASim: export surface data to property tree.
2017-03-07 17:50:03 +01:00
Henning Stahlke
d322ded552
YASim bugfix: ground effect did not calculate wingspan correctly;
...
Variable name clarification;
Add Wing::getWingArea, separate Wing::getWingSpan and Wing::getBase.
2017-03-07 17:50:03 +01:00
Henning Stahlke
559dcf4e32
YASim optimization: pre-calculate data for masses that do not change in flight to save CPU (RigidBody::recalc() runs at FDM rate).
...
export mass data to property tree.
2017-03-07 17:50:03 +01:00
Henning Stahlke
4e1be43f15
YASim: export wing data to property tree.
2017-03-07 17:50:03 +01:00
Henning Stahlke
021a9db9be
YASim add surface id and export surface positions to prop tree after model compile.
2017-03-07 17:50:02 +01:00
Henning Stahlke
dd420c6ff4
YASim bugfix, correct an obvious copy-and-paste error
2017-03-07 17:50:02 +01:00
Henning Stahlke
41b18155a8
YASim: export FDM state (v, a, rot) to property tree.
2017-03-07 17:50:02 +01:00
Henning Stahlke
70dd3de3bb
YASim: FGFDM convert local variable _yasimN into a class member
2017-03-07 17:50:02 +01:00
Henning Stahlke
2cac4e4671
YASim: Move variables and methods for input properties from FGFDM to ControlMap.
2017-03-07 17:50:01 +01:00
Henning Stahlke
f14cc3be33
Extend yasim-test.cpp; add print mass distribution, add plot with different configs
2017-03-07 17:47:51 +01:00
Henning Stahlke
6f1f850c11
YASim method name clarification Airplane::setWeight
2017-03-07 17:47:50 +01:00
Henning Stahlke
97a0511ce0
YASim method name clarification in class Surface
2017-03-07 17:47:50 +01:00
Henning Stahlke
91fd075796
YASim method name clarification Wind::setSlat
2017-03-07 17:47:50 +01:00
Henning Stahlke
91806861c6
YASim method name clarification Wind::setFlap1
2017-03-07 17:47:50 +01:00
Henning Stahlke
e69f6ba9ab
YASim method name clarification Wind::setFlap0
2017-03-07 17:47:50 +01:00
Henning Stahlke
ce753c0382
YASim method name clarification Wing::setSpoiler
2017-03-07 17:47:50 +01:00
Henning Stahlke
b447bbdc5e
Optimize YASim/RigidBody.cpp utilizing symmetry of tensor.
2017-03-07 17:47:49 +01:00
Torsten Dreyer
6257c29fd8
Merge /u/martymac/flightgear/ branch freebsd-fix into next
...
https://sourceforge.net/p/flightgear/flightgear/merge-requests/79/
2017-03-07 07:51:59 +00:00
James Turner
8d68741ee9
On-disk support for multiple primary aircraft.
...
Also add support for customised / per-variant thumbnails in on-disk
aircraft; equivalent support for catalog aircraft still to be done.
2017-03-05 22:02:25 +02:00
James Turner
41f875a729
Silence a warning about log levels.
...
These levels will never be set on the output side, so handle them
as default here.
2017-03-05 21:41:52 +02:00
James Turner
e5a48b7c80
Merge /u/martymac/flightgear/ branch fgpanel-freetype-path-fix into next
...
https://sourceforge.net/p/flightgear/flightgear/merge-requests/80/
2017-03-04 15:22:08 +00:00
Ganael Laplanche
43dab178c0
Use ${FREETYPE_INCLUDE_DIRS} instead of hardcoded path
2017-03-03 21:26:44 +00:00
James Turner
39b239957e
Startup-tip system.
...
Replace the license / website text with a startup tip. Tips are shown
based on the day of the year, can be changed easily.
2017-03-03 23:21:18 +02:00
Ganael Laplanche
c91284b3e1
Link to execinfo to fix build on FreeBSD
2017-03-01 20:53:56 +00:00
James Turner
868ec1f500
Log a message when launcher is requested without Qt.
2017-03-01 15:27:33 +00:00
James Turner
3653508412
Build- and run-time concept of developer mode.
...
Make a single Cmake value to expose the build type to code, and use
this to default a run-time ‘developer-mode’ property, which can be
over-ridden from the command line.
Use this to drive the different warning levels. Policies subject to
review, especially whether nightly builds should default to
developer mode or not.
2017-02-27 23:37:59 +00:00
James Turner
be0ede64be
Make some warnings be developer-only.
2017-02-27 23:37:59 +00:00
James Turner
bd17a64487
Fix a typo in launcher console handling.
2017-02-27 23:31:08 +00:00
James Turner
ec8b55d3c5
Explicitly log nav-cache read-only flag.
2017-02-27 15:50:19 +00:00
James Turner
cad283b2ce
Change Windows multi-app launch detection.
...
Instead of using a .pid file, use a named mutex. This avoids any chance of stale datacausing mis-detection.
2017-02-27 15:45:28 +00:00
Erik Hofman
706ce325d3
Do not forget to signal the proper signal number first
2017-02-27 11:50:51 +01:00