pub struct HIGH_LATENCY2_DATA {Show 27 fields
pub timestamp: u32,
pub latitude: i32,
pub longitude: i32,
pub custom_mode: u16,
pub altitude: i16,
pub target_altitude: i16,
pub target_distance: u16,
pub wp_num: u16,
pub failure_flags: HlFailureFlag,
pub mavtype: MavType,
pub autopilot: MavAutopilot,
pub heading: u8,
pub target_heading: u8,
pub throttle: u8,
pub airspeed: u8,
pub airspeed_sp: u8,
pub groundspeed: u8,
pub windspeed: u8,
pub wind_heading: u8,
pub eph: u8,
pub epv: u8,
pub temperature_air: i8,
pub climb_rate: i8,
pub battery: i8,
pub custom0: i8,
pub custom1: i8,
pub custom2: i8,
}dialect-ardupilotmega only.Expand description
Message appropriate for high latency connections like Iridium (version 2).
ID: 235
Fields§
§timestamp: u32Timestamp (milliseconds since boot or Unix epoch)
latitude: i32Latitude
longitude: i32Longitude
custom_mode: u16A bitfield for use for autopilot-specific flags (2 byte version).
altitude: i16Altitude above mean sea level
target_altitude: i16Altitude setpoint
target_distance: u16Distance to target waypoint or position
wp_num: u16Current waypoint number
failure_flags: HlFailureFlagBitmap of failure flags.
mavtype: MavTypeType of the MAV (quadrotor, helicopter, etc.)
autopilot: MavAutopilotAutopilot type / class. Use MAV_AUTOPILOT_INVALID for components that are not flight controllers.
heading: u8Heading
target_heading: u8Heading setpoint
throttle: u8Throttle
airspeed: u8Airspeed
airspeed_sp: u8Airspeed setpoint
groundspeed: u8Groundspeed
windspeed: u8Windspeed
wind_heading: u8Wind heading
eph: u8Maximum error horizontal position since last message
epv: u8Maximum error vertical position since last message
temperature_air: i8Air temperature
climb_rate: i8Maximum climb rate magnitude since last message
battery: i8Battery level (-1 if field not provided).
custom0: i8Field for custom payload.
custom1: i8Field for custom payload.
custom2: i8Field for custom payload.
Implementations§
Trait Implementations§
Source§impl<'arbitrary> Arbitrary<'arbitrary> for HIGH_LATENCY2_DATA
impl<'arbitrary> Arbitrary<'arbitrary> for HIGH_LATENCY2_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 HIGH_LATENCY2_DATA
impl Clone for HIGH_LATENCY2_DATA
Source§fn clone(&self) -> HIGH_LATENCY2_DATA
fn clone(&self) -> HIGH_LATENCY2_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 HIGH_LATENCY2_DATA
impl Debug for HIGH_LATENCY2_DATA
Source§impl Default for HIGH_LATENCY2_DATA
impl Default for HIGH_LATENCY2_DATA
Source§impl<'de> Deserialize<'de> for HIGH_LATENCY2_DATA
impl<'de> Deserialize<'de> for HIGH_LATENCY2_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 HIGH_LATENCY2_DATA
impl MessageData for HIGH_LATENCY2_DATA
Source§impl PartialEq for HIGH_LATENCY2_DATA
impl PartialEq for HIGH_LATENCY2_DATA
Source§impl Serialize for HIGH_LATENCY2_DATA
impl Serialize for HIGH_LATENCY2_DATA
Source§impl TS for HIGH_LATENCY2_DATA
impl TS for HIGH_LATENCY2_DATA
Source§type WithoutGenerics = HIGH_LATENCY2_DATA
type WithoutGenerics = HIGH_LATENCY2_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 = HIGH_LATENCY2_DATA
type OptionInnerType = HIGH_LATENCY2_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