pub struct Transmission { /* private fields */ }
Expand description
Represents a transmission between a Joint
and a actuator.
TODO: DOCS
TODO: DOCS
- Link
Joint
- Link ROS WIKI
Implementations§
source§impl Transmission
impl Transmission
sourcepub fn transmission_type(&self) -> TransmissionType
pub fn transmission_type(&self) -> TransmissionType
Gets the TransmissionType
of the current Transmission
.
See TransmissionType
for more details about the possible transmissiontypes.
sourcepub fn joints(&self) -> &Vec<TransmissionJoint>
pub fn joints(&self) -> &Vec<TransmissionJoint>
Gets a refence to the vector containning all the joint data of this Transmission
.
TODO: EXPLAIN SOMETHING ABOUT TRANSMISSIONJOINT
sourcepub fn actuators(&self) -> &Vec<TransmissionActuator>
pub fn actuators(&self) -> &Vec<TransmissionActuator>
Gets a refence to the vector containning all the actuators of this Transmission
.
TODO: EXPLAIN SOMETHING ABOUT TransmissionActuator
sourcepub fn rebuild(&self) -> TransmissionBuilder<WithJoints, WithActuator>
pub fn rebuild(&self) -> TransmissionBuilder<WithJoints, WithActuator>
Recreates a TransmissionBuilder
that would reconstruct this Transmission
Trait Implementations§
source§impl Debug for Transmission
impl Debug for Transmission
source§impl PartialEq<Transmission> for Transmission
impl PartialEq<Transmission> for Transmission
source§fn eq(&self, other: &Transmission) -> bool
fn eq(&self, other: &Transmission) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToURDF for Transmission
impl ToURDF for Transmission
impl StructuralPartialEq for Transmission
Auto Trait Implementations§
impl RefUnwindSafe for Transmission
impl Send for Transmission
impl Sync for Transmission
impl Unpin for Transmission
impl UnwindSafe for Transmission
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.