leka / LekaOS_Explorations

An exploration repo to use as a dirty stage before including in the main LekaOS
Apache License 2.0
2 stars 0 forks source link

Sensors - Mission - Leka MLC & Movement Analysis Features #12

Open ladislas opened 4 years ago

ladislas commented 4 years ago

Mission - Leka MLC & Movement Analysis Features

Introduction

Leka is an interactive educational toy. To react to interactions, Leka has an IMU, an Inertial Measurment Unit, composed of an accelerometer, a gyroscope and a magnetometer.

The component chosen for Leka is the LSM6DSOX.

The Mission

Use the MLC to detect different types of movements

Constraints

Steps

1. TTHW (Time To Hello World)

This first step is to make sure the hardware is working using ST's provided software.

EDIT 2020/06/06 (@ladislas ): ST's software doesn't work with our evaluations boards, moving to step 2.

2. TTHW + Mbed OS

This second step is to take the working example and start incorporating Mbed OS to the final working code.

3. Deep Dive + Mbed OS

Now that the sensors are working with Mbed OS, start fiddling with the options.

EDIT 2020/06/25 (@Aermanio): Apparently we can't access decision tree's memory slots individually

4. Adding our own movements

At this stage, we now have a working solution and we master every details of the collaboration between the hardware and Mbed OS. It's time to try with our own movements.

5. Adding new movements while online

So now that our own process is setup, we want to be able to update the movements while the device is working. In practice, the data gathering and training will be done on other devices, and the update register data will be pushed to Leka through BLE.

Resources

ladislas commented 4 years ago

Added the following resources to the description:

ladislas commented 4 years ago

Also from https://github.com/leka/LekaOS/issues/2, stm32duino has a lot of examples for part 5.

Aermanio commented 4 years ago

Some unanswered questions