Struct robot_description_builder::Robot
source · pub struct Robot { /* private fields */ }
Implementations§
Trait Implementations§
source§impl KinematicInterface for Robot
impl KinematicInterface for Robot
source§fn get_root_link(&self) -> Arc<RwLock<Link>>
fn get_root_link(&self) -> Arc<RwLock<Link>>
Returns the root link of the Kinematic Tree Read more
source§fn get_newest_link(&self) -> Arc<RwLock<Link>>
fn get_newest_link(&self) -> Arc<RwLock<Link>>
Returns the newest link of the Kinematic Tree Read more
source§fn get_links(&self) -> Arc<RwLock<HashMap<String, Weak<RwLock<Link>>>>>
fn get_links(&self) -> Arc<RwLock<HashMap<String, Weak<RwLock<Link>>>>>
Retrieves the
Link
-index of the Kinematic structure.source§fn get_joints(&self) -> Arc<RwLock<HashMap<String, Weak<RwLock<Joint>>>>>
fn get_joints(&self) -> Arc<RwLock<HashMap<String, Weak<RwLock<Joint>>>>>
Retrieves the
Joint
-index of the Kinematic structure.fn get_materials( &self ) -> Arc<RwLock<HashMap<String, Arc<RwLock<MaterialData>>>>>
source§fn purge_links(&self)
fn purge_links(&self)
source§fn purge_joints(&self)
fn purge_joints(&self)
source§fn purge_materials(
&self
) -> Result<(), PoisonError<RwLockWriteGuard<'_, HashMap<String, Arc<RwLock<MaterialData>>>>>>
fn purge_materials( &self ) -> Result<(), PoisonError<RwLockWriteGuard<'_, HashMap<String, Arc<RwLock<MaterialData>>>>>>
Cleans up orphaned/unused
Material
entries from material_index
HashMapfn yank_link(&self, name: &str) -> Option<Chained<LinkBuilder>>
source§fn yank_root(self) -> Result<Chained<LinkBuilder>, YankLinkError>
fn yank_root(self) -> Result<Chained<LinkBuilder>, YankLinkError>
Cosumes the
KinematicInterface
implementor and creates a Chained<LinkBuilder>
to rebuild it. Read morefn yank_joint(&self, name: &str) -> Option<Chained<JointBuilder>>
Auto Trait Implementations§
impl RefUnwindSafe for Robot
impl Send for Robot
impl Sync for Robot
impl Unpin for Robot
impl UnwindSafe for Robot
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
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.