#[non_exhaustive]pub enum Ignition {
Launch,
Time {
time_s: f64,
},
Burnout {
mount: String,
delay_s: f64,
},
Separation {
delay_s: f64,
},
Never,
}Expand description
When a motor lights, on the flight’s clock: t = 0 is launch, when the motors that light at
launch ignite. A delay is counted from its event (the decision record on staging,
ADR-074).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Launch
At launch, t = 0.
Time
At a time after launch: an air start on a timer.
Burnout
A delay after another mount’s motor burns out: a sustainer lit by the booster’s burnout, or by its ejection charge with the charge’s delay.
Fields
Separation
A delay after the stage aft of this motor’s stage separates from it (the flight gives the separation). A motor whose stage is never freed never lights; one in the last stage, with nothing aft of it to separate, is refused.
Never
Never: the motor stays loaded and gives no thrust all flight, as if every tube of its mount
were listed in MountedMotor::failed_tubes. A .ork design can set a motor so, or light
it at an event that never comes, and OpenRocket then flies it unlit.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Ignition
impl<'de> Deserialize<'de> for Ignition
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for Ignition
impl JsonSchema for Ignition
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more