pub struct Motor(/* private fields */);
Implementations§
Source§impl Motor
impl Motor
pub fn set_position(&self, position: f64)
pub fn set_acceleration(&self, acceleration: f64)
pub fn set_velocity(&self, velocity: f64)
pub fn set_force(&self, force: f64)
pub fn set_torque(&self, torque: f64)
pub fn set_available_force(&self, available_force: f64)
pub fn set_available_torque(&self, available_torque: f64)
pub fn set_control_pid(&self, p: f64, i: f64, d: f64)
pub fn enable_force_feedback(&self, sampling_period: i32)
pub fn disable_force_feedback(&self)
pub fn get_force_feedback_sampling_period(&self) -> i32
pub fn get_force_feedback(&self) -> f64
pub fn enable_torque_feedback(&self, sampling_period: i32)
pub fn disable_torque_feedback(&self)
pub fn get_torque_feedback_sampling_period(&self) -> i32
pub fn get_torque_feedback(&self) -> f64
pub fn get_type(&self) -> JointType
pub fn get_target_position(&self) -> f64
pub fn get_min_position(&self) -> f64
pub fn get_max_position(&self) -> f64
pub fn get_velocity(&self) -> f64
pub fn get_max_velocity(&self) -> f64
pub fn get_acceleration(&self) -> f64
pub fn get_available_force(&self) -> f64
pub fn get_max_force(&self) -> f64
pub fn get_available_torque(&self) -> f64
pub fn get_max_torque(&self) -> f64
pub fn get_multiplier(&self) -> f64
pub fn get_brake(&self) -> Brake
pub fn get_position_sensor(&self) -> PositionSensor
Auto Trait Implementations§
impl Freeze for Motor
impl RefUnwindSafe for Motor
impl Send for Motor
impl Sync for Motor
impl Unpin 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