Struct simulation::uav::UavState
[−]
[src]
pub struct UavState { pub position: [f32; 3], pub velocity: [f32; 3], pub orientation: [f32; 3], }
The state of the uav at a particular point in time
Fields
position: [f32; 3]
The position of the UAV (in meters)
velocity: [f32; 3]
The velocity of the UAV (in meters/second)
orientation: [f32; 3]
The orientation of the UAV
Methods
impl UavState
[src]
fn new(position: [f32; 3], velocity: [f32; 3], orientation: [f32; 3]) -> UavState
Create a new UAV state object with a specified position, velocity and orientation
Trait Implementations
impl Copy for UavState
[src]
impl Clone for UavState
[src]
fn clone(&self) -> UavState
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