Skip to main content

hydr_structures/structures/actuator/
event.rs

1//! Explicit finite-rate actuator event contracts.
2
3/// Next strictly later event with exact coincident boundary flags.
4#[derive(Clone, Copy, Debug, PartialEq)]
5pub struct GateActuatorEvent {
6    /// Original accepted or retained event time in seconds.
7    pub time_s: f64,
8    /// Original target-calendar index, absent when this event contains no target update.
9    pub target_index: Option<usize>,
10    /// Whether this event reaches a retained earliest arrival boundary.
11    pub arrival_lower_boundary: bool,
12    /// Whether this event reaches a retained latest arrival boundary.
13    pub arrival_upper_boundary: bool,
14    /// Whether this event reaches the original terminal horizon.
15    pub terminal: bool,
16}