Skip to content

SDP-Group-1/oli

Repository files navigation

operational lookout intern

The official repository for the O.L.I. app

Purpose of the app:

The app is to be used alongside the O.L.I. robot. The main purpose of the app is to detect falls and alert the robot and emergency services when it occurs. The user's actions are monitored using the sensors present on the phone, primarily the accelerometer and gyroscope.

Structure:

The project is created using the Flutter framework, and primarily programmed in Dart (with some Android specific code in Java).

The app consists of:

  • main.dart - the starting point of the app
  • home.dart - consists of the layout for the home page + the state of the robot
  • call.dart - implements the 'Call OLI' function.
  • setup.dart - interface for user to set up the app and send a request to the robot to map their home.
  • background.dart - the background processes required for monitoring the sensors and detection a fall
  • database.dart - helper functions used to manipulate a local SQLite database
  • details.dart - form to accept user details
  • postFall.dart - after the classfier determines whether the action was a fall or not, this file takes care of the UI for the response.
  • flaskApi.dart - communicates with the classifier on the backend.

Additionally, a Flask server is present in /fall-detection, which should be run prior to testing the app.