Struct tello::RCState [−][src]
pub struct RCState { /* fields omitted */ }
Expand description
represent the current input to remote control the drone.
Implementations
set the rc-controller to the mode to hold down the key-combination to do an manual take_off.
returns the current stick parameter to send them to the drone
Actually, this is an workaround to keep the start_engines in this struct and don’t move them to the Drone it self
stop moving left or right by setting the axis to 0.0
set a analog value to the left right axis this value has to be between -1 and 1 (including), where -1 is left and 1 is right
stop moving forward or back by setting the axis to 0.0
set a fixed value of 1.0 to the forward and back axis to fly forward
set a analog value to the forward or back axis this value has to be between -1 and 1 (including), where -1 is back and 1 is forward
stop moving up or down by setting the axis to 0.0
set a analog value to the up or down axis this value has to be between -1 and 1 (including), where -1 is going down and 1 is flying up
set a fixed value of 1.0 to the forward and back axis to turn clock wise
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RCState
impl UnwindSafe for RCState
Blanket Implementations
Mutably borrows from an owned value. Read more