From 552436b993ba9e39017472c900ab7316b9f097df Mon Sep 17 00:00:00 2001 From: Luca Warmenhoven Date: Wed, 15 May 2024 13:38:38 +0200 Subject: [PATCH] Updated onderzoek-voorbeeld.md and motion-tracking-system-analysis.md --- .idea/workspace.xml | 47 ++++++------------- .../motion-tracking-system-analysis.md | 41 +++++++++++++++- .../onderzoek-voorbeeld.md | 8 +++- 3 files changed, 61 insertions(+), 35 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 942574a..8668fe5 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -14,36 +14,10 @@ - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + @@ -288,6 +270,7 @@ - \ No newline at end of file diff --git a/docs/documentation/research-questions/motion-tracking-system-analysis.md b/docs/documentation/research-questions/motion-tracking-system-analysis.md index 62a4957..c46d3b6 100644 --- a/docs/documentation/research-questions/motion-tracking-system-analysis.md +++ b/docs/documentation/research-questions/motion-tracking-system-analysis.md @@ -6,4 +6,43 @@ For our project, we want our users to be able to see the movement they're making see whether they're executing the fitness task correctly. For a tracking system as such, we'll need to use quite some mathematics. -Our current approach is defining \ No newline at end of file +Our current approach is defining the required path by a set of vertices; points in 3d space. +These points define along which path the user has to move their limbs to, depending on what the activity is +and where they've placed the tracking devices. + +A path can look like the following + + + +To be able to measure the position of our tracking device, we'll have to use sensors that allow us +to retrieve useful information that can provide us with either position or velocity. The device will have +to be calibrated initially, of course, due to position being relative. + +To acquire our measurements, we've chosen for the following configuration for the tracking device: + +- ESP8266 (Wi-Fi only) +- Accelerometer / Gyroscope combination (BNO085) + +We've chosen for this configuration due to the fact that it delivers all of our needs, with the smallest form factor, +whilst also delivering quality measurements. +This sadly does come at the cost that the ESP8266 does not have a dedicated Bluetooth chip, therefore making +connectivity to our robot a little more complicated. + +The calculations behind the tracking system will be done in the following steps: + +1. Acquire calibration point (zero point) +2. Convert relative acceleration and rotation to position, relative to the calibration point +3. Generate a path object that can be compared to the correct one +4. Calculate the difference of the path at every measurement sample + +At first, to get the calibration point, the user will have to stand still for a moment without moving. +This can be sensed by the device, which will then be sent to the Pepper robot. +We've decided to send this data using Wi-Fi using a HTTP WebSocket connection, due to the fact that our +ESP8266 does not have a Bluetooth chip present, and due to the fact that a WebSocket connection allows us +for a both fast and secure data transfer. + +Second, to convert our relative acceleration rotation to a useful position, we'll have to first convert the +acceleration vector `A(x, y, z)` and rotation vector `R(x, y, z)` to an acceleration vector that is +perpendicular to the normal vector of the earth. This is because the acceleration vector of the device +is relative to its own axes, and not to the earth's normal vector. +To convert this, we'll have to multiply the acceleration vector `A(x, y, z)` by the rotation matrix \ No newline at end of file diff --git a/docs/personal-documentation/Luca/literatuuronderzoek/onderzoek-voorbeeld.md b/docs/personal-documentation/Luca/literatuuronderzoek/onderzoek-voorbeeld.md index 91a46d8..90bf854 100644 --- a/docs/personal-documentation/Luca/literatuuronderzoek/onderzoek-voorbeeld.md +++ b/docs/personal-documentation/Luca/literatuuronderzoek/onderzoek-voorbeeld.md @@ -30,13 +30,17 @@ naar wat voor factoren er meespelen in de levens van de ouderen die hieraan kunn dat hoewel het persoon omringt kan zijn met mensen, hij/zij nog steeds gevoelens van eenzaamheid kan ervaren. De oorzaak van emotionele eenzaamheid verschilt per persoon, en valt niet zo gemakkelijk te verklaren, als te verhelpen. Bij fysieke eenzaamheid is het echter makkelijker om te zien waar het vandaan komt. Hierbij kunnen er andere omgevingsfactoren meespelen die ervoor zorgen dat het persoon zich eenzaam voelt, -denk hierbij aan het verlies van een partner of vrienden, familieproblematiek of acute verandering van levensstijl. ([1. SCP 2018](#bronnen)). +denk hierbij aan het verlies van een partner of vrienden, familieproblematiek of acute verandering van levensstijl ([1. SCP 2018](#bronnen)). Door dit soort veranderingen kan het zijn dat het persoon in een depressie raakt, wat er weer voor kan zorgen dat het persoon zich eenzaam voelt, en dat het persoon zich nog meer terugtrekt van de buitenwereld. Dit is een vicieuze cirkel die moeilijk te doorbreken is. Daarom is het belangrijk om te kijken of er ook methoden zijn om hierbij te helpen, zowel binnen als buitenhuis. Doordat robots de laatste decennia steeds geavanceerder zijn geworden, is het mogelijk om te overwegen deze toe te passen -in de ouderenzorg om te helpen bij het eenzaamheidsprobleem. +in de ouderenzorg om te helpen bij het eenzaamheidsprobleem. Robots worden de afgelopen jaren al steeds meer ingezet om ouderen te helpen +bij bepaalde dagelijkse problemen, zoals het wassen van ouderen in het bad, of het helpen bij eten consumeren ([3. University of Japan, 2017](#bronnen)). +Door de verbeteringen van technologie over de afgelopen jaren heeft K.I. ook een drastische verbetering ondergaan. Hierdoor valt er te overwegen +om deze toe te passen om te helpen met het eenzaamheidsprobleem bij ouderen. + ### Op welke manier kunnen we kunstmatige intelligentie inzetten om eenzaamheid onder ouderen te bestrijden?