pub struct STORM32_GIMBAL_MANAGER_CORRECT_ROLL_DATA {
pub roll: f32,
pub target_system: u8,
pub target_component: u8,
pub gimbal_id: u8,
pub client: MavStorm32GimbalManagerClient,
}
Available on crate feature
storm32
only.Expand description
id: 60014 Message to a gimbal manager to correct the gimbal roll angle. This message is typically used to manually correct for a tilted horizon in operation. A gimbal device is never to react to this message.
Fields§
§roll: f32
Roll angle (positive to roll to the right).
target_system: u8
System ID
target_component: u8
Component ID
gimbal_id: u8
Gimbal ID of the gimbal manager to address (component ID or 1-6 for non-MAVLink gimbal, 0 for all gimbals). Send command multiple times for more than one but not all gimbals.
client: MavStorm32GimbalManagerClient
Client which is contacting the gimbal manager (must be set).
Implementations§
Source§impl STORM32_GIMBAL_MANAGER_CORRECT_ROLL_DATA
impl STORM32_GIMBAL_MANAGER_CORRECT_ROLL_DATA
pub const ENCODED_LEN: usize = 8usize
pub const DEFAULT: Self
Trait Implementations§
Source§impl Clone for STORM32_GIMBAL_MANAGER_CORRECT_ROLL_DATA
impl Clone for STORM32_GIMBAL_MANAGER_CORRECT_ROLL_DATA
Source§fn clone(&self) -> STORM32_GIMBAL_MANAGER_CORRECT_ROLL_DATA
fn clone(&self) -> STORM32_GIMBAL_MANAGER_CORRECT_ROLL_DATA
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<'de> Deserialize<'de> for STORM32_GIMBAL_MANAGER_CORRECT_ROLL_DATA
impl<'de> Deserialize<'de> for STORM32_GIMBAL_MANAGER_CORRECT_ROLL_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 STORM32_GIMBAL_MANAGER_CORRECT_ROLL_DATA
impl MessageData for STORM32_GIMBAL_MANAGER_CORRECT_ROLL_DATA
const ID: u32 = 60_014u32
const NAME: &'static str = "STORM32_GIMBAL_MANAGER_CORRECT_ROLL"
const EXTRA_CRC: u8 = 134u8
const ENCODED_LEN: usize = 8usize
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 STORM32_GIMBAL_MANAGER_CORRECT_ROLL_DATA
impl PartialEq for STORM32_GIMBAL_MANAGER_CORRECT_ROLL_DATA
Source§fn eq(&self, other: &STORM32_GIMBAL_MANAGER_CORRECT_ROLL_DATA) -> bool
fn eq(&self, other: &STORM32_GIMBAL_MANAGER_CORRECT_ROLL_DATA) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for STORM32_GIMBAL_MANAGER_CORRECT_ROLL_DATA
Auto Trait Implementations§
impl Freeze for STORM32_GIMBAL_MANAGER_CORRECT_ROLL_DATA
impl RefUnwindSafe for STORM32_GIMBAL_MANAGER_CORRECT_ROLL_DATA
impl Send for STORM32_GIMBAL_MANAGER_CORRECT_ROLL_DATA
impl Sync for STORM32_GIMBAL_MANAGER_CORRECT_ROLL_DATA
impl Unpin for STORM32_GIMBAL_MANAGER_CORRECT_ROLL_DATA
impl UnwindSafe for STORM32_GIMBAL_MANAGER_CORRECT_ROLL_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