pub struct Motor {
pub actuator_type: ActuatorType,
pub acceleration_radps2: Option<f64>,
pub control_pid: Option<Vec<f64>>,
pub sampling_period_torque_hz: Option<f64>,
}Fields§
§actuator_type: ActuatorType§acceleration_radps2: Option<f64>§control_pid: Option<Vec<f64>>§sampling_period_torque_hz: Option<f64>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Motor
impl<'de> Deserialize<'de> for Motor
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
impl StructuralPartialEq for Motor
Auto Trait Implementations§
impl Freeze for Motor
impl RefUnwindSafe for Motor
impl Send for Motor
impl Sync for Motor
impl Unpin for Motor
impl UnsafeUnpin for Motor
impl UnwindSafe for Motor
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