Skip to content

Mobile App & Connectivity between mobile device and emulator

AlbertSimpson00 edited this page May 30, 2021 · 1 revision

Requirements - Milestone 2 & 3

Functional Requirements: Milestone 2 - Mobile App

  • The system shall allow the user to control the smartcar with the application.
  • The application shall show the smartcar's live video feed.
  • The user should be able to control the vehicle using their phone.
  • The application should be able to navigate the car to a specific destination.

Milestone 3 - Connectivity

  • The application shall be connected to an MQTT broker.
  • The smartcar shall be connected to an MQTT broker.

Non-Functional Requirements: Milestone 2 - Mobile App

  • The smartcar controls should be manageable and easy to use with the application.

Milestone 3 - Connectivity

  • Connecting the application to the smartcar should be as easy as possible.
  • The process should be clean and quick for user friendliness.
  • The connectivity should have a stable signal.
  • The connection process should be in 3 seconds.

What has been done and why?

Our customers are going to be hospital staff, which means that some (or most) of them might not be familiar with mobile devices and applications. We took this into consideration and decided to make the application very simple and easy to use. That is why users do not need to perform many steps in order to achieve what they want, the system performs most of them automatically.

  • By connecting the phone with the car will let the users control the vehicle by using their phones.
    • This will let the users drive the car remotely.
  • The mobile application connects to an MQTT broker automatically when user opens the control page in usually under 3 seconds.
    • We chose to automatically connect the application to the broker in order to reduce the steps users need to perform to be able to control the car.
    • When user opens the control page, the application will connect to the broker in a few seconds. The only thing user needs to do is to use buttons on the page to control the car.
  • The mobile application is broadcasting the video feed from the smartcar on the control page.
    • This makes it easier for users to control the car, since it allows them to see what's around the car.
    • For example, when a hospital staff is controlling the car and delivering pills, they can use the video feed on the control page in order to see if there are obstacles on the way or if they reached the destination.
    • Users do not need to do anything extra to turn this function on, it automatically turns on with the smartcar.
  • Mobile application uses a drawer menu for navigation.
    • This improves the applications quality by making the navigation between pages simpler.

Clone this wiki locally