Add support for disconnect events

Change-Id: I186191fb06909c253505b25d64a19185d98eff1c
Reviewed-on: https://r.enimai.com/2440
Reviewed-by: Josh Bailey <josh@nod-labs.com>
Reviewed-by: Srinivasan Sridharan <srini@enimai.com>
Tested-by: Rahul Iyer <rni@enimai.com>
Fix tests

Change-Id: I8055c73bbf7fb5280ae5c222328ffb01ea9b03c7
Reviewed-on: https://r.enimai.com/2442
Reviewed-by: Srinivasan Sridharan <srini@enimai.com>
Tested-by: Rahul Iyer <rni@enimai.com>
Add support for Motion6D events

Change-Id: Ib3a3fda97addd9978a17ce95cf877b962f1f11a4
Reviewed-on: https://r.enimai.com/2448
Reviewed-by: Srinivasan Sridharan <srini@enimai.com>
Tested-by: Rahul Iyer <rni@enimai.com>
Move the sdk into its own directory

Buck doesn't like nested projects. samples/ChessExample was interfering with
running buck project on the root.

Change-Id: I0c49ecbe79c5e24618637895ccf21cf48816a570
Reviewed-on: https://r.enimai.com/2452
Reviewed-by: Srinivasan Sridharan <srini@enimai.com>
Tested-by: Rahul Iyer <rni@enimai.com>
Implemented getQuaternions in Pose6DEvents + added a test

For details about Euler angle to quaternion conversion check out

http://www.swarthmore.edu/NatSci/mzucker1/e27/diebel2006attitude.pdf

Specifically equation 297 on page 24.

Change-Id: Id462ac7c0af7dadfe27bb530186aec610f6f0f14
Reviewed-on: https://r.enimai.com/2464
Reviewed-by: Josh Bailey <josh@nod-labs.com>
Tested-by: Josh Bailey <josh@nod-labs.com>
Cleanup registered devices when OpenSpatialService dies

Change-Id: Iad6cf034bf17aae18818e8169bfa3fb1215d41e7
Reviewed-on: https://r.enimai.com/2454
Reviewed-by: Rahul Iyer <rni@enimai.com>
Tested-by: Rahul Iyer <rni@enimai.com>
Add OpenSpatial single user service

Change-Id: I9cf9a34c565608bfd16c47e368b7a048ffc4e49f
Reviewed-on: https://r.enimai.com/2469
Reviewed-by: Srinivasan Sridharan <srini@enimai.com>
Tested-by: Rahul Iyer <rni@enimai.com>
First cut of the Glass example app

Change-Id: Ic2b752fea6cba42988dc955b2c8fdfce64b92d2c
Reviewed-on: https://r.enimai.com/2470
Reviewed-by: Rahul Iyer <rni@enimai.com>
Tested-by: Rahul Iyer <rni@enimai.com>
Rename NodPointer variables to match TOUCH button used

Change-Id: I864d86850fa8fcf3d64ce0ea42cb45a0d9dc1990
Reviewed-on: https://r.enimai.com/2471
Reviewed-by: Rahul Iyer <rni@enimai.com>
Tested-by: Rahul Iyer <rni@enimai.com>
Toast when device connects

Change-Id: Ie2ac216346c2be0c6880c43cacdf123de11a897e
Reviewed-on: https://r.enimai.com/2496
Reviewed-by: Rahul Iyer <rni@enimai.com>
Tested-by: Rahul Iyer <rni@enimai.com>
Update licenses

Change-Id: Ia84f9175c9219434b6086cc7f957e107efe604c5
Reviewed-on: https://r.enimai.com/2497
Reviewed-by: Rahul Iyer <rni@enimai.com>
Tested-by: Rahul Iyer <rni@enimai.com>