Struct k::Manipulator [−][src]
pub struct Manipulator<T: Real> { pub name: String, pub links: Vec<LinkNode<T>>, pub transform: Isometry3<T>, // some fields omitted }
Kinematic chain using Rc<RefCell<LinkNode<T>>>
Fields
name: String
links: Vec<LinkNode<T>>
transform: Isometry3<T>
Methods
impl<T> Manipulator<T> where
T: Real,
[src]
impl<T> Manipulator<T> where
T: Real,
pub fn set_end_link_name(&mut self, name: &str) -> Result<(), String>
[src]
pub fn set_end_link_name(&mut self, name: &str) -> Result<(), String>
pub fn end_link_name<'a>(&'a self) -> &'a Option<String>
[src]
pub fn end_link_name<'a>(&'a self) -> &'a Option<String>
pub fn new(name: &str, end: &LinkNode<T>) -> Self
[src]
pub fn new(name: &str, end: &LinkNode<T>) -> Self
pub fn from_link_tree(end_link_name: &str, tree: &LinkTree<T>) -> Option<Self>
[src]
pub fn from_link_tree(end_link_name: &str, tree: &LinkTree<T>) -> Option<Self>
pub fn add_mimic(&mut self, name: &str, mimic_info: Mimic<T>)
[src]
pub fn add_mimic(&mut self, name: &str, mimic_info: Mimic<T>)
pub fn mimics(&self) -> &HashMap<String, Mimic<T>>
[src]
pub fn mimics(&self) -> &HashMap<String, Mimic<T>>
Trait Implementations
impl<T: Debug + Real> Debug for Manipulator<T>
[src]
impl<T: Debug + Real> Debug for Manipulator<T>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T> EndTransform<T> for Manipulator<T> where
T: Real,
[src]
impl<T> EndTransform<T> for Manipulator<T> where
T: Real,
fn end_transform(&self) -> Isometry3<T>
[src]
fn end_transform(&self) -> Isometry3<T>
Calculate and return the transform of the end of the links
impl<T> HasLinks<T> for Manipulator<T> where
T: Real,
[src]
impl<T> HasLinks<T> for Manipulator<T> where
T: Real,
fn link_transforms(&self) -> Vec<Isometry3<T>>
[src]
fn link_transforms(&self) -> Vec<Isometry3<T>>
Calculate the transforms of all of the links
fn link_names(&self) -> Vec<String>
[src]
fn link_names(&self) -> Vec<String>
Get the names of the links
impl<T> HasJoints<T> for Manipulator<T> where
T: Real,
[src]
impl<T> HasJoints<T> for Manipulator<T> where
T: Real,
fn set_joint_angles(&mut self, angles: &[T]) -> Result<(), JointError>
[src]
fn set_joint_angles(&mut self, angles: &[T]) -> Result<(), JointError>
Set the angles of the joints Read more
fn joint_angles(&self) -> Vec<T>
[src]
fn joint_angles(&self) -> Vec<T>
Get the angles of the joints
fn joint_limits(&self) -> Vec<Option<Range<T>>>
[src]
fn joint_limits(&self) -> Vec<Option<Range<T>>>
Get the limits of the joints, if it exists.
fn joint_names(&self) -> Vec<String>
[src]
fn joint_names(&self) -> Vec<String>
skip fixed joint
Auto Trait Implementations
impl<T> !Send for Manipulator<T>
impl<T> !Send for Manipulator<T>
impl<T> !Sync for Manipulator<T>
impl<T> !Sync for Manipulator<T>