pub enum SetpointKind {
LocalNed,
GlobalInt,
}Expand description
Which of the two position-target messages a setpoint targets. The local message carries x/y/z metres in a local/body frame; the global message carries scaled lat/lon (1e7) plus an altitude in metres in a global frame. A single-shot send picks one and fills the fields the type mask does not ignore.
Variants§
LocalNed
SET_POSITION_TARGET_LOCAL_NED (id 84): positions in metres in a
local/body coordinate frame.
GlobalInt
SET_POSITION_TARGET_GLOBAL_INT (id 86): lat/lon scaled by 1e7 and an
altitude in metres in a global coordinate frame.
Trait Implementations§
Source§impl Clone for SetpointKind
impl Clone for SetpointKind
impl Copy for SetpointKind
Source§impl Debug for SetpointKind
impl Debug for SetpointKind
impl Eq for SetpointKind
Source§impl PartialEq for SetpointKind
impl PartialEq for SetpointKind
impl StructuralPartialEq for SetpointKind
Auto Trait Implementations§
impl Freeze for SetpointKind
impl RefUnwindSafe for SetpointKind
impl Send for SetpointKind
impl Sync for SetpointKind
impl Unpin for SetpointKind
impl UnsafeUnpin for SetpointKind
impl UnwindSafe for SetpointKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.