|
|
@ -3,7 +3,14 @@
|
|
|
|
Simple Movesense sensor app
|
|
|
|
Simple Movesense sensor app
|
|
|
|
|
|
|
|
|
|
|
|
The functionalities:
|
|
|
|
The functionalities:
|
|
|
|
* Calculates 1s average of
|
|
|
|
* Calculates 1s average of sum vector from 3d acceleration data
|
|
|
|
sum vector from 3d acceleration data
|
|
|
|
|
|
|
|
* Offers an API for subscribing the values
|
|
|
|
* Offers an API for subscribing the values
|
|
|
|
* Blinks the LED every time it publishes
|
|
|
|
* Blinks the LED every time it publishes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Requires the Movesense SDK: https://bitbucket.org/suunto/movesense-device-lib/src/master/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Compile inside the SDK:
|
|
|
|
|
|
|
|
1. `mkdir excerciseBuild`
|
|
|
|
|
|
|
|
2. `cd excerciseBuild`
|
|
|
|
|
|
|
|
3. `cmake -G Ninja -DMOVESENSE_CORE_LIBRARY=../MovesenseCoreLib/ -DCMAKE_TOOLCHAIN_FILE=../MovesenseCoreLib/toolchain/gcc-nrf52.cmake PATH_TO_EXCERCISE_DIR`
|
|
|
|
|
|
|
|
4. `ninja`
|
|
|
|