Skip to content

ThrusterAssembly

Defined in: thruster.rs:324

pub struct ThrusterAssembly {
pub command: ThrusterCommand,
// ...
}

A plugin-commanded group of thrusters, implementing Model.

At each zero-order-hold segment boundary the host updates command with the plugin’s latest ThrusterCommand. During ODE evaluation the commanded throttle values are held constant.

command: ThrusterCommand

Current commanded throttle levels.


fn new(core: ThrusterAssemblyCore) -> Self

Create a new assembly with all thrusters off.


fn num_thrusters(&self) -> usize

Number of thrusters in the assembly.