Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Grab, pinch and squeeze! When a gesture is no l...

Grab, pinch and squeeze! When a gesture is no longer enough!

This talk was presented at Mokapp 2015 conference and it's about the use of wearable into our everyday life. During the presentation, the Myo armband is shown together with two examples that are:

- the slides used during the presentation (https://github.com/palazzem/android-slides)
- a rover (Arduino based) controlled by the armband (https://github.com/palazzem/android-udoo-rover)

Live presentation is here: http://evonove.slides.com/evonove/android-myo-armband/

Emanuele Palazzetti

May 09, 2015
Tweet

More Decks by Emanuele Palazzetti

Other Decks in Programming

Transcript

  1. Grab, pinch and Grab, pinch and squeeze! squeeze! When a

    gesture is no When a gesture is no longer enough! longer enough!
  2. Emanuele Palazzetti Emanuele Palazzetti Python backend developer Python backend developer

    @ @ palazzetti.me :: @palazzem :: github.com/palazzem palazzetti.me :: @palazzem :: github.com/palazzem
  3. Emanuele Palazzetti Emanuele Palazzetti Community manager Community manager @ @

    palazzetti.me :: @palazzem :: github.com/palazzem palazzetti.me :: @palazzem :: github.com/palazzem
  4. Which of you is using Which of you is using

    a wearable device? a wearable device?
  5. Wearable success is bounded to its Wearable success is bounded

    to its integration capability with your body integration capability with your body
  6. Wearable success is bounded to its Wearable success is bounded

    to its integration with your body integration with your body
  7. Wearable success is bounded to its Wearable success is bounded

    to its integration capability with your body integration capability with your body
  8. Whatever is the wearable, this Whatever is the wearable, this

    technology is near to us, it grows with technology is near to us, it grows with us becoming a part of us, an extension us becoming a part of us, an extension of us of us
  9. The greatest challenge to become a The greatest challenge to

    become a superhero through technology superhero through technology It isn't related to the wearable size, to the computational power or the connectivity but to the Human-Computer Interaction (HCI)
  10. Mapping natural actions is a Mapping natural actions is a

    requirement requirement (like I'm doing through Myo sliding forward or backward)
  11. Recognized gestures Recognized gestures Fingers double tap Fingers double tap

    Fingers spread Fingers spread Wave out Wave out Wave in Wave in Arm movements Arm movements Arm rotation Arm rotation
  12. Tech specs Tech specs medical Grade Stainless Steel EMG sensors

    highly sensitive nine-axis IMU containing three-axis gyroscope three-axis accelerometer three-axis magnetometer ARM Cortex M4 Processor Bluetooth 4.0 Low Energy
  13. Available SDKs Available SDKs Windows Windows and and Mac OSX

    Mac OSX iOS iOS and and Android Android Unity Unity Game Engine Game Engine
  14. Step #1, initialization Step #1, initialization private void myoInitialization() {

    // Hub initialization (manages Myo instances) mHub = Hub.getInstance(); boolean status = mHub.init(this); if (!status) { // show an Android Toast } else { // prevents usage data to be sent to Thalmic Labs mHub.setSendUsageData(false); mHub.addListener(new DeviceListener(this)); } }
  15. Step #2, pairing Step #2, pairing // pairs the nearest

    Myo (unattended mode) mHub.attachToAdjacentMyo(); or or // uses the ScanActivity class to pair the Myo device intent = new Intent(getApplicationContext(), ScanActivity.class); startActivity(intent);
  16. Step #3, gestures recognition Step #3, gestures recognition public class

    DeviceListener extends AbstractDeviceListener { @Override public void onPose(Myo myo, long timestamp, Pose pose) { super.onPose(myo, timestamp, pose); switch (pose) { case DOUBLE_TAP: // do something break; case WAVE_IN: // do something break; case WAVE_OUT: // do something break; case REST: // do something break; case FIST: // do something break; case FINGERS_SPREAD: // do something
  17. But we need robots to rule the world! But we

    need robots to rule the world! (don't worry, it's harmless)
  18. Thanks for your attention! Thanks for your attention! Questions? http://palazzetti.me

    @palazzem +EmanuelePalazzetti http://github.com/palazzem/android-slides http://github.com/palazzem/android-udoo-rover