|
| | Gyro () |
| | Constructor.
|
| |
| virtual | ~Gyro () |
| | Destructor.
|
| |
| void | reinit (void) |
| | Reset the gyro.
|
| |
| virtual void | update (double delta_time_sec) |
| | Update the gyro.
|
| |
| virtual void | set_power_norm (double power_norm) |
| | Set the power available to the gyro.
|
| |
| virtual double | get_spin_norm () const |
| | Get the gyro's current spin.
|
| |
| virtual void | set_spin_norm (double spin_norm) |
| | Set the gyro's current spin.
|
| |
| virtual bool | is_serviceable () const |
| | Test if the gyro is serviceable.
|
| |
| virtual void | set_serviceable (bool serviceable) |
| | Set the gyro's serviceability.
|
| |
| virtual void | set_spin_up (double spin_up) |
| | Set the gyro's spin up time in seconds (from 0 to full spin).
|
| |
| virtual void | set_spin_down (double spin_down) |
| | Set the gyro's spin down time in seconds (from full spin to 0).
|
| |
Simple model of a spinning gyro.
The gyro decelerates gradually if no power is available to keep it spinning, and spins up quickly when power becomes available.
Definition at line 11 of file gyro.hxx.