pub struct Arms<const N: usize> {
pub joints: [RotaryJoint; N],
pub motors: [MotorInfo; N],
pub gearboxes: [&'static str; N],
pub axes: [(&'static str, &'static str); N],
}Expand description
A linkage’s drives and names: per arm its joint, its motor and its gearbox’s id for its warmth (gearbox_<motor>, as
its loss is named); per axis of the tool its id and key.
Fields§
§joints: [RotaryJoint; N]§motors: [MotorInfo; N]§gearboxes: [&'static str; N]§axes: [(&'static str, &'static str); N]Implementations§
Source§impl<const N: usize> Arms<N>
impl<const N: usize> Arms<N>
A crate’s: one joint for every arm from [joint], [motor] and [gearbox]; motors 1, 2, … (keys
motor-arm-k), gearboxes gearbox_k; the axes as given.
Auto Trait Implementations§
impl<const N: usize> Freeze for Arms<N>
impl<const N: usize> RefUnwindSafe for Arms<N>
impl<const N: usize> Send for Arms<N>
impl<const N: usize> Sync for Arms<N>
impl<const N: usize> Unpin for Arms<N>
impl<const N: usize> UnsafeUnpin for Arms<N>
impl<const N: usize> UnwindSafe for Arms<N>
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