pub enum Profile {
PerfectFlite,
Rrc3,
Eggtimer,
Altos,
Imu500,
GnssTracker,
}Expand description
A logger profile.
Variants§
PerfectFlite
Like a PerfectFlite StratoLoggerCF: 20 Hz, its altitude in whole feet.
Rrc3
Like a Missile Works RRC3: 20 Hz, an MS5607’s pressure in 10 Pa steps.
Eggtimer
Like an Eggtimer Quantum: 20 Hz, a Bosch barometer’s altitude in whole feet.
Altos
Like an Altus Metrum TeleMetrum: 100 Hz up and 10 Hz down, an MS5607’s pressure, a high-g accelerometer and a GNSS receiver.
Imu500
Like a Featherweight Blue Raven: 500 Hz, a Bosch barometer and a low-g accelerometer.
GnssTracker
A GNSS tracker: position and altitude only.
Implementations§
Source§impl Profile
impl Profile
Sourcepub fn format(self) -> LogFormat
pub fn format(self) -> LogFormat
The format of the family it is like, which its logs are tagged with.
Sourcepub fn recording(self) -> Option<Recording>
pub fn recording(self) -> Option<Recording>
How its log is written: its rates and its barometer’s step, None for a profile with no
barometer.
Sourcepub fn accelerometer_range_m_s2(self) -> Option<f64>
pub fn accelerometer_range_m_s2(self) -> Option<f64>
The range its accelerometer clips at, m/s²; None with no accelerometer.
Sourcepub fn accelerometer_lower_range_m_s2(self) -> Option<f64>
pub fn accelerometer_lower_range_m_s2(self) -> Option<f64>
The lower range its accelerometer can be set to, m/s², which
accelerometer_log_set_lower logs it at; None with no accelerometer or no such
setting.
Sourcepub fn accelerometer_scale(self) -> Option<f64>
pub fn accelerometer_scale(self) -> Option<f64>
How far its accelerometer’s per-flight scale error runs either way, as a share; None
with no accelerometer.
Trait Implementations§
impl Copy for Profile
Source§impl<'de> Deserialize<'de> for Profile
impl<'de> Deserialize<'de> for Profile
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 Profile
Source§impl Ord for Profile
impl Ord for Profile
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialOrd for Profile
impl PartialOrd for Profile
impl StructuralPartialEq for Profile
Auto Trait Implementations§
impl Freeze for Profile
impl RefUnwindSafe for Profile
impl Send for Profile
impl Sync for Profile
impl Unpin for Profile
impl UnsafeUnpin for Profile
impl UnwindSafe for Profile
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.