Skip to content

Commit 0e6fbee

Browse files
author
Demonymous
committed
jsbsim improvements
1 parent af1daa6 commit 0e6fbee

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

config/plugin/JSBSim.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ geometryTransform = {x = 0, y = -700, z = -100, h = 90, p = 180, r = 90, scale =
2020
geometry = "share/covise/jsbsim/geometry/Hansajet/Hansajet.ac"
2121
systemsDir = "Hansajet/Systems"
2222
enginesDir = "Hansajet/Engines"
23-
geometryTransform = {x = 0, y = -7800, z = -2800, h = 90, p = 180, r = 90, scale = 1000}
23+
geometryTransform = {x = 0, y = -7800, z = -2400, h = 90, p = 180, r = 90, scale = 1000}
2424

2525

2626
[[joysticks]]

src/OpenCOVER/plugins/hlrs/JSBSim/JSBSim.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -729,6 +729,7 @@ void JSBSimPlugin::updateInputs()
729729
{
730730
if (a.type == THROTTLE && (a.engine == -1 || a.engine == i) && a.getChangedValue(value))
731731
{
732+
std::cout << "SET THROTTLE on engine=" << i << " to value " << value *0.5 + 0.5 << std::endl;
732733
FCS->SetThrottleCmd(i, value * 0.5 + 0.5);
733734
break;
734735
}

0 commit comments

Comments
 (0)