Make the inclinometer a little more lively.
This commit is contained in:
parent
16635b6b98
commit
1b390135a1
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue