33 #define PACKED __attribute__ ((__packed__)) 41 namespace MYOLINUX_NAMESPACE {
47 const std::vector<std::uint8_t>
MyoUuid = {
48 0x42, 0x48, 0x12, 0x4a,
49 0x7f, 0x2c, 0x48, 0x47,
50 0xb9, 0xde, 0x04, 0xa9,
51 0x01, 0x00, 0x06, 0xd5
97 uint8_t serial_number[6];
std::array< std::int16_t, 3 > GyroscopeSample
GyroscopeSample Gyroscope data.
Definition: myoapi.h:133
uint8_t active_classifier_type
Whether Myo is currently using a built-in or a custom classifier.
Definition: myoapi.h:99
std::array< std::int16_t, 3 > AccelerometerSample
AccelerometerSample Accelerometer data.
Definition: myoapi.h:128
Send raw (unfiltered) EMG data.
uint8_t has_custom_classifier
Whether Myo contains a valid custom classifier. 1 if it does, otherwise 0.
Definition: myoapi.h:101
uint8_t stream_indicating
Set if the Myo uses BLE indicates to stream data, for reliable capture.
Definition: myoapi.h:102
Send motion events detected by the IMU (e.g. taps).
constexpr float GyroscopeScale
Gyroscope data multiplier, see GyroscopeSample.
Definition: myoapi.h:56
Vibrate for a long amount of time.
std::array< std::int16_t, 4 > OrientationSample
OrientationSample Orientation data, represented as a unit quaternion.
Definition: myoapi.h:123
Disable and reset the internal state of the onboard classifier.
constexpr float AccelerometerScale
Accelerometer data multiplier, see AccelerometerSample.
Definition: myoapi.h:55
Version information for the Myo firmware.
Definition: myoapi.h:111
uint8_t active_classifier_index
Index of the classifier that is currently active.
Definition: myoapi.h:100
uint16_t hardware_rev
Myo hardware revision. See myohw_hardware_rev_t.
Definition: myoapi.h:115
constexpr float OrientationScale
Orientation data multiplier, see OrientationSample.
Definition: myoapi.h:54
ImuMode
IMU modes.
Definition: myoapi.h:66
Send classifier events (poses and arm events).
Vibration
Kinds of vibrations.
Definition: myoapi.h:87
const std::vector< std::uint8_t > MyoUuid
UUID of the info service.
Definition: myoapi.h:47
Vibrate for a short amount of time.
Send both IMU data streams and motion events.
uint8_t sku
SKU value of the device.
Definition: myoapi.h:103
Send IMU data streams (accelerometer, gyroscope, and orientation).
Various parameters that may affect the behaviour of this Myo armband.
Definition: myoapi.h:96
SleepMode
Sleep modes.
Definition: myoapi.h:81
uint16_t unlock_pose
Pose that should be interpreted as the unlock pose.
Definition: myoapi.h:98
Vibrate for a medium amount of time.
EmgMode
EMG modes.
Definition: myoapi.h:59
Send raw IMU data streams.
std::array< std::int8_t, 8 > EmgSample
EmgSample.
Definition: myoapi.h:119
Normal sleep mode; Myo will sleep after a period of inactivity.
ClassifierMode
Classifier modes.
Definition: myoapi.h:75