pub struct CookedTelemetry {
pub(crate) pll_time: i64,
pub(crate) phase: [ScaledStatistics; 2],
pub(crate) rf_power: [f32; 2],
pub(crate) raw: [ChannelTelemetry; 2],
pub(crate) ch_freq: [f64; 2],
pub(crate) temp: f32,
}Expand description
Telemetry structure.
This structure is published via MQTT at the telemetry_interval configured in
Settings.
There is no dedicated AA filtering for telemetry data (except for stats),
it is just decimated by the telemetry interval. Use streaming for full
bandwidth data.
Fields§
§pll_time: i64PLL time
DDS PLL time as seen by CPU (sample) clock.
Settles increments of approximately 0x140_0000.
phase: [ScaledStatistics; 2]Statistics of scaled (settings.phase_scale) phase including wraps. Phase statistics state. Each message corresponds to the statistics of the phase data since the last message.
rf_power: [f32; 2]RF power in dBm as reported by the RF detector and ADC. Functionality limited. https://github.com/sinara-hw/Pounder/issues/95
raw: [ChannelTelemetry; 2]Raw (binary) channel telemetry, mostly “stateful”
ch_freq: [f64; 2]Channel frequency estimate (PI counter between telemetry messages) TODO: deprecate
temp: f32Pounder board temperature
Trait Implementations§
Source§impl Clone for CookedTelemetry
impl Clone for CookedTelemetry
Source§fn clone(&self) -> CookedTelemetry
fn clone(&self) -> CookedTelemetry
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for CookedTelemetry
impl Default for CookedTelemetry
Source§fn default() -> CookedTelemetry
fn default() -> CookedTelemetry
Auto Trait Implementations§
impl Freeze for CookedTelemetry
impl RefUnwindSafe for CookedTelemetry
impl Send for CookedTelemetry
impl Sync for CookedTelemetry
impl Unpin for CookedTelemetry
impl UnwindSafe for CookedTelemetry
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, M> ForwardCompat<T, M> for T
impl<T, M> ForwardCompat<T, M> for T
§impl<T> ReverseCompat<T> for T
impl<T> ReverseCompat<T> for T
§fn reverse(self) -> Reverse<T>
fn reverse(self) -> Reverse<T>
Create an e-h-c wrapper around and e-h object Available methods depend on the wrapped type
§fn reverse_cell(self) -> Reverse<RefCell<T>>
fn reverse_cell(self) -> Reverse<RefCell<T>>
Create an e-h-c reverse compatibility wrapper using a ref-cell for interior mutability (required for InputPin types)