pub struct JointControlFeedback {
pub j1_deg: i32,
pub j2_deg: i32,
pub j3_deg: i32,
pub j4_deg: i32,
pub j5_deg: i32,
pub j6_deg: i32,
}Expand description
主从模式关节控制指令反馈 (0x155-0x157)
在主从模式下,示教输入臂会发送关节控制指令给运动输出臂。 此反馈用于解析从示教输入臂接收到的关节控制指令。
Fields§
§j1_deg: i32§j2_deg: i32§j3_deg: i32§j4_deg: i32§j5_deg: i32§j6_deg: i32Implementations§
Source§impl JointControlFeedback
impl JointControlFeedback
Sourcepub fn update_from_12(&mut self, feedback: JointControl12Feedback)
pub fn update_from_12(&mut self, feedback: JointControl12Feedback)
从 0x155 (J1-J2) 帧更新
Sourcepub fn update_from_34(&mut self, feedback: JointControl34Feedback)
pub fn update_from_34(&mut self, feedback: JointControl34Feedback)
从 0x156 (J3-J4) 帧更新
Sourcepub fn update_from_56(&mut self, feedback: JointControl56Feedback)
pub fn update_from_56(&mut self, feedback: JointControl56Feedback)
从 0x157 (J5-J6) 帧更新
Trait Implementations§
Source§impl Clone for JointControlFeedback
impl Clone for JointControlFeedback
Source§fn clone(&self) -> JointControlFeedback
fn clone(&self) -> JointControlFeedback
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 JointControlFeedback
impl Debug for JointControlFeedback
Source§impl Default for JointControlFeedback
impl Default for JointControlFeedback
Source§fn default() -> JointControlFeedback
fn default() -> JointControlFeedback
Returns the “default value” for a type. Read more
impl Copy for JointControlFeedback
Auto Trait Implementations§
impl Freeze for JointControlFeedback
impl RefUnwindSafe for JointControlFeedback
impl Send for JointControlFeedback
impl Sync for JointControlFeedback
impl Unpin for JointControlFeedback
impl UnwindSafe for JointControlFeedback
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