pub struct Mapping {
pub format: String,
pub time: Option<String>,
pub time_unit: Option<String>,
pub sample_time_s: Option<f64>,
pub motors: Vec<MotorMapping>,
}Expand description
The mapping file: which signals of the file are which motor quantities.
Fields§
§format: Stringcsv, sinamics, twincat or codesys.
time: Option<String>The time column of a csv/sinamics table, and its unit, which overrides the one the file states.
time_unit: Option<String>§sample_time_s: Option<f64>The step the signals are resampled to; without it, that of the first motor’s angle.
motors: Vec<MotorMapping>Implementations§
Trait Implementations§
impl StructuralPartialEq for Mapping
Auto Trait Implementations§
impl Freeze for Mapping
impl RefUnwindSafe for Mapping
impl Send for Mapping
impl Sync for Mapping
impl Unpin for Mapping
impl UnsafeUnpin for Mapping
impl UnwindSafe for Mapping
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