pub struct DhParameters {
pub a: f32,
pub alpha: f32,
pub d: f32,
pub theta: f32,
}Expand description
The four Denavit-Hartenberg parameters describing one joint-to-joint step of a serial arm.
The DH convention pins each link with four numbers, so an arm is just a list of these. For a
revolute joint the joint variable is theta; for a prismatic joint it is d.
Fields§
§a: f32Link length: distance along the common normal, in metres.
alpha: f32Link twist: angle about the common normal, in radians.
d: f32Link offset: distance along the previous z axis, in metres.
theta: f32Joint angle: rotation about the previous z axis, in radians.
Implementations§
Trait Implementations§
Source§impl Clone for DhParameters
impl Clone for DhParameters
Source§fn clone(&self) -> DhParameters
fn clone(&self) -> DhParameters
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DhParameters
Source§impl Debug for DhParameters
impl Debug for DhParameters
Source§impl PartialEq for DhParameters
impl PartialEq for DhParameters
Source§fn eq(&self, other: &DhParameters) -> bool
fn eq(&self, other: &DhParameters) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DhParameters
Auto Trait Implementations§
impl Freeze for DhParameters
impl RefUnwindSafe for DhParameters
impl Send for DhParameters
impl Sync for DhParameters
impl Unpin for DhParameters
impl UnsafeUnpin for DhParameters
impl UnwindSafe for DhParameters
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