pub struct SERIAL_UDB_EXTRA_F2_B_DATA {Show 50 fields
pub sue_time: u32,
pub sue_flags: u32,
pub sue_barom_press: i32,
pub sue_barom_alt: i32,
pub sue_pwm_input_1: i16,
pub sue_pwm_input_2: i16,
pub sue_pwm_input_3: i16,
pub sue_pwm_input_4: i16,
pub sue_pwm_input_5: i16,
pub sue_pwm_input_6: i16,
pub sue_pwm_input_7: i16,
pub sue_pwm_input_8: i16,
pub sue_pwm_input_9: i16,
pub sue_pwm_input_10: i16,
pub sue_pwm_input_11: i16,
pub sue_pwm_input_12: i16,
pub sue_pwm_output_1: i16,
pub sue_pwm_output_2: i16,
pub sue_pwm_output_3: i16,
pub sue_pwm_output_4: i16,
pub sue_pwm_output_5: i16,
pub sue_pwm_output_6: i16,
pub sue_pwm_output_7: i16,
pub sue_pwm_output_8: i16,
pub sue_pwm_output_9: i16,
pub sue_pwm_output_10: i16,
pub sue_pwm_output_11: i16,
pub sue_pwm_output_12: i16,
pub sue_imu_location_x: i16,
pub sue_imu_location_y: i16,
pub sue_imu_location_z: i16,
pub sue_location_error_earth_x: i16,
pub sue_location_error_earth_y: i16,
pub sue_location_error_earth_z: i16,
pub sue_osc_fails: i16,
pub sue_imu_velocity_x: i16,
pub sue_imu_velocity_y: i16,
pub sue_imu_velocity_z: i16,
pub sue_waypoint_goal_x: i16,
pub sue_waypoint_goal_y: i16,
pub sue_waypoint_goal_z: i16,
pub sue_aero_x: i16,
pub sue_aero_y: i16,
pub sue_aero_z: i16,
pub sue_barom_temp: i16,
pub sue_bat_volt: i16,
pub sue_bat_amp: i16,
pub sue_bat_amp_hours: i16,
pub sue_desired_height: i16,
pub sue_memory_stack_free: i16,
}dialect-matrixpilot only.Expand description
Backwards compatible version of SERIAL_UDB_EXTRA - F2: Part B.
ID: 171
Fields§
§sue_time: u32Serial UDB Extra Time
sue_flags: u32Serial UDB Extra Status Flags
sue_barom_press: i32SUE barometer pressure
sue_barom_alt: i32SUE barometer altitude
sue_pwm_input_1: i16Serial UDB Extra PWM Input Channel 1
sue_pwm_input_2: i16Serial UDB Extra PWM Input Channel 2
sue_pwm_input_3: i16Serial UDB Extra PWM Input Channel 3
sue_pwm_input_4: i16Serial UDB Extra PWM Input Channel 4
sue_pwm_input_5: i16Serial UDB Extra PWM Input Channel 5
sue_pwm_input_6: i16Serial UDB Extra PWM Input Channel 6
sue_pwm_input_7: i16Serial UDB Extra PWM Input Channel 7
sue_pwm_input_8: i16Serial UDB Extra PWM Input Channel 8
sue_pwm_input_9: i16Serial UDB Extra PWM Input Channel 9
sue_pwm_input_10: i16Serial UDB Extra PWM Input Channel 10
sue_pwm_input_11: i16Serial UDB Extra PWM Input Channel 11
sue_pwm_input_12: i16Serial UDB Extra PWM Input Channel 12
sue_pwm_output_1: i16Serial UDB Extra PWM Output Channel 1
sue_pwm_output_2: i16Serial UDB Extra PWM Output Channel 2
sue_pwm_output_3: i16Serial UDB Extra PWM Output Channel 3
sue_pwm_output_4: i16Serial UDB Extra PWM Output Channel 4
sue_pwm_output_5: i16Serial UDB Extra PWM Output Channel 5
sue_pwm_output_6: i16Serial UDB Extra PWM Output Channel 6
sue_pwm_output_7: i16Serial UDB Extra PWM Output Channel 7
sue_pwm_output_8: i16Serial UDB Extra PWM Output Channel 8
sue_pwm_output_9: i16Serial UDB Extra PWM Output Channel 9
sue_pwm_output_10: i16Serial UDB Extra PWM Output Channel 10
sue_pwm_output_11: i16Serial UDB Extra PWM Output Channel 11
sue_pwm_output_12: i16Serial UDB Extra PWM Output Channel 12
sue_imu_location_x: i16Serial UDB Extra IMU Location X
sue_imu_location_y: i16Serial UDB Extra IMU Location Y
sue_imu_location_z: i16Serial UDB Extra IMU Location Z
sue_location_error_earth_x: i16Serial UDB Location Error Earth X
sue_location_error_earth_y: i16Serial UDB Location Error Earth Y
sue_location_error_earth_z: i16Serial UDB Location Error Earth Z
sue_osc_fails: i16Serial UDB Extra Oscillator Failure Count
sue_imu_velocity_x: i16Serial UDB Extra IMU Velocity X
sue_imu_velocity_y: i16Serial UDB Extra IMU Velocity Y
sue_imu_velocity_z: i16Serial UDB Extra IMU Velocity Z
sue_waypoint_goal_x: i16Serial UDB Extra Current Waypoint Goal X
sue_waypoint_goal_y: i16Serial UDB Extra Current Waypoint Goal Y
sue_waypoint_goal_z: i16Serial UDB Extra Current Waypoint Goal Z
sue_aero_x: i16Aeroforce in UDB X Axis
sue_aero_y: i16Aeroforce in UDB Y Axis
sue_aero_z: i16Aeroforce in UDB Z axis
sue_barom_temp: i16SUE barometer temperature
sue_bat_volt: i16SUE battery voltage
sue_bat_amp: i16SUE battery current
sue_bat_amp_hours: i16SUE battery milli amp hours used
sue_desired_height: i16Sue autopilot desired height
sue_memory_stack_free: i16Serial UDB Extra Stack Memory Free
Implementations§
Trait Implementations§
Source§impl<'arbitrary> Arbitrary<'arbitrary> for SERIAL_UDB_EXTRA_F2_B_DATA
impl<'arbitrary> Arbitrary<'arbitrary> for SERIAL_UDB_EXTRA_F2_B_DATA
Source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Self from the given unstructured data. Read moreSource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Self from the entirety of the given
unstructured data. Read moreSource§impl Clone for SERIAL_UDB_EXTRA_F2_B_DATA
impl Clone for SERIAL_UDB_EXTRA_F2_B_DATA
Source§fn clone(&self) -> SERIAL_UDB_EXTRA_F2_B_DATA
fn clone(&self) -> SERIAL_UDB_EXTRA_F2_B_DATA
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SERIAL_UDB_EXTRA_F2_B_DATA
impl Debug for SERIAL_UDB_EXTRA_F2_B_DATA
Source§impl Default for SERIAL_UDB_EXTRA_F2_B_DATA
impl Default for SERIAL_UDB_EXTRA_F2_B_DATA
Source§impl<'de> Deserialize<'de> for SERIAL_UDB_EXTRA_F2_B_DATA
impl<'de> Deserialize<'de> for SERIAL_UDB_EXTRA_F2_B_DATA
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>,
Source§impl MessageData for SERIAL_UDB_EXTRA_F2_B_DATA
impl MessageData for SERIAL_UDB_EXTRA_F2_B_DATA
Source§impl TS for SERIAL_UDB_EXTRA_F2_B_DATA
impl TS for SERIAL_UDB_EXTRA_F2_B_DATA
Source§type WithoutGenerics = SERIAL_UDB_EXTRA_F2_B_DATA
type WithoutGenerics = SERIAL_UDB_EXTRA_F2_B_DATA
WithoutGenerics should just be Self.
If the type does have generic parameters, then all generic parameters must be replaced with
a dummy type, e.g ts_rs::Dummy or ().
The only requirement for these dummy types is that EXPORT_TO must be None. Read moreSource§type OptionInnerType = SERIAL_UDB_EXTRA_F2_B_DATA
type OptionInnerType = SERIAL_UDB_EXTRA_F2_B_DATA
std::option::Option<T>, then this associated type is set to T.
All other implementations of TS should set this type to Self instead.Source§fn docs() -> Option<String>
fn docs() -> Option<String>
TS is derived, docs are
automatically read from your doc comments or #[doc = ".."] attributesSource§fn decl_concrete() -> String
fn decl_concrete() -> String
TS::decl().
If this type is not generic, then this function is equivalent to TS::decl().Source§fn decl() -> String
fn decl() -> String
type User = { user_id: number, ... }.
This function will panic if the type has no declaration. Read moreSource§fn inline() -> String
fn inline() -> String
{ user_id: number }.
This function will panic if the type cannot be inlined.Source§fn inline_flattened() -> String
fn inline_flattened() -> String
This function will panic if the type cannot be flattened.
Source§fn visit_generics(v: &mut impl TypeVisitor)where
Self: 'static,
fn visit_generics(v: &mut impl TypeVisitor)where
Self: 'static,
Source§fn output_path() -> Option<PathBuf>
fn output_path() -> Option<PathBuf>
T should be exported.The returned path does not include the base directory from
TS_RS_EXPORT_DIR. Read moreSource§fn visit_dependencies(v: &mut impl TypeVisitor)where
Self: 'static,
fn visit_dependencies(v: &mut impl TypeVisitor)where
Self: 'static,
§fn dependencies() -> Vec<Dependency>where
Self: 'static,
fn dependencies() -> Vec<Dependency>where
Self: 'static,
§fn export() -> Result<(), ExportError>where
Self: 'static,
fn export() -> Result<(), ExportError>where
Self: 'static,
TS::export_all]. Read more§fn export_all() -> Result<(), ExportError>where
Self: 'static,
fn export_all() -> Result<(), ExportError>where
Self: 'static,
To export only this type, without its dependencies, use [
TS::export]. Read more§fn export_all_to(out_dir: impl AsRef<Path>) -> Result<(), ExportError>where
Self: 'static,
fn export_all_to(out_dir: impl AsRef<Path>) -> Result<(), ExportError>where
Self: 'static,
To export only this type, without its dependencies, use [
TS::export]. Read more§fn export_to_string() -> Result<String, ExportError>where
Self: 'static,
fn export_to_string() -> Result<String, ExportError>where
Self: 'static,
§fn default_output_path() -> Option<PathBuf>
fn default_output_path() -> Option<PathBuf>
T should be exported. Read more