[−][src]Struct corroded_drone::tello::Tello
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]
&self,
command: &str,
acked: bool
) -> Result<usize, TelloError>
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]
&self,
x_cm: u16,
y_cm: u16,
z_cm: u16,
speed: u8
) -> Result<usize, TelloError>
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]
&self,
x1_cm: u16,
y1_cm: u16,
z1_cm: u16,
x2_cm: u16,
y2_cm: u16,
z2_cm: u16,
speed: u8
) -> Result<usize, TelloError>
pub fn rc(
&self,
left_right: i8,
forward_backward: i8,
up_down: i8,
yaw: i8
) -> Result<usize, TelloError>
[src]
&self,
left_right: i8,
forward_backward: i8,
up_down: i8,
yaw: i8
) -> Result<usize, TelloError>
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]
U: From<T>,
impl<T> From<T> for T
[src]
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<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,