pub struct JointFeedback12 {
pub j1_deg: i32,
pub j2_deg: i32,
}Expand description
机械臂臂部关节反馈12 (0x2A5)
包含 J1 和 J2 关节的角度反馈。 单位:0.001°(原始值),可通过方法转换为度或弧度。
Fields§
§j1_deg: i32§j2_deg: i32Implementations§
Trait Implementations§
Source§impl Clone for JointFeedback12
impl Clone for JointFeedback12
Source§fn clone(&self) -> JointFeedback12
fn clone(&self) -> JointFeedback12
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 JointFeedback12
impl Debug for JointFeedback12
Source§impl Default for JointFeedback12
impl Default for JointFeedback12
Source§fn default() -> JointFeedback12
fn default() -> JointFeedback12
Returns the “default value” for a type. Read more
Source§impl TryFrom<PiperFrame> for JointFeedback12
impl TryFrom<PiperFrame> for JointFeedback12
Source§type Error = ProtocolError
type Error = ProtocolError
The type returned in the event of a conversion error.
impl Copy for JointFeedback12
Auto Trait Implementations§
impl Freeze for JointFeedback12
impl RefUnwindSafe for JointFeedback12
impl Send for JointFeedback12
impl Sync for JointFeedback12
impl Unpin for JointFeedback12
impl UnwindSafe for JointFeedback12
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