DiscreteController
このコンテンツはまだ日本語訳がありません。
Defined in: control.rs:12
pub trait DiscreteController: [Send](https://doc.rust-lang.org/std/marker/trait.Send.html)A discrete-time controller that runs at fixed sample intervals.
Controllers have internal state (&mut self) and produce commands
that are held constant between sample times (zero-order hold).
Required Methods
Section titled “Required Methods”sample_period()
Section titled “sample_period()”fn sample_period(&self) -> f64
Sample period [s].
initial_command()
Section titled “initial_command()”fn initial_command(&self) ->
::Command
Initial command before first update.
update()
Section titled “update()”fn update(&mut self, t: f64, attitude: &AttitudeState, orbit: &OrbitalState, epoch: [Option<&Epoch>](https://doc.rust-lang.org/std/option/enum.Option.html)) ->
::Command
Compute new command from current observation.
Internal state (previous values, integrators, etc.) is updated.