Skip to content

Windows user build guide

Altansukh T edited this page May 6, 2021 · 25 revisions

Introduction

In this page you will find all the necessary resources and information that will enable you to run the SmartRover™ frontend app and SMCE-gd emulator sketch to experience the Mars environment and sensation of driving a rover on our neighboring planet. This page would help you to solve all your questions regarding the installation of the each and every software needed to start exploring and we will try to reference other relevant libraries and dependencies to expend the resources further.

1. Install SMCE-gd Emulator (Courtesy Of ItJustWorks™)

Step 1.1: Get a package Manager

Recommendation is to use Chocolatey as a Manager

For installing the package manager and dependencies start by opening Power Shell in Administrative Mode.

Step 1.2: Install Dependencies

Use the following commands in Power Shell as Administrator

choco install cmake -y --installargs 'ADD_CMAKE_TO_PATH=System'

choco install arduino-cli openssl -y

choco install visualstudio2019buildtools -y --package-parameters "--add Microsoft.VisualStudio.Workload.VCTools --includeRecommended --passive --locale en-US"

Step 1.3: Install SMCE-Godot

Once done, go to SMCE-gd emulator's releases page, and download the latest .msi installer. Run it, disregarding SmartScreen security warning (see this picture if you do not know how to ignore SmartScreen once).

2. Install Smart Rover Front End App

3. Get Arduino Sketch File

To get the latest version of the SmartRover sketch to run on the SMCE-gd, please visit our Releases page. Arduino sketch will be listed as one of the release assets and named like "SmartRover_vx.x.x-sketch.zip" with reference to current release version. After you download and save the zip file into your computer, please extract it so that you have "SmartRover/SmartRover.ino" structure intact.

From SMCE-gd emulator, you can navigate the above folder you have extracted and select ino sketch file to compile. That's it.

4. Install MQTT

MQTT protocol enables bi-directional communication between the SmartRover emulator and the Frontend app, so that you can receive telemetry data and camera stream and send driving commands from control pad or console terminal. For the best performance, it is recommended to install a local MQTT broker on your computer and configure both emulator and the frontend to connect to "localhost". Or for more realistic experience of a "delayed" communication between the SmartRover, Mars Orbiter and the Earth, you can choose and use from numerous online MQTT brokers.

Option 1. Install or choose an online MQTT broker

Option 2. Istall Mosquitto local broker

We have used and tested with a local installation of the open source Mosquitto broker.