Struct ev3dev_lang_rust::tacho_motor::LargeMotor [−][src]
pub struct LargeMotor { /* fields omitted */ }Methods
impl LargeMotor[src]
impl LargeMotorpub fn new(port: MotorPort) -> Option<LargeMotor>[src]
pub fn new(port: MotorPort) -> Option<LargeMotor>Trait Implementations
impl Motor for LargeMotor[src]
impl Motor for LargeMotorimpl TachoMotor for LargeMotor[src]
impl TachoMotor for LargeMotorfn get_count_per_rot(&mut self) -> AttributeResult<isize>[src]
fn get_count_per_rot(&mut self) -> AttributeResult<isize>fn get_full_travel_count(&mut self) -> AttributeResult<isize>[src]
fn get_full_travel_count(&mut self) -> AttributeResult<isize>fn get_duty_cycle(&mut self) -> AttributeResult<isize>[src]
fn get_duty_cycle(&mut self) -> AttributeResult<isize>fn get_duty_cycle_sp(&mut self) -> AttributeResult<isize>[src]
fn get_duty_cycle_sp(&mut self) -> AttributeResult<isize>fn set_duty_cycle_sp(&mut self, duty_cycle: isize) -> AttributeResult<()>[src]
fn set_duty_cycle_sp(&mut self, duty_cycle: isize) -> AttributeResult<()>fn get_polarity(&mut self) -> AttributeResult<String>[src]
fn get_polarity(&mut self) -> AttributeResult<String>fn set_polarity(&mut self, polarity: String) -> AttributeResult<()>[src]
fn set_polarity(&mut self, polarity: String) -> AttributeResult<()>fn get_position(&mut self) -> AttributeResult<isize>[src]
fn get_position(&mut self) -> AttributeResult<isize>fn set_position(&mut self, position: isize) -> AttributeResult<()>[src]
fn set_position(&mut self, position: isize) -> AttributeResult<()>fn get_hold_pid_kp(&mut self) -> AttributeResult<f32>[src]
fn get_hold_pid_kp(&mut self) -> AttributeResult<f32>fn set_hold_pid_kp(&mut self, kp: f32) -> AttributeResult<()>[src]
fn set_hold_pid_kp(&mut self, kp: f32) -> AttributeResult<()>fn get_hold_pid_ki(&mut self) -> AttributeResult<f32>[src]
fn get_hold_pid_ki(&mut self) -> AttributeResult<f32>fn set_hold_pid_ki(&mut self, ki: f32) -> AttributeResult<()>[src]
fn set_hold_pid_ki(&mut self, ki: f32) -> AttributeResult<()>fn get_hold_pid_kd(&mut self) -> AttributeResult<f32>[src]
fn get_hold_pid_kd(&mut self) -> AttributeResult<f32>fn set_hold_pid_kd(&mut self, kd: f32) -> AttributeResult<()>[src]
fn set_hold_pid_kd(&mut self, kd: f32) -> AttributeResult<()>fn get_max_speed(&mut self) -> AttributeResult<isize>[src]
fn get_max_speed(&mut self) -> AttributeResult<isize>fn get_position_sp(&mut self) -> AttributeResult<isize>[src]
fn get_position_sp(&mut self) -> AttributeResult<isize>fn set_position_sp(&mut self, position_sp: isize) -> AttributeResult<()>[src]
fn set_position_sp(&mut self, position_sp: isize) -> AttributeResult<()>fn get_speed(&mut self) -> AttributeResult<isize>[src]
fn get_speed(&mut self) -> AttributeResult<isize>fn set_speed(&mut self, speed: isize) -> AttributeResult<()>[src]
fn set_speed(&mut self, speed: isize) -> AttributeResult<()>fn get_speed_sp(&mut self) -> AttributeResult<isize>[src]
fn get_speed_sp(&mut self) -> AttributeResult<isize>fn set_speed_sp(&mut self, speed_sp: isize) -> AttributeResult<()>[src]
fn set_speed_sp(&mut self, speed_sp: isize) -> AttributeResult<()>fn get_ramp_up_sp(&mut self) -> AttributeResult<isize>[src]
fn get_ramp_up_sp(&mut self) -> AttributeResult<isize>fn set_ramp_up_sp(&mut self, ramp_up_sp: isize) -> AttributeResult<()>[src]
fn set_ramp_up_sp(&mut self, ramp_up_sp: isize) -> AttributeResult<()>fn get_ramp_down_sp(&mut self) -> AttributeResult<isize>[src]
fn get_ramp_down_sp(&mut self) -> AttributeResult<isize>fn set_ramp_down_sp(&mut self, ramp_down_sp: isize) -> AttributeResult<()>[src]
fn set_ramp_down_sp(&mut self, ramp_down_sp: isize) -> AttributeResult<()>fn get_speed_pid_kp(&mut self) -> AttributeResult<f32>[src]
fn get_speed_pid_kp(&mut self) -> AttributeResult<f32>fn set_speed_pid_kp(&mut self, kp: f32) -> AttributeResult<()>[src]
fn set_speed_pid_kp(&mut self, kp: f32) -> AttributeResult<()>fn get_speed_pid_ki(&mut self) -> AttributeResult<f32>[src]
fn get_speed_pid_ki(&mut self) -> AttributeResult<f32>fn set_speed_pid_ki(&mut self, ki: f32) -> AttributeResult<()>[src]
fn set_speed_pid_ki(&mut self, ki: f32) -> AttributeResult<()>fn get_speed_pid_kd(&mut self) -> AttributeResult<f32>[src]
fn get_speed_pid_kd(&mut self) -> AttributeResult<f32>fn set_speed_pid_kd(&mut self, kd: f32) -> AttributeResult<()>[src]
fn set_speed_pid_kd(&mut self, kd: f32) -> AttributeResult<()>fn get_state(&mut self) -> AttributeResult<Vec<String>>[src]
fn get_state(&mut self) -> AttributeResult<Vec<String>>fn get_stop_action(&mut self) -> AttributeResult<String>[src]
fn get_stop_action(&mut self) -> AttributeResult<String>fn set_stop_action(&mut self, stop_action: String) -> AttributeResult<()>[src]
fn set_stop_action(&mut self, stop_action: String) -> AttributeResult<()>fn get_time_sp(&mut self) -> AttributeResult<isize>[src]
fn get_time_sp(&mut self) -> AttributeResult<isize>fn set_time_sp(&mut self, time_sp: isize) -> AttributeResult<()>[src]
fn set_time_sp(&mut self, time_sp: isize) -> AttributeResult<()>fn run_direct(&mut self) -> AttributeResult<()>[src]
fn run_direct(&mut self) -> AttributeResult<()>impl Device for LargeMotor[src]
impl Device for LargeMotorfn get_attribute(&mut self, name: &str) -> &Attribute[src]
fn get_attribute(&mut self, name: &str) -> &Attributefn get_address(&mut self) -> AttributeResult<String>[src]
fn get_address(&mut self) -> AttributeResult<String>fn set_command(&mut self, command: String) -> AttributeResult<()>[src]
fn set_command(&mut self, command: String) -> AttributeResult<()>fn get_commands(&mut self) -> AttributeResult<Vec<String>>[src]
fn get_commands(&mut self) -> AttributeResult<Vec<String>>fn get_driver_name(&mut self) -> AttributeResult<String>[src]
fn get_driver_name(&mut self) -> AttributeResult<String>Auto Trait Implementations
impl Send for LargeMotor
impl Send for LargeMotorimpl Sync for LargeMotor
impl Sync for LargeMotor