#[repr(u8)]pub enum TargetObsFrame {
LocalNed = 0,
BodyFrd = 1,
LocalOffsetNed = 2,
Other = 3,
}Expand description
MAVLink enum TARGET_OBS_FRAME for development dialect.
The frame of a target observation from an onboard sensor.
Variants§
LocalNed = 0
MAVLink enum entry TARGET_OBS_FRAME_LOCAL_NED.
NED local tangent frame (x: North, y: East, z: Down) with origin fixed relative to earth.
BodyFrd = 1
MAVLink enum entry TARGET_OBS_FRAME_BODY_FRD.
FRD local frame aligned to the vehicle’s attitude (x: Forward, y: Right, z: Down) with an origin that travels with vehicle.
LocalOffsetNed = 2
MAVLink enum entry TARGET_OBS_FRAME_LOCAL_OFFSET_NED.
NED local tangent frame (x: North, y: East, z: Down) with an origin that travels with vehicle.
Other = 3
MAVLink enum entry TARGET_OBS_FRAME_OTHER.
Other sensor frame for target observations neither in local NED nor in body FRD.
Implementations§
Trait Implementations§
Source§impl Clone for TargetObsFrame
impl Clone for TargetObsFrame
Source§fn clone(&self) -> TargetObsFrame
fn clone(&self) -> TargetObsFrame
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TargetObsFrame
impl Debug for TargetObsFrame
Source§impl Default for TargetObsFrame
impl Default for TargetObsFrame
Source§fn default() -> TargetObsFrame
fn default() -> TargetObsFrame
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TargetObsFrame
impl<'de> Deserialize<'de> for TargetObsFrame
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl NamedType for TargetObsFrame
impl NamedType for TargetObsFrame
fn sid() -> SpectaID
Source§fn named_data_type(
type_map: &mut TypeCollection,
generics: &[DataType],
) -> NamedDataType
fn named_data_type( type_map: &mut TypeCollection, generics: &[DataType], ) -> NamedDataType
this is equivalent to Type::inline but returns a NamedDataType instead.
Source§fn definition_named_data_type(type_map: &mut TypeCollection) -> NamedDataType
fn definition_named_data_type(type_map: &mut TypeCollection) -> NamedDataType
this is equivalent to [Type::definition] but returns a NamedDataType instead.
Source§impl PartialEq for TargetObsFrame
impl PartialEq for TargetObsFrame
Source§impl Serialize for TargetObsFrame
impl Serialize for TargetObsFrame
Source§impl TryFrom<u8> for TargetObsFrame
impl TryFrom<u8> for TargetObsFrame
Source§impl Type for TargetObsFrame
impl Type for TargetObsFrame
Source§fn inline(type_map: &mut TypeCollection, generics: Generics<'_>) -> DataType
fn inline(type_map: &mut TypeCollection, generics: Generics<'_>) -> DataType
Returns the definition of a type using the provided generics. Read more
Source§fn reference(type_map: &mut TypeCollection, generics: &[DataType]) -> Reference
fn reference(type_map: &mut TypeCollection, generics: &[DataType]) -> Reference
Generates a datatype corresponding to a reference to this type,
as determined by its category. Getting a reference to a type implies that
it should belong in the type map (since it has to be referenced from somewhere),
so the output of
definition will be put into the type map.impl Copy for TargetObsFrame
impl StructuralPartialEq for TargetObsFrame
Auto Trait Implementations§
impl Freeze for TargetObsFrame
impl RefUnwindSafe for TargetObsFrame
impl Send for TargetObsFrame
impl Sync for TargetObsFrame
impl Unpin for TargetObsFrame
impl UnwindSafe for TargetObsFrame
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
Mutably borrows from an owned value. Read more