[−][src]Struct arcos_kdl::segment::Segment
Implementation of a kinematic chian segment. This is the joint together with the link.
It is represented by the joint, a frame that transforms from the joint to the end of the link, and an inertia parameter.
Methods
impl Segment
[src]
pub fn default() -> Segment
[src]
Default segment, with the default joint and no link.
pub fn new(joint: Joint, f_tip: Frame, inertia: RigidBodyInertia) -> Segment
[src]
Constructs a segment from the given Joint
, link transformation
and inertia
pub fn set_joint(&self, new_joint: Joint) -> Segment
[src]
Creates a new segment with the given joint
pub fn set_tip_frame(&self, new_f_tip: Frame) -> Segment
[src]
Creates a new segment with the given link transformation
pub fn set_inertia(&self, new_inertia: RigidBodyInertia) -> Segment
[src]
Creates a new segment with the given inertia
Note that right now this method is useless because dynamics are not yet implemented
pub fn get_joint_type(&self) -> JointType
[src]
Returns the type of the internal joint
pub fn pose(&self, joint_state: f64) -> Frame
[src]
Get the pose at the tip of the segment given the state of the joint
pub fn twist(&self, joint_state: f64, qdot: f64) -> Twist
[src]
Get the twist at the tip of the segment given the state of the joint
Trait Implementations
impl Clone for Segment
[src]
fn clone(&self) -> Segment
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for Segment
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,