pub struct BodySpec<T> {
pub link: LinkSpec,
pub parent_link: String,
pub joint_type: JointType,
pub axis: JointAxis,
pub limits: Option<JointLimits<T>>,
pub inertial: Option<InertialSpec<T>>,
pub joint_origin: Transform3<T>,
pub dh_params: Option<DhParams<T>>,
}Fields§
§link: LinkSpec§parent_link: String§joint_type: JointType§axis: JointAxis§limits: Option<JointLimits<T>>§inertial: Option<InertialSpec<T>>§joint_origin: Transform3<T>Static URDF <origin> transform from parent link to joint frame.
dh_params: Option<DhParams<T>>Explicit DH parameters, present only when the source pipeline carries them
(fixture::Planar2rFixture, fixture::SixDofDhFixture, or callers constructing
BodySpec directly with known DH). URDF-loaded bodies leave this None so
dh::to_chain_spec fails loudly instead of silently treating URDF origins as DH.
Trait Implementations§
Source§impl<T: PartialEq> PartialEq for BodySpec<T>
impl<T: PartialEq> PartialEq for BodySpec<T>
impl<T> StructuralPartialEq for BodySpec<T>
Auto Trait Implementations§
impl<T> Freeze for BodySpec<T>where
T: Freeze,
impl<T> RefUnwindSafe for BodySpec<T>where
T: RefUnwindSafe,
impl<T> Send for BodySpec<T>where
T: Send,
impl<T> Sync for BodySpec<T>where
T: Sync,
impl<T> Unpin for BodySpec<T>where
T: Unpin,
impl<T> UnsafeUnpin for BodySpec<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for BodySpec<T>where
T: UnwindSafe + RefUnwindSafe,
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