Struct simulation::uav::UavController
[−]
[src]
pub struct UavController { pub pattern_size: [f32; 2], pub pattern_center: [f32; 2], pub pattern_type: PatternType, }
Configuration options for how the UAV is controlled
Fields
pattern_size: [f32; 2]
The size of the bounding rectangle that contains the flight pattern
pattern_center: [f32; 2]
The center (or offset) of the flight pattern
pattern_type: PatternType
The type of patten to use
Methods
impl UavController
[src]
fn new(size: [f32; 2], center: [f32; 2], pattern_type: PatternType) -> UavController
Create a new UAV controller using the specified parameters
Trait Implementations
impl Copy for UavController
[src]
impl Clone for UavController
[src]
fn clone(&self) -> UavController
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more