ActiveSense
ActiveSense is a wearable application for activity tracking and recognition developed at RheinMain University of Applied Sciences. Designed to streamline caregiving workflows and provide detailed insights into patient activities, ActiveSense leverages modern sensor data and machine learning models to monitor and classify physical activity in real-time.
How ActiveSense Works
ActiveSense is built with the goal of enhancing the quality of care for patients while improving efficiency for caregivers. By wearing the ActiveSense smartwatch, patients' movements and activities are continuously tracked. This real-time monitoring offers caregivers a clear and detailed view of daily activities, which can inform personalized care plans and improve patient outcomes.
Here’s a high-level overview of how the system functions:
- Pairing and Initialization: After the initial setup and pairing process, the smartwatch begins capturing data from a predefined set of sensors.
- Data Transmission: The sensor data is sent to the backend services where it is initially stored in a database.
- Data Processing: The stored sensor values are processed into feature vectors, which are the input for machine learning models.
- Activity Classification: One or more ML models classify the activity the wearer is currently performing, providing actionable insights for caregivers.
This system not only helps monitor physical activities but also lays the groundwork for future functionalities, such as detecting anomalies or potential health risks based on activity patterns.
Documentation Overview
The documentation for ActiveSense is structured into two main sections, each catering to a specific audience:
-
MKDocs Documentation: This is the documentation you’re currently viewing. It provides high-level insights into key concepts, such as how the communication between the smartwatch and the server works, system architecture, and the overall functionality of the app.
-
Dokka Documentation: Found under the “Reference” tab, this section is automatically generated from the source code and serves as the API specification. It’s intended for developers and provides more granular information about specific components and functions within ActiveSense.
Getting Started with Development
If you’re interested in contributing to the development of ActiveSense, that’s great! Here’s a quick guide to getting started.
Prerequisites
Before diving into development, ensure you have the following tools installed:
- IntelliJ IDEA with the Android Plugin or Android Studio to build, run, and test the app.
- Familiarity with Android development, Kotlin, and WearOS is recommended.
- Basic understanding of WebSocket communication, as it's used extensively within the app for real-time data transfer.
Installation
Follow these steps to set up the development environment:
-
Clone the ActiveSense repository:
git clone https://gitlab.cs.hs-rm.de/some-org/ActiveSense.git
-
Open the project in IntelliJ or Android Studio.
-
Sync Gradle to ensure all dependencies are installed.
-
Connect your WearOS device or emulator to begin testing.
Reporting Issues
Found a bug or have a feature request? Please open an issue on the GitLab repository with detailed information so we can address it promptly.
ActiveSense is an ongoing project with a mission to improve patient care and caregiver efficiency. Your contributions and feedback are crucial to its success.
Feel free to reach out if you have any questions or suggestions. Happy coding!