CommandCode

Struct CommandCode 

Source
pub struct CommandCode {}

Implementations§

Source§

impl CommandCode

Source

pub const AIRFRAME_CONFIGURATION: u16 = 2_520u16

Source

pub const ARM_AUTHORIZATION_REQUEST: u16 = 3_001u16

Source

pub const CAMERA_TRACK_POINT: u16 = 2_004u16

Source

pub const CAMERA_TRACK_RECTANGLE: u16 = 2_005u16

Source

pub const CAMERA_STOP_TRACKING: u16 = 2_010u16

Source

pub const CAN_FORWARD: u16 = 32_000u16

Source

pub const COMPONENT_ARM_DISARM: u16 = 400u16

Source

pub const CONDITION_DELAY: u16 = 112u16

Source

pub const CONDITION_CHANGE_ALT: u16 = 113u16

Source

pub const CONDITION_DISTANCE: u16 = 114u16

Source

pub const CONDITION_YAW: u16 = 115u16

Source

pub const CONDITION_LAST: u16 = 159u16

Source

pub const CONTROL_HIGH_LATENCY: u16 = 2_600u16

Source

pub const DO_FOLLOW: u16 = 32u16

Source

pub const DO_FOLLOW_REPOSITION: u16 = 33u16

Source

pub const DO_SET_MODE: u16 = 176u16

Source

pub const DO_JUMP: u16 = 177u16

Source

pub const DO_CHANGE_SPEED: u16 = 178u16

Source

pub const DO_SET_HOME: u16 = 179u16

Source

pub const DO_SET_PARAMETER: u16 = 180u16

Source

pub const DO_SET_RELAY: u16 = 181u16

Source

pub const DO_REPEAT_RELAY: u16 = 182u16

Source

pub const DO_SET_SERVO: u16 = 183u16

Source

pub const DO_REPEAT_SERVO: u16 = 184u16

Source

pub const DO_FLIGHTTERMINATION: u16 = 185u16

Source

pub const DO_CHANGE_ALTITUDE: u16 = 186u16

Source

pub const DO_LAND_START: u16 = 189u16

Source

pub const DO_RALLY_LAND: u16 = 190u16

Source

pub const DO_GO_AROUND: u16 = 191u16

Source

pub const DO_REPOSITION: u16 = 192u16

Source

pub const DO_PAUSE_CONTINUE: u16 = 193u16

Source

pub const DO_SET_REVERSE: u16 = 194u16

Source

pub const DO_SET_ROI_LOCATION: u16 = 195u16

Source

pub const DO_SET_ROI_WPNEXT_OFFSET: u16 = 196u16

Source

pub const DO_SET_ROI_NONE: u16 = 197u16

Source

pub const DO_SET_ROI_SYSID: u16 = 198u16

Source

pub const DO_CONTROL_VIDEO: u16 = 200u16

Source

pub const DO_SET_ROI: u16 = 201u16

Source

pub const DO_DIGICAM_CONFIGURE: u16 = 202u16

Source

pub const DO_DIGICAM_CONTROL: u16 = 203u16

Source

pub const DO_MOUNT_CONFIGURE: u16 = 204u16

Source

pub const DO_MOUNT_CONTROL: u16 = 205u16

Source

pub const DO_SET_CAM_TRIGG_DIST: u16 = 206u16

Source

pub const DO_FENCE_ENABLE: u16 = 207u16

Source

pub const DO_PARACHUTE: u16 = 208u16

Source

pub const DO_MOTOR_TEST: u16 = 209u16

Source

pub const DO_INVERTED_FLIGHT: u16 = 210u16

Source

pub const DO_GRIPPER: u16 = 211u16

Source

pub const DO_AUTOTUNE_ENABLE: u16 = 212u16

Source

pub const DO_SET_CAM_TRIGG_INTERVAL: u16 = 214u16

Source

pub const DO_MOUNT_CONTROL_QUAT: u16 = 220u16

Source

pub const DO_GUIDED_MASTER: u16 = 221u16

Source

pub const DO_GUIDED_LIMITS: u16 = 222u16

Source

pub const DO_ENGINE_CONTROL: u16 = 223u16

Source

pub const DO_SET_MISSION_CURRENT: u16 = 224u16

Source

pub const DO_LAST: u16 = 240u16

Source

pub const DO_JUMP_TAG: u16 = 601u16

Source

pub const DO_GIMBAL_MANAGER_PITCHYAW: u16 = 1_000u16

Source

pub const DO_GIMBAL_MANAGER_CONFIGURE: u16 = 1_001u16

Source

pub const DO_TRIGGER_CONTROL: u16 = 2_003u16

Source

pub const DO_VTOL_TRANSITION: u16 = 3_000u16

Source

pub const DO_ADSB_OUT_IDENT: u16 = 10_001u16

Source

pub const DO_WINCH: u16 = 42_600u16

Source

pub const FIXED_MAG_CAL_YAW: u16 = 42_006u16

Source

pub const GET_HOME_POSITION: u16 = 410u16

Source

pub const GET_MESSAGE_INTERVAL: u16 = 510u16

Source

pub const IMAGE_START_CAPTURE: u16 = 2_000u16

Source

pub const IMAGE_STOP_CAPTURE: u16 = 2_001u16

Source

pub const JUMP_TAG: u16 = 600u16

Source

pub const LOGGING_START: u16 = 2_510u16

Source

pub const LOGGING_STOP: u16 = 2_511u16

Source

pub const MISSION_START: u16 = 300u16

Source

pub const NAV_WAYPOINT: u16 = 16u16

Source

pub const NAV_LOITER_UNLIM: u16 = 17u16

Source

pub const NAV_LOITER_TURNS: u16 = 18u16

Source

pub const NAV_LOITER_TIME: u16 = 19u16

Source

pub const NAV_RETURN_TO_LAUNCH: u16 = 20u16

Source

pub const NAV_LAND: u16 = 21u16

Source

pub const NAV_TAKEOFF: u16 = 22u16

Source

pub const NAV_LAND_LOCAL: u16 = 23u16

Source

pub const NAV_TAKEOFF_LOCAL: u16 = 24u16

Source

pub const NAV_FOLLOW: u16 = 25u16

Source

pub const NAV_CONTINUE_AND_CHANGE_ALT: u16 = 30u16

Source

pub const NAV_LOITER_TO_ALT: u16 = 31u16

Source

pub const NAV_ROI: u16 = 80u16

Source

pub const NAV_PATHPLANNING: u16 = 81u16

Source

pub const NAV_SPLINE_WAYPOINT: u16 = 82u16

Source

pub const NAV_VTOL_TAKEOFF: u16 = 84u16

Source

pub const NAV_VTOL_LAND: u16 = 85u16

Source

pub const NAV_GUIDED_ENABLE: u16 = 92u16

Source

pub const NAV_DELAY: u16 = 93u16

Source

pub const NAV_PAYLOAD_PLACE: u16 = 94u16

Source

pub const NAV_LAST: u16 = 95u16

Source

pub const NAV_SET_YAW_SPEED: u16 = 213u16

Source

pub const NAV_FENCE_RETURN_POINT: u16 = 5_000u16

Source

pub const NAV_FENCE_POLYGON_VERTEX_INCLUSION: u16 = 5_001u16

Source

pub const NAV_FENCE_POLYGON_VERTEX_EXCLUSION: u16 = 5_002u16

Source

pub const NAV_FENCE_CIRCLE_INCLUSION: u16 = 5_003u16

Source

pub const NAV_FENCE_CIRCLE_EXCLUSION: u16 = 5_004u16

Source

pub const NAV_RALLY_POINT: u16 = 5_100u16

Source

pub const OBLIQUE_SURVEY: u16 = 260u16

Source

pub const OVERRIDE_GOTO: u16 = 252u16

Source

pub const PANORAMA_CREATE: u16 = 2_800u16

Source

pub const PAYLOAD_PREPARE_DEPLOY: u16 = 30_001u16

Source

pub const PAYLOAD_CONTROL_DEPLOY: u16 = 30_002u16

Source

pub const PREFLIGHT_CALIBRATION: u16 = 241u16

Source

pub const PREFLIGHT_SET_SENSOR_OFFSETS: u16 = 242u16

Source

pub const PREFLIGHT_UAVCAN: u16 = 243u16

Source

pub const PREFLIGHT_STORAGE: u16 = 245u16

Source

pub const PREFLIGHT_REBOOT_SHUTDOWN: u16 = 246u16

Source

pub const REQUEST_MESSAGE: u16 = 512u16

Source

pub const REQUEST_PROTOCOL_VERSION: u16 = 519u16

Source

pub const REQUEST_AUTOPILOT_CAPABILITIES: u16 = 520u16

Source

pub const REQUEST_CAMERA_INFORMATION: u16 = 521u16

Source

pub const REQUEST_CAMERA_SETTINGS: u16 = 522u16

Source

pub const REQUEST_STORAGE_INFORMATION: u16 = 525u16

Source

pub const REQUEST_CAMERA_CAPTURE_STATUS: u16 = 527u16

Source

pub const REQUEST_FLIGHT_INFORMATION: u16 = 528u16

Source

pub const REQUEST_VIDEO_STREAM_INFORMATION: u16 = 2_504u16

Source

pub const REQUEST_VIDEO_STREAM_STATUS: u16 = 2_505u16

Source

pub const RESET_CAMERA_SETTINGS: u16 = 529u16

Source

pub const RUN_PREARM_CHECKS: u16 = 401u16

Source

pub const SET_MESSAGE_INTERVAL: u16 = 511u16

Source

pub const SET_CAMERA_MODE: u16 = 530u16

Source

pub const SET_CAMERA_ZOOM: u16 = 531u16

Source

pub const SET_CAMERA_FOCUS: u16 = 532u16

Source

pub const SET_GUIDED_SUBMODE_STANDARD: u16 = 4_000u16

Source

pub const SET_GUIDED_SUBMODE_CIRCLE: u16 = 4_001u16

Source

pub const START_RX_PAIR: u16 = 500u16

Source

pub const STORAGE_FORMAT: u16 = 526u16

Source

pub const UAVCAN_GET_NODE_INFO: u16 = 5_200u16

Source

pub const VIDEO_START_CAPTURE: u16 = 2_500u16

Source

pub const VIDEO_STOP_CAPTURE: u16 = 2_501u16

Source

pub const VIDEO_START_STREAMING: u16 = 2_502u16

Source

pub const VIDEO_STOP_STREAMING: u16 = 2_503u16

Trait Implementations§

Source§

impl Clone for CommandCode

Source§

fn clone(&self) -> CommandCode

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CommandCode

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for CommandCode

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for CommandCode

Source§

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 PartialEq for CommandCode

Source§

fn eq(&self, other: &CommandCode) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for CommandCode

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Message for CommandCode

Source§

impl StructuralPartialEq for CommandCode

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,