pub struct FlexCoupling {
pub mass: Vec<f64>,
pub coupling: Vec<f64>,
pub momentum: Vec<f64>,
pub force: Vec<f64>,
pub joint: Vec<f64>,
pub potential: f64,
}Expand description
The two-way bending modes (Mechanism::flex_coupling) at one moment, with T = 1/2 q’^T M q’ + d’^T p +
1/2 d’^T M_d d’ their share of the kinetic energy and V = -d^T Q_g of the potential:
M q'' + B^T d'' = tau - h + G G = d (d^T Q_g) / dq, the joints' load as the bending moves the weights
B q'' + M_d d'' = F - K d - C d' F = Q_g - B' q' - 1/2 M_d' d'B’ q’ and M_d’ along the motion, so that T + V + 1/2 d^T K d changes by the joints’ work less C d’^2 alone.
Fields§
§mass: Vec<f64>M_d, modes x modes, row by row.
coupling: Vec<f64>B, modes x joints (all, passive ones included), row by row.
momentum: Vec<f64>p = B q’, per mode.
force: Vec<f64>F, per mode.
joint: Vec<f64>G, per joint.
potential: f64V = -d^T Q_g.
Trait Implementations§
Source§impl Clone for FlexCoupling
impl Clone for FlexCoupling
Source§fn clone(&self) -> FlexCoupling
fn clone(&self) -> FlexCoupling
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FlexCoupling
impl Debug for FlexCoupling
Source§impl PartialEq for FlexCoupling
impl PartialEq for FlexCoupling
Source§fn eq(&self, other: &FlexCoupling) -> bool
fn eq(&self, other: &FlexCoupling) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FlexCoupling
Auto Trait Implementations§
impl Freeze for FlexCoupling
impl RefUnwindSafe for FlexCoupling
impl Send for FlexCoupling
impl Sync for FlexCoupling
impl Unpin for FlexCoupling
impl UnsafeUnpin for FlexCoupling
impl UnwindSafe for FlexCoupling
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