[][src]Struct corroded_drone::tello::Tello

pub struct Tello { /* fields omitted */ }

Methods

impl Tello[src]

pub fn new() -> Result<Self, Error>[src]

pub fn connect(&mut self) -> Result<usize, TelloError>[src]

pub fn disconnect(&mut self)[src]

pub fn send_command(
    &self,
    command: &str,
    acked: bool
) -> Result<usize, TelloError>
[src]

pub fn get_state(&self) -> State[src]

pub fn take_off(&self) -> Result<usize, TelloError>[src]

pub fn land(&self) -> Result<usize, TelloError>[src]

pub fn stream_on(&self) -> Result<usize, TelloError>[src]

pub fn stream_off(&self) -> Result<usize, TelloError>[src]

pub fn emergency(&self) -> Result<usize, TelloError>[src]

pub fn up(&self, distance_cm: u16) -> Result<usize, TelloError>[src]

pub fn down(&self, distance_cm: u16) -> Result<usize, TelloError>[src]

pub fn left(&self, distance_cm: u16) -> Result<usize, TelloError>[src]

pub fn right(&self, distance_cm: u16) -> Result<usize, TelloError>[src]

pub fn forward(&self, distance_cm: u16) -> Result<usize, TelloError>[src]

pub fn back(&self, distance_cm: u16) -> Result<usize, TelloError>[src]

pub fn cw(&self, angle_millidegs: u16) -> Result<usize, TelloError>[src]

pub fn ccw(&self, angle_millidegs: u16) -> Result<usize, TelloError>[src]

pub fn flip(&self, flip: Flip) -> Result<usize, TelloError>[src]

pub fn go(
    &self,
    x_cm: u16,
    y_cm: u16,
    z_cm: u16,
    speed: u8
) -> Result<usize, TelloError>
[src]

pub fn curve(
    &self,
    x1_cm: u16,
    y1_cm: u16,
    z1_cm: u16,
    x2_cm: u16,
    y2_cm: u16,
    z2_cm: u16,
    speed: u8
) -> Result<usize, TelloError>
[src]

pub fn rc(
    &self,
    left_right: i8,
    forward_backward: i8,
    up_down: i8,
    yaw: i8
) -> Result<usize, TelloError>
[src]

pub fn speed(&self, speed_cms: u8) -> Result<usize, TelloError>[src]

pub fn wifi(&self, ssid: &str, password: &str) -> Result<usize, TelloError>[src]

Auto Trait Implementations

impl Send for Tello

impl Sync for Tello

impl Unpin for Tello

impl !UnwindSafe for Tello

impl !RefUnwindSafe for Tello

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]