#[non_exhaustive]pub enum Report {
Heartbeat(Heartbeat),
SysStatus(SysStatus),
GpsRawInt(GpsRawInt),
Attitude(Attitude),
GlobalPositionInt(GlobalPositionInt),
VfrHud(VfrHud),
BatteryStatus(BatteryStatus),
Statustext(Statustext),
Other(Box<Frame>),
}Expand description
A decoded telemetry report from a Vehicle.
The common messages a ground station displays are decoded into typed variants; anything
else is carried as a Report::Other raw frame so no traffic is lost.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Heartbeat(Heartbeat)
The periodic heartbeat announcing the vehicle’s type, autopilot, and status.
SysStatus(SysStatus)
Onboard sensor health, load, and battery state.
GpsRawInt(GpsRawInt)
The raw GPS fix.
Attitude(Attitude)
Orientation and angular rates.
GlobalPositionInt(GlobalPositionInt)
The fused global position, altitude, and velocity.
VfrHud(VfrHud)
The heads-up flight summary.
BatteryStatus(BatteryStatus)
Battery charge, current, and per-cell voltages.
Statustext(Statustext)
A human-readable status message.
Other(Box<Frame>)
Any other message, carried as the raw frame. Boxed because a Frame is far larger
than a decoded message, so the common typed reports stay small to move around.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more