pub struct VELOCITY_LIMITS_DATA {
pub horizontal_speed_limit: f32,
pub vertical_speed_limit: f32,
pub yaw_rate_limit: f32,
}
Available on crate feature
development
only.Expand description
id: 355 Current limits for horizontal speed, vertical speed and yaw rate, as set by SET_VELOCITY_LIMITS.
Fields§
§horizontal_speed_limit: f32
Limit for horizontal movement in MAV_FRAME_LOCAL_NED. NaN: No limit applied
vertical_speed_limit: f32
Limit for vertical movement in MAV_FRAME_LOCAL_NED. NaN: No limit applied
yaw_rate_limit: f32
Limit for vehicle turn rate around its yaw axis. NaN: No limit applied
Implementations§
Source§impl VELOCITY_LIMITS_DATA
impl VELOCITY_LIMITS_DATA
pub const ENCODED_LEN: usize = 12usize
pub const DEFAULT: Self
Trait Implementations§
Source§impl Clone for VELOCITY_LIMITS_DATA
impl Clone for VELOCITY_LIMITS_DATA
Source§fn clone(&self) -> VELOCITY_LIMITS_DATA
fn clone(&self) -> VELOCITY_LIMITS_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 Debug for VELOCITY_LIMITS_DATA
impl Debug for VELOCITY_LIMITS_DATA
Source§impl Default for VELOCITY_LIMITS_DATA
impl Default for VELOCITY_LIMITS_DATA
Source§impl<'de> Deserialize<'de> for VELOCITY_LIMITS_DATA
impl<'de> Deserialize<'de> for VELOCITY_LIMITS_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 VELOCITY_LIMITS_DATA
impl MessageData for VELOCITY_LIMITS_DATA
const ID: u32 = 355u32
const NAME: &'static str = "VELOCITY_LIMITS"
const EXTRA_CRC: u8 = 6u8
const ENCODED_LEN: usize = 12usize
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 VELOCITY_LIMITS_DATA
impl PartialEq for VELOCITY_LIMITS_DATA
Source§impl Serialize for VELOCITY_LIMITS_DATA
impl Serialize for VELOCITY_LIMITS_DATA
impl StructuralPartialEq for VELOCITY_LIMITS_DATA
Auto Trait Implementations§
impl Freeze for VELOCITY_LIMITS_DATA
impl RefUnwindSafe for VELOCITY_LIMITS_DATA
impl Send for VELOCITY_LIMITS_DATA
impl Sync for VELOCITY_LIMITS_DATA
impl Unpin for VELOCITY_LIMITS_DATA
impl UnwindSafe for VELOCITY_LIMITS_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