[−][src]Struct autd::AUTD
The structure that controls AUTDs.
Implementations
impl AUTD
[src]
pub fn create() -> AUTD
[src]
constructor
pub fn open<L: Link + 'static>(&mut self, link: L) -> Result<(), Box<dyn Error>>
[src]
Open AUTDs
Arguments
link
- Open device with a specific link.
Example
use autd::prelude::*; use autd_soem_link::SoemLink; let mut autd = AUTD::create(); autd.geometry().add_device(Vector3::zeros(), Vector3::zeros()); let ifname = "interface name"; let link = SoemLink::new(&ifname, autd.geometry().num_devices() as u16); match autd.open(link) { Ok(()) => (), Err(e) => println!("{}", e), }
pub fn geometry(&self) -> MutexGuard<Geometry>
[src]
pub fn set_silent_mode(&mut self, silent: bool)
[src]
pub fn clear(&mut self) -> Result<bool, Box<dyn Error>>
[src]
pub fn calibrate(&mut self) -> Result<bool, Box<dyn Error>>
[src]
pub fn close(self)
[src]
pub fn is_open(&self) -> bool
[src]
pub fn is_silent(&self) -> bool
[src]
pub fn remaining_in_buffer(&self) -> usize
[src]
pub fn stop(&mut self)
[src]
pub fn append_gain(&mut self, gain: Box<dyn Gain>)
[src]
pub fn append_gain_sync(&mut self, gain: Box<dyn Gain>)
[src]
pub fn append_gain_sync_with_wait(
&mut self,
gain: Box<dyn Gain>,
wait_for_send: bool
)
[src]
&mut self,
gain: Box<dyn Gain>,
wait_for_send: bool
)
pub fn append_modulation(&mut self, modulation: Modulation)
[src]
pub fn append_modulation_sync(&mut self, modulation: Modulation)
[src]
pub fn flush(&mut self)
[src]
pub fn firmware_info_list(&mut self) -> Vec<FirmwareInfo>
[src]
impl AUTD
[src]
pub fn append_stm_gains(&mut self, gains: Vec<Box<dyn Gain>>)
[src]
pub fn start_stm(&mut self, freq: f64)
[src]
pub fn stop_stm(&mut self)
[src]
pub fn finish_stm(&mut self)
[src]
impl AUTD
[src]
pub fn append_sequence(&mut self, seq: PointSequence)
[src]
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for AUTD
impl Send for AUTD
impl !Sync for AUTD
impl Unpin for AUTD
impl !UnwindSafe for AUTD
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<V> IntoPnt<V> for V
fn into_pnt(self) -> V
impl<V> IntoVec<V> for V
fn into_vec(self) -> V
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn is_in_subset(&self) -> bool
unsafe fn to_subset_unchecked(&self) -> SS
fn from_subset(element: &SS) -> SP
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,