pub struct TIME_ESTIMATE_TO_TARGET_DATA {
pub safe_return: i32,
pub land: i32,
pub mission_next_item: i32,
pub mission_end: i32,
pub commanded_action: i32,
}
development
only.Expand description
id: 380 Time/duration estimates for various events and actions given the current vehicle state and position..
Fields§
§safe_return: i32
Estimated time to complete the vehicle’s configured “safe return” action from its current position (e.g. RTL, Smart RTL, etc.). -1 indicates that the vehicle is landed, or that no time estimate available..
land: i32
Estimated time for vehicle to complete the LAND action from its current position. -1 indicates that the vehicle is landed, or that no time estimate available..
mission_next_item: i32
Estimated time for reaching/completing the currently active mission item. -1 means no time estimate available..
mission_end: i32
Estimated time for completing the current mission. -1 means no mission active and/or no estimate available..
commanded_action: i32
Estimated time for completing the current commanded action (i.e. Go To, Takeoff, Land, etc.). -1 means no action active and/or no estimate available..
Implementations§
Source§impl TIME_ESTIMATE_TO_TARGET_DATA
impl TIME_ESTIMATE_TO_TARGET_DATA
pub const ENCODED_LEN: usize = 20usize
pub const DEFAULT: Self
Trait Implementations§
Source§impl Clone for TIME_ESTIMATE_TO_TARGET_DATA
impl Clone for TIME_ESTIMATE_TO_TARGET_DATA
Source§fn clone(&self) -> TIME_ESTIMATE_TO_TARGET_DATA
fn clone(&self) -> TIME_ESTIMATE_TO_TARGET_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 TIME_ESTIMATE_TO_TARGET_DATA
impl Debug for TIME_ESTIMATE_TO_TARGET_DATA
Source§impl<'de> Deserialize<'de> for TIME_ESTIMATE_TO_TARGET_DATA
impl<'de> Deserialize<'de> for TIME_ESTIMATE_TO_TARGET_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 TIME_ESTIMATE_TO_TARGET_DATA
impl MessageData for TIME_ESTIMATE_TO_TARGET_DATA
const ID: u32 = 380u32
const NAME: &'static str = "TIME_ESTIMATE_TO_TARGET"
const EXTRA_CRC: u8 = 232u8
const ENCODED_LEN: usize = 20usize
type Message = MavMessage
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
Source§impl PartialEq for TIME_ESTIMATE_TO_TARGET_DATA
impl PartialEq for TIME_ESTIMATE_TO_TARGET_DATA
Source§fn eq(&self, other: &TIME_ESTIMATE_TO_TARGET_DATA) -> bool
fn eq(&self, other: &TIME_ESTIMATE_TO_TARGET_DATA) -> bool
self
and other
values to be equal, and is used by ==
.