Scale gyro input power for the new[er] electrical system.
This commit is contained in:
parent
817afc61d2
commit
e7ef4f4772
1 changed files with 2 additions and 1 deletions
|
@ -94,7 +94,8 @@ void
|
||||||
TurnIndicator::update (double dt)
|
TurnIndicator::update (double dt)
|
||||||
{
|
{
|
||||||
// Get the spin from the gyro
|
// 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);
|
_gyro.update(dt);
|
||||||
double spin = _gyro.get_spin_norm();
|
double spin = _gyro.get_spin_norm();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue