Custom blackout system: Difference between revisions

Jump to navigation Jump to search
m
→‎Install in an aircraft: Corrected G-force calc when using jsbsim.
(Adding links to some related resources)
m (→‎Install in an aircraft: Corrected G-force calc when using jsbsim.)
Line 14: Line 14:
## Author: Nikolai V. Chr.                                                      ##
## Author: Nikolai V. Chr.                                                      ##
##                                                                              ##
##                                                                              ##
## Version 1.01           License: GPL 2.0                                      ##
## Version 1.02           License: GPL 2.0                                      ##
##                                                                              ##
##                                                                              ##
###################################################################################
###################################################################################
Line 79: Line 79:
if (fdm == "jsb") {
if (fdm == "jsb") {
# JSBSim
# JSBSim
g = -getprop("accelerations/pilot/z-accel-fps_sec")/getprop("fdm/jsbsim/accelerations/gravity-ft_sec2");
g = -getprop("accelerations/pilot/z-accel-fps_sec")/32.174;
} else {
} else {
# Yasim
# Yasim
574

edits

Navigation menu