#[non_exhaustive]pub enum Quantity {
Show 20 variants
AltitudeAboveGround,
AltitudeMsl,
GnssAltitude,
InertialAltitude,
Altitude,
Pressure,
Speed,
Acceleration,
Temperature,
Voltage,
Current,
Latitude,
Longitude,
Angle,
AngularRate,
Distance,
TimeOfDay,
Duration,
Number,
Unrecognized,
}Expand description
What a channel measures. The unit is SI but for angles, which are in degrees as GNSS receivers and loggers write them.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
AltitudeAboveGround
A barometric altitude above the logger’s own zero, m; in a Featherweight GPS tracker’s
summary (LogFormat::FeatherweightSummaryCsv), its receiver’s altitude above the pad it
states.
AltitudeMsl
A barometric altitude above mean sea level, m.
GnssAltitude
An altitude from GNSS, above mean sea level as the receiver states it, m.
InertialAltitude
An altitude the logger integrated from its accelerometer, above its zero, m.
Altitude
An altitude whose sensor or zero the file doesn’t state, m: a table read by its header
(LogFormat::GenericTable) names an altitude and its unit, and often no more.
Pressure
Air pressure, Pa.
Speed
A speed or velocity the logger computed, m/s; its column says from which sensor and along which direction.
Acceleration
An acceleration, m/s²; its column says along which axis, and whether gravity is in it.
Temperature
A temperature, K.
Voltage
An electric potential, V, such as a battery’s or a pyro channel’s.
Current
An electric current, A.
Latitude
A latitude, degrees north.
Longitude
A longitude, degrees east.
Angle
An angle, degrees, such as a tilt or a bearing.
AngularRate
A rate of turn, degrees per second, such as a gyroscope’s about one of its axes.
Distance
A distance, m, such as a GNSS receiver’s range from the pad.
TimeOfDay
A time of day on the logger’s own clock, s after its midnight, in whatever time zone the clock was set to: files state none.
Duration
A length of time, s, such as a summary’s time from liftoff to an event.
Number
A number with no unit, such as a count of satellites, a signal strength, a flag or a state code, as the file writes it, or a fraction, such as a percentage the file writes, divided by 100.
Unrecognized
A column HPR Sim doesn’t know: its values as the file writes them, in a unit HPR Sim doesn’t know either.
Implementations§
Trait Implementations§
impl Copy for Quantity
Source§impl<'de> Deserialize<'de> for Quantity
impl<'de> Deserialize<'de> for Quantity
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>,
impl Eq for Quantity
Source§impl JsonSchema for Quantity
impl JsonSchema for Quantity
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 moreimpl StructuralPartialEq for Quantity
Auto Trait Implementations§
impl Freeze for Quantity
impl RefUnwindSafe for Quantity
impl Send for Quantity
impl Sync for Quantity
impl Unpin for Quantity
impl UnsafeUnpin for Quantity
impl UnwindSafe for Quantity
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.