[−][src]Struct ev3dev_lang_rust::motors::LargeMotor
EV3/NXT large servo motor
Trait Implementations
impl Device for LargeMotor[src]
fn get_attribute(&self, name: &str) -> Attribute[src]
fn get_address(&self) -> Ev3Result<String>[src]
fn set_command(&self, command: &str) -> Ev3Result<()>[src]
fn get_commands(&self) -> Ev3Result<Vec<String>>[src]
fn get_driver_name(&self) -> Ev3Result<String>[src]
impl Findable<MotorPort> for LargeMotor[src]
fn get(port: MotorPort) -> Ev3Result<Self>[src]
fn find() -> Ev3Result<Self>[src]
fn list() -> Ev3Result<Vec<Self>>[src]
impl TachoMotor for LargeMotor[src]
fn get_count_per_rot(&self) -> Ev3Result<i32>[src]
fn get_count_per_m(&self) -> Ev3Result<i32>[src]
fn get_full_travel_count(&self) -> Ev3Result<i32>[src]
fn get_duty_cycle(&self) -> Ev3Result<i32>[src]
fn get_duty_cycle_sp(&self) -> Ev3Result<i32>[src]
fn set_duty_cycle_sp(&self, duty_cycle: i32) -> Ev3Result<()>[src]
fn get_polarity(&self) -> Ev3Result<String>[src]
fn set_polarity(&self, polarity: &str) -> Ev3Result<()>[src]
fn get_position(&self) -> Ev3Result<i32>[src]
fn set_position(&self, position: i32) -> Ev3Result<()>[src]
fn get_hold_pid_kp(&self) -> Ev3Result<f32>[src]
fn set_hold_pid_kp(&self, kp: f32) -> Ev3Result<()>[src]
fn get_hold_pid_ki(&self) -> Ev3Result<f32>[src]
fn set_hold_pid_ki(&self, ki: f32) -> Ev3Result<()>[src]
fn get_hold_pid_kd(&self) -> Ev3Result<f32>[src]
fn set_hold_pid_kd(&self, kd: f32) -> Ev3Result<()>[src]
fn get_max_speed(&self) -> Ev3Result<i32>[src]
fn get_position_sp(&self) -> Ev3Result<i32>[src]
fn set_position_sp(&self, position_sp: i32) -> Ev3Result<()>[src]
fn get_speed(&self) -> Ev3Result<i32>[src]
fn get_speed_sp(&self) -> Ev3Result<i32>[src]
fn set_speed_sp(&self, speed_sp: i32) -> Ev3Result<()>[src]
fn get_ramp_up_sp(&self) -> Ev3Result<i32>[src]
fn set_ramp_up_sp(&self, ramp_up_sp: i32) -> Ev3Result<()>[src]
fn get_ramp_down_sp(&self) -> Ev3Result<i32>[src]
fn set_ramp_down_sp(&self, ramp_down_sp: i32) -> Ev3Result<()>[src]
fn get_speed_pid_kp(&self) -> Ev3Result<f32>[src]
fn set_speed_pid_kp(&self, kp: f32) -> Ev3Result<()>[src]
fn get_speed_pid_ki(&self) -> Ev3Result<f32>[src]
fn set_speed_pid_ki(&self, ki: f32) -> Ev3Result<()>[src]
fn get_speed_pid_kd(&self) -> Ev3Result<f32>[src]
fn set_speed_pid_kd(&self, kd: f32) -> Ev3Result<()>[src]
fn get_state(&self) -> Ev3Result<Vec<String>>[src]
fn get_stop_action(&self) -> Ev3Result<String>[src]
fn set_stop_action(&self, stop_action: &str) -> Ev3Result<()>[src]
fn get_stop_actions(&self) -> Ev3Result<Vec<String>>[src]
fn get_time_sp(&self) -> Ev3Result<i32>[src]
fn set_time_sp(&self, time_sp: i32) -> Ev3Result<()>[src]
fn run_direct(&self) -> Ev3Result<()>[src]
fn run_forever(&self) -> Ev3Result<()>[src]
fn run_to_abs_pos(&self, position_sp: Option<i32>) -> Ev3Result<()>[src]
fn run_to_rel_pos(&self, position_sp: Option<i32>) -> Ev3Result<()>[src]
fn run_timed(&self, time_sp: Option<Duration>) -> Ev3Result<()>[src]
fn stop(&self) -> Ev3Result<()>[src]
fn reset(&self) -> Ev3Result<()>[src]
fn is_running(&self) -> Ev3Result<bool>[src]
fn is_ramping(&self) -> Ev3Result<bool>[src]
fn is_holding(&self) -> Ev3Result<bool>[src]
fn is_overloaded(&self) -> Ev3Result<bool>[src]
fn is_stalled(&self) -> Ev3Result<bool>[src]
fn wait<F>(&self, cond: F, timeout: Option<Duration>) -> bool where
F: Fn() -> bool, [src]
F: Fn() -> bool,
fn wait_while(&self, state: &str, timeout: Option<Duration>) -> bool[src]
fn wait_until(&self, state: &str, timeout: Option<Duration>) -> bool[src]
fn wait_until_not_moving(&self, timeout: Option<Duration>) -> bool[src]
impl Motor for LargeMotor[src]
impl Clone for LargeMotor[src]
fn clone(&self) -> LargeMotor[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for LargeMotor[src]
Auto Trait Implementations
impl !Send for LargeMotor
impl !Sync for LargeMotor
impl Unpin for LargeMotor
impl !UnwindSafe for LargeMotor
impl !RefUnwindSafe for LargeMotor
Blanket Implementations
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,