Skip to content

Get started

umairngo edited this page May 27, 2022 · 17 revisions

Prerequisites

SMCE can be downloaded here.

Mosquitto MQTT can be downloaded here.

Android Studio can be downloaded here.

Green garbage modified world can be downloaded here

Guide

Android Studio

  1. Download our repository here.
  2. In Android Studio, press “File” and then “Open”. Navigate to the “group-07” folder and then open it, here you press “GreenGarbageApp” and then press the “OK” button.
  3. Press the hammer icon, or use the command CTRL + F9 to make the project.
  4. Click on "Tools" and then click on "Device Manager". Click on "Create device", choose Pixel 5 and press "Next". Select "R" and then press "Download". Once the system image has been downloaded, press "Next" and then on the next page press "Finish".

Modding and SMCE

  1. Windows users: press windows symbol + R. Type %appdata% and press enter. Locate Godot\app_userdata\SMCE\mods and copy paste the downloaded PCK file from step 4 in prerequisites section here. Mac users: go to Library/ApplicationSupport/Godot/app_userdata/SMCE/mods and place the .pck file here.
  2. Start SMCE Godot. Load the modified green garbage world by clicking in the top left tab inside SMCE Godot and you will see the world option. Instead of playground/Playground choose example/Example.Press the plus symbol.
  3. Next, select the + symbol to "Add New". Locate the "group-07" folder, open it and then go in to the folder named "arduino" and then in to the folder named "smartcar". From here you select the file named "smartcar.ino" and press "Open". You then select the file path and press the "Select" button. You now press the "Compile" button. Once compilation is completed, you press "Start".

MQTT Broker

  1. Run the command prompt (may need to run as administrator) and type "net start mosquitto" and then press enter.
  2. If you at a later time wish to turn off Mosquitto, type "net stop mosquitto" and press enter.

Run the application

Now go back to Android Studio and run the application by using the command Shift + F10.

Clone this wiki locally