pub struct SET_VELOCITY_LIMITS_DATA {
pub horizontal_speed_limit: f32,
pub vertical_speed_limit: f32,
pub yaw_rate_limit: f32,
pub target_system: u8,
pub target_component: u8,
}
Available on crate feature
development
only.Expand description
id: 354 Set temporary maximum limits for horizontal speed, vertical speed and yaw rate. The consumer must stream the current limits in VELOCITY_LIMITS at 1 Hz or more (when limits are being set). The consumer should latch the limits until a new limit is received or the mode is changed.
Fields§
§horizontal_speed_limit: f32
Limit for horizontal movement in MAV_FRAME_LOCAL_NED. NaN: Field not used (ignore)
vertical_speed_limit: f32
Limit for vertical movement in MAV_FRAME_LOCAL_NED. NaN: Field not used (ignore)
yaw_rate_limit: f32
Limit for vehicle turn rate around its yaw axis. NaN: Field not used (ignore)
target_system: u8
System ID (0 for broadcast).
target_component: u8
Component ID (0 for broadcast).
Implementations§
Source§impl SET_VELOCITY_LIMITS_DATA
impl SET_VELOCITY_LIMITS_DATA
pub const ENCODED_LEN: usize = 14usize
pub const DEFAULT: Self
Trait Implementations§
Source§impl Clone for SET_VELOCITY_LIMITS_DATA
impl Clone for SET_VELOCITY_LIMITS_DATA
Source§fn clone(&self) -> SET_VELOCITY_LIMITS_DATA
fn clone(&self) -> SET_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 SET_VELOCITY_LIMITS_DATA
impl Debug for SET_VELOCITY_LIMITS_DATA
Source§impl Default for SET_VELOCITY_LIMITS_DATA
impl Default for SET_VELOCITY_LIMITS_DATA
Source§impl<'de> Deserialize<'de> for SET_VELOCITY_LIMITS_DATA
impl<'de> Deserialize<'de> for SET_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 SET_VELOCITY_LIMITS_DATA
impl MessageData for SET_VELOCITY_LIMITS_DATA
const ID: u32 = 354u32
const NAME: &'static str = "SET_VELOCITY_LIMITS"
const EXTRA_CRC: u8 = 210u8
const ENCODED_LEN: usize = 14usize
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 SET_VELOCITY_LIMITS_DATA
impl PartialEq for SET_VELOCITY_LIMITS_DATA
Source§impl Serialize for SET_VELOCITY_LIMITS_DATA
impl Serialize for SET_VELOCITY_LIMITS_DATA
impl StructuralPartialEq for SET_VELOCITY_LIMITS_DATA
Auto Trait Implementations§
impl Freeze for SET_VELOCITY_LIMITS_DATA
impl RefUnwindSafe for SET_VELOCITY_LIMITS_DATA
impl Send for SET_VELOCITY_LIMITS_DATA
impl Sync for SET_VELOCITY_LIMITS_DATA
impl Unpin for SET_VELOCITY_LIMITS_DATA
impl UnwindSafe for SET_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