pub struct JointControl12 {
pub j1_deg: i32,
pub j2_deg: i32,
}Expand description
机械臂臂部关节控制指令12 (0x155)
用于控制 J1 和 J2 关节的目标角度。
单位:0.001°(原始值),可通过 new() 方法从物理量(度)创建。
Fields§
§j1_deg: i32§j2_deg: i32Implementations§
Trait Implementations§
Source§impl Clone for JointControl12
impl Clone for JointControl12
Source§fn clone(&self) -> JointControl12
fn clone(&self) -> JointControl12
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 JointControl12
impl Debug for JointControl12
Source§impl Default for JointControl12
impl Default for JointControl12
Source§fn default() -> JointControl12
fn default() -> JointControl12
Returns the “default value” for a type. Read more
impl Copy for JointControl12
Auto Trait Implementations§
impl Freeze for JointControl12
impl RefUnwindSafe for JointControl12
impl Send for JointControl12
impl Sync for JointControl12
impl Unpin for JointControl12
impl UnwindSafe for JointControl12
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