pub struct Joint {
pub name: String,
pub joint_type: JointType,
pub origin: Pose,
pub parent: LinkName,
pub child: LinkName,
pub axis: Axis,
pub limit: JointLimit,
pub dynamics: Option<Dynamics>,
pub mimic: Option<Mimic>,
pub safety_controller: Option<SafetyController>,
}
Expand description
Urdf Joint element See http://wiki.ros.org/urdf/XML/joint for more detail.
Fields§
§name: String
§joint_type: JointType
§origin: Pose
§parent: LinkName
§child: LinkName
§axis: Axis
§limit: JointLimit
§dynamics: Option<Dynamics>
§mimic: Option<Mimic>
§safety_controller: Option<SafetyController>
Trait Implementations§
source§impl YaDeserialize for Joint
impl YaDeserialize for Joint
fn deserialize<R: Read>(reader: &mut Deserializer<R>) -> Result<Self, String>
source§impl YaSerialize for Joint
impl YaSerialize for Joint
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>
fn serialize_attributes( &self, source_attributes: Vec<OwnedAttribute>, source_namespace: Namespace ) -> Result<(Vec<OwnedAttribute>, Namespace), String>
Auto Trait Implementations§
impl RefUnwindSafe for Joint
impl Send for Joint
impl Sync for Joint
impl Unpin for Joint
impl UnwindSafe for Joint
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