pub struct SetEndVelocityAccelCommand {
pub max_linear_velocity: Option<u16>,
pub max_angular_velocity: Option<u16>,
pub max_linear_accel: Option<u16>,
pub max_angular_accel: Option<u16>,
}Expand description
末端速度/加速度参数设置指令 (0x479)
用于设置末端的最大线速度、角速度、线加速度和角加速度。 单位:
- 线速度:0.001m/s(原始值),无效值:0x7FFF
- 角速度:0.001rad/s(原始值),无效值:0x7FFF
- 线加速度:0.001m/s²(原始值),无效值:0x7FFF
- 角加速度:0.001rad/s²(原始值),无效值:0x7FFF
Fields§
§max_linear_velocity: Option<u16>§max_angular_velocity: Option<u16>§max_linear_accel: Option<u16>§max_angular_accel: Option<u16>Implementations§
Trait Implementations§
Source§impl Clone for SetEndVelocityAccelCommand
impl Clone for SetEndVelocityAccelCommand
Source§fn clone(&self) -> SetEndVelocityAccelCommand
fn clone(&self) -> SetEndVelocityAccelCommand
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 SetEndVelocityAccelCommand
impl Debug for SetEndVelocityAccelCommand
impl Copy for SetEndVelocityAccelCommand
Auto Trait Implementations§
impl Freeze for SetEndVelocityAccelCommand
impl RefUnwindSafe for SetEndVelocityAccelCommand
impl Send for SetEndVelocityAccelCommand
impl Sync for SetEndVelocityAccelCommand
impl Unpin for SetEndVelocityAccelCommand
impl UnwindSafe for SetEndVelocityAccelCommand
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