pub struct Band {
pub radius: f64,
pub stiffness: f64,
pub damping: f64,
pub pretension: f64,
}Expand description
A band in a link: a loop of two spans over a distal pulley of radius radius (the proximal pulley’s radius is the
coupling’s ratio times it), each span of stiffness and damping, tensioned to pretension.
Fields§
§radius: f64§stiffness: f64§damping: f64§pretension: f64Implementations§
Source§impl Band
impl Band
Sourcepub fn span_tension(&self, e: f64, rate: f64) -> f64
pub fn span_tension(&self, e: f64, rate: f64) -> f64
A span’s tension at an elongation e beyond its pretensioned length and its rate: T0 + k e + c e’ while its
spring holds tension, none once it runs slack.
Sourcepub fn difference(&self, s: f64, rate: f64) -> f64
pub fn difference(&self, s: f64, rate: f64) -> f64
The tension of the span stretched by s less that of the other, shortened by it.
Sourcepub fn energy(&self, s: f64) -> f64
pub fn energy(&self, s: f64) -> f64
The work stored in both spans from their pretensioned length: the integral of T0 + k x from 0 to +-s, constant once a span is slack: k s^2 while both hold tension.
Sourcepub fn loss(&self, s: f64, rate: f64) -> f64
pub fn loss(&self, s: f64, rate: f64) -> f64
The power its spans’ dampers take: c s’^2 per span that holds tension.
Sourcepub fn torsional_stiffness(&self) -> f64
pub fn torsional_stiffness(&self) -> f64
Its torsional stiffness at the distal pulley while both spans hold tension: 2 k r^2.