1
0
Fork 0

Make the inclinometer a little more lively.

This commit is contained in:
david 2003-07-01 21:22:01 +00:00
parent 16635b6b98
commit 1b390135a1

View file

@ -34,7 +34,7 @@ SlipSkidBall::update (double delta_time_sec)
double d = -_z_accel_node->getDoubleValue();
if (d < 1.0)
d = 1.0;
double pos = _y_accel_node->getDoubleValue() / d * 5.0;
double pos = _y_accel_node->getDoubleValue() / d * 10.0;
pos = fgGetLowPass(_out_node->getDoubleValue(), pos, delta_time_sec);
_out_node->setDoubleValue(pos);
}