[−][src]Struct arcos_kdl::chains::Chain
Implementation of kinematic chains
segments: a vector with the segments of the chain
num_joints: number of joints (segments with movable joints)
num_ind_joints: Number of joints with independent movement
num_unlocked_joints: Num of enabled/unlocked joints
locked_joints: vector with bools indicating if the joint is locked
coupling_matrix: matrix correlating the joints with their couples\
Methods
impl Chain
[src]
pub fn default() -> Chain
[src]
Default empty chain
pub fn get_num_segments(&self) -> usize
[src]
Returns the total number of segments
pub fn get_num_joints(&self) -> usize
[src]
Returns the number of segments with moveable joints
pub fn get_num_ind_joints(&self) -> usize
[src]
Returns the number of Independent moveable joints
pub fn get_coupling_matrix(&self) -> DMatrix<f64>
[src]
Returns the coupling matrix
pub fn add_segment(&mut self, segment: Segment)
[src]
Add a new semgment at the end of the kinematic chain
(Where the end is where the end-effector would be)
pub fn add_chain(&mut self, chain: Chain)
[src]
Append an entire chain at the end of this chain
pub fn get_segment(&self, index: usize) -> Segment
[src]
Get the segment at the index-th position
pub fn get_locked_joints(&self) -> Vec<bool>
[src]
Get the vector with lock information
pub fn set_coupling(
&mut self,
new_locked_joints: Vec<bool>,
new_coupling_matrix: DMatrix<f64>
)
[src]
&mut self,
new_locked_joints: Vec<bool>,
new_coupling_matrix: DMatrix<f64>
)
Set coupling information, locked joints and coupling relations
Trait Implementations
Auto Trait Implementations
Blanket Implementations
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> From<T> for T
[src]
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> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
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>,