[][src]Struct parrot_ar_drone::InternalConfig

pub struct InternalConfig {
    pub version: String,
    pub start_time: SystemTime,
    pub show_commands: bool,
    pub debug: bool,
    pub stop_on_com_loss: bool,
    pub speed: f32,
    pub value_correction: bool,
    pub self_rotation: f32,
    pub navdata_process: String,
    pub video_process: String,
    pub v_decode_process: String,
    pub network_suicide: bool,
    pub recieve_data_running: bool,
    pub send_config_running: bool,
    pub shutdown: bool,
}

Fields

version: Stringstart_time: SystemTimeshow_commands: bool

Shows all sent commands except keepalives

debug: bool

Shows additional debug information

stop_on_com_loss: bool

Should the drone land when there is a communication problem

speed: f32

Default drone speed in percent

value_correction: boolself_rotation: f32navdata_process: Stringvideo_process: Stringv_decode_process: Stringnetwork_suicide: boolrecieve_data_running: boolsend_config_running: boolshutdown: bool

Methods

impl InternalConfig[src]

pub fn new() -> InternalConfig[src]

Returns a default set of internal configs

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.