pub struct EndLimitConfigState {
pub last_update_hardware_timestamp_us: u64,
pub last_update_system_timestamp_us: u64,
pub max_end_linear_velocity: f64,
pub max_end_angular_velocity: f64,
pub max_end_linear_accel: f64,
pub max_end_angular_accel: f64,
pub is_valid: bool,
}Expand description
末端限制配置状态(冷数据)
更新频率:按需查询(单帧响应) CAN ID:0x478(EndVelocityAccelFeedback) 同步机制:RwLock(按需查询,更新频率极低)
注意:所有字段的单位已经在协议层转换完成,无需额外转换。
Fields§
§last_update_hardware_timestamp_us: u64最后更新时间戳(硬件时间戳,微秒)
last_update_system_timestamp_us: u64最后更新时间戳(系统时间戳,微秒)
max_end_linear_velocity: f64末端最大线速度(m/s)
max_end_angular_velocity: f64末端最大角速度(rad/s)
max_end_linear_accel: f64末端最大线加速度(m/s²)
max_end_angular_accel: f64末端最大角加速度(rad/s²)
is_valid: bool是否已更新(单帧响应,收到即有效)
Trait Implementations§
Source§impl Clone for EndLimitConfigState
impl Clone for EndLimitConfigState
Source§fn clone(&self) -> EndLimitConfigState
fn clone(&self) -> EndLimitConfigState
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 EndLimitConfigState
impl Debug for EndLimitConfigState
Source§impl Default for EndLimitConfigState
impl Default for EndLimitConfigState
Source§fn default() -> EndLimitConfigState
fn default() -> EndLimitConfigState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EndLimitConfigState
impl RefUnwindSafe for EndLimitConfigState
impl Send for EndLimitConfigState
impl Sync for EndLimitConfigState
impl Unpin for EndLimitConfigState
impl UnwindSafe for EndLimitConfigState
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more