pub struct EndVelocityAccelFeedback {
pub max_linear_velocity: u16,
pub max_angular_velocity: u16,
pub max_linear_accel: u16,
pub max_angular_accel: u16,
}Expand description
反馈当前末端速度/加速度参数 (0x478)
单位:
- 线速度:0.001m/s(原始值)
- 角速度:0.001rad/s(原始值)
- 线加速度:0.001m/s²(原始值)
- 角加速度:0.001rad/s²(原始值)
Fields§
§max_linear_velocity: u16§max_angular_velocity: u16§max_linear_accel: u16§max_angular_accel: u16Implementations§
Source§impl EndVelocityAccelFeedback
impl EndVelocityAccelFeedback
Sourcepub fn max_linear_velocity(&self) -> f64
pub fn max_linear_velocity(&self) -> f64
获取最大线速度(m/s)
Sourcepub fn max_angular_velocity(&self) -> f64
pub fn max_angular_velocity(&self) -> f64
获取最大角速度(rad/s)
Sourcepub fn max_linear_accel(&self) -> f64
pub fn max_linear_accel(&self) -> f64
获取最大线加速度(m/s²)
Sourcepub fn max_angular_accel(&self) -> f64
pub fn max_angular_accel(&self) -> f64
获取最大角加速度(rad/s²)
Trait Implementations§
Source§impl Clone for EndVelocityAccelFeedback
impl Clone for EndVelocityAccelFeedback
Source§fn clone(&self) -> EndVelocityAccelFeedback
fn clone(&self) -> EndVelocityAccelFeedback
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 EndVelocityAccelFeedback
impl Debug for EndVelocityAccelFeedback
Source§impl Default for EndVelocityAccelFeedback
impl Default for EndVelocityAccelFeedback
Source§fn default() -> EndVelocityAccelFeedback
fn default() -> EndVelocityAccelFeedback
Returns the “default value” for a type. Read more
Source§impl TryFrom<PiperFrame> for EndVelocityAccelFeedback
impl TryFrom<PiperFrame> for EndVelocityAccelFeedback
Source§type Error = ProtocolError
type Error = ProtocolError
The type returned in the event of a conversion error.
impl Copy for EndVelocityAccelFeedback
Auto Trait Implementations§
impl Freeze for EndVelocityAccelFeedback
impl RefUnwindSafe for EndVelocityAccelFeedback
impl Send for EndVelocityAccelFeedback
impl Sync for EndVelocityAccelFeedback
impl Unpin for EndVelocityAccelFeedback
impl UnwindSafe for EndVelocityAccelFeedback
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