pub struct JointSpec {
pub drive: RotaryJoint,
pub id: &'static str,
pub key: &'static str,
pub gear_lever: Option<f64>,
pub unit: &'static str,
}Expand description
One joint as the machine sees it: its drive, the joint’s id and translation key (for friction contacts and signals),
and where it has a gearbox ahead of a converter (screw, rack): the joint’s travel per radian of the gearbox output,
so that the torque at the gearbox output is the joint force times it (signal gearbox.<motor>.output_torque).
Fields§
§drive: RotaryJoint§id: &'static str§key: &'static str§gear_lever: Option<f64>§unit: &'static strThe joint’s unit: “m” for a travel, “rad” for an angle (the axes may be the tool’s, in other units).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for JointSpec
impl RefUnwindSafe for JointSpec
impl Send for JointSpec
impl Sync for JointSpec
impl Unpin for JointSpec
impl UnsafeUnpin for JointSpec
impl UnwindSafe for JointSpec
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