Struct myo::OrientationEvent
[−]
[src]
pub struct OrientationEvent(_);
Methods
impl OrientationEvent
[src]
fn orientation(&self, index: OrientationIndex) -> f32
fn accelerometer(&self, index: CoordinateIndex) -> f32
fn gyroscope(&self, index: CoordinateIndex) -> f32
fn q_orientation(&self) -> (f32, f32, f32, f32)
Orientation Data
fn v_accelerometer(&self) -> (f32, f32, f32)
Accelerometer Data
fn v_gyroscope(&self) -> (f32, f32, f32)
Gyroscope Data
Trait Implementations
impl Event for OrientationEvent
[src]
fn handle(&self) -> *const c_void
Retrieve Event Handle
fn event_type(&self) -> EventType
Event Type
fn timestamp(&self) -> u64
Timestamp
fn device(&self) -> Armband
Myo Device
fn mac_address(&self) -> MACAddress
MAC Address
fn device_name(&self) -> MyoString
Myo Name