Skip to content

Installation guide

Mattias edited this page May 30, 2021 · 6 revisions

Installation guide for users

Step 1:

First we need to download and install these two Software:

Please follow the instructions on their respective installation guides:

SMCE setup for Windows/MAC/Linux

Android Studio setup (click here)

Step 2:

Installing the software and the car

There are 2 options to install the software and the car. You can either:

Option 1: Clone the repository

Option 2: Download the repository as zip file and install it that way.

Link to the repository & zip file: click here

Step 3:

Getting started in Android Studio:

After opening Android Studio you want to "Open an existing project" and navigate to the directory you cloned/unzipped the repository to. Then let Gradle build and sync the project.

note:

When selecting which phone to emulate and you're wondering which one you should pick, we were using the Pixel A3 model when designing the layout.

Make sure you are navigating to the "\group-05\android\androidappcar" folder when opening an existing project in Android Studio and not "\group-05\android" as that will not open up the android project.

Step 4:

Running the software and the car emulator:

The App

Once the app has been opened you can choose to either register or log in as an existing user. Depending on the information filed in when logging in you will either log in as a staff or patient. These two user types have different layouts. Staff has access to the Control UI for the car.

The Car

Open up SMCE Godot application on your device and when adding a new sketch, navigate to \group-05\arduino\smartcar\smartcar.ino and compile the sketch. Once compiled, start the sketch and it will automatically connect to the same mqtt broker and topic the app is set to.

For additional information on how to operate and use the app please refer to our User Guide.

Clone this wiki locally