pub struct GaitGroup {
pub clips: Vec<String>,
pub max_gait_phase_spread: f64,
pub min_lr_amplitude_m: f64,
}Expand description
A set of clips whose gait phases must agree (a directional blend ring).
Fields§
§clips: Vec<String>Clip names that should share a gait phase.
max_gait_phase_spread: f64Maximum circular spread of the members’ gait phases, in cycle
fraction [0, 0.5].
min_lr_amplitude_m: f64Members with L−R amplitude under this (metres) are excluded from the spread (their phase is noise, not signal).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GaitGroup
impl<'de> Deserialize<'de> for GaitGroup
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GaitGroup
impl RefUnwindSafe for GaitGroup
impl Send for GaitGroup
impl Sync for GaitGroup
impl Unpin for GaitGroup
impl UnsafeUnpin for GaitGroup
impl UnwindSafe for GaitGroup
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