1
0
Fork 0

Scale gyro input power for the new[er] electrical system.

This commit is contained in:
curt 2005-08-23 02:26:16 +00:00
parent 817afc61d2
commit e7ef4f4772

View file

@ -94,7 +94,8 @@ void
TurnIndicator::update (double dt)
{
// Get the spin from the gyro
_gyro.set_power_norm(_electric_current_node->getDoubleValue()/60.0);
double power = _electric_current_node->getDoubleValue() / 24.0;
_gyro.set_power_norm(power);
_gyro.update(dt);
double spin = _gyro.get_spin_norm();