Skip to content

Linking of emulator and Android App

Anton Golubenko edited this page May 28, 2022 · 4 revisions

Description

This milestone is about connecting the emulator and application. When they are connected, they can communicate and send data between each other through the MQTT broker.

Functional requirements

  1. The Android application must be able to connect to the MQTT broker.
  2. The app shall be able to send information to the emulator.
  3. The emulator shall be able to receive information from the app.
  4. The staff member must be able to see objects in front of the car through the app.

Non Functional requirements

  1. The data that is being sent from the emulator to the app should be 100% accurate depiction of current surroundings of the smartcar.
  2. Receiving and sending information between the app and emulator shall not take longer than 4 seconds.

Example scenario

The staff member picks a customer order and goes to the joystick screen. The staff member receives a successful MQTT connection message in the app, and is able to see what is in front of the smart car through the camera window. Then the staff member publishes messages to the MQTT broker through the joystick, such as throttle speed 80, 85, 90, angle 0, and the broker publishes these messages to the car. The car starts driving straight forward.

Clone this wiki locally