Struct mavlink::avssuas::GIMBAL_MANAGER_INFORMATION_DATA
source · pub struct GIMBAL_MANAGER_INFORMATION_DATA {
pub time_boot_ms: u32,
pub cap_flags: GimbalManagerCapFlags,
pub roll_min: f32,
pub roll_max: f32,
pub pitch_min: f32,
pub pitch_max: f32,
pub yaw_min: f32,
pub yaw_max: f32,
pub gimbal_device_id: u8,
}
Available on crate feature
avssuas
only.Expand description
id: 280 Information about a high level gimbal manager. This message should be requested by a ground station using MAV_CMD_REQUEST_MESSAGE..
Fields§
§time_boot_ms: u32
Timestamp (time since system boot)..
cap_flags: GimbalManagerCapFlags
Bitmap of gimbal capability flags..
roll_min: f32
Minimum hardware roll angle (positive: rolling to the right, negative: rolling to the left).
roll_max: f32
Maximum hardware roll angle (positive: rolling to the right, negative: rolling to the left).
pitch_min: f32
Minimum pitch angle (positive: up, negative: down).
pitch_max: f32
Maximum pitch angle (positive: up, negative: down).
yaw_min: f32
Minimum yaw angle (positive: to the right, negative: to the left).
yaw_max: f32
Maximum yaw angle (positive: to the right, negative: to the left).
gimbal_device_id: u8
Gimbal device ID that this gimbal manager is responsible for..
Implementations§
source§impl GIMBAL_MANAGER_INFORMATION_DATA
impl GIMBAL_MANAGER_INFORMATION_DATA
pub const ENCODED_LEN: usize = 33usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for GIMBAL_MANAGER_INFORMATION_DATA
impl Clone for GIMBAL_MANAGER_INFORMATION_DATA
source§fn clone(&self) -> GIMBAL_MANAGER_INFORMATION_DATA
fn clone(&self) -> GIMBAL_MANAGER_INFORMATION_DATA
Returns a copy 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<'de> Deserialize<'de> for GIMBAL_MANAGER_INFORMATION_DATA
impl<'de> Deserialize<'de> for GIMBAL_MANAGER_INFORMATION_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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl MessageData for GIMBAL_MANAGER_INFORMATION_DATA
impl MessageData for GIMBAL_MANAGER_INFORMATION_DATA
const ID: u32 = 280u32
const NAME: &'static str = "GIMBAL_MANAGER_INFORMATION"
const EXTRA_CRC: u8 = 70u8
const ENCODED_LEN: usize = 33usize
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 GIMBAL_MANAGER_INFORMATION_DATA
impl PartialEq for GIMBAL_MANAGER_INFORMATION_DATA
source§fn eq(&self, other: &GIMBAL_MANAGER_INFORMATION_DATA) -> bool
fn eq(&self, other: &GIMBAL_MANAGER_INFORMATION_DATA) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GIMBAL_MANAGER_INFORMATION_DATA
Auto Trait Implementations§
impl Freeze for GIMBAL_MANAGER_INFORMATION_DATA
impl RefUnwindSafe for GIMBAL_MANAGER_INFORMATION_DATA
impl Send for GIMBAL_MANAGER_INFORMATION_DATA
impl Sync for GIMBAL_MANAGER_INFORMATION_DATA
impl Unpin for GIMBAL_MANAGER_INFORMATION_DATA
impl UnwindSafe for GIMBAL_MANAGER_INFORMATION_DATA
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)