-
Notifications
You must be signed in to change notification settings - Fork 3
Windows user build guide
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™)
Recommendation is to use Chocolatey as a Manager
For installing the package manager and dependencies start by opening Power Shell in Administrative Mode.
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"
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).
1.4.1 Get mod-package.zip from our release v1.0.0. and unzip it.
C:\Users\something\AppData\Roaming\Godot\app_userdata\SMCE\mods
To install the Front End App first head over to the Releases Page. From here click the latest release and then download the latest .exe installer file. Then to install, double click the file. Windows will then display the standard warning message, choose More Info and then click Run Anyway. The App is then installed in the User directory. Now to run the App, just double-click the Smart Rover icon.
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 the current release version. After you download and save the zip file into your computer, please extract it so that you have the "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.
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 the control pad or console terminal. For the best performance, it is recommended to install a local MQTT broker on your computer and configure both the emulator and the frontend to connect to "localhost". Or for a 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.
- List of Servers and brokers at https://mqtt.org/software/.
We have used and tested with a local installation of the open-source Mosquitto broker.
Instructions to install Mosquitto broker in Windows
PostgreSQL is used for saving and loading data.
First of, go to the official download page.
Find the setup file for Windows and download the latest version. After downloading, run the file and follow the instructions. For support go to postgresqltutorial.com or Youtube.
To set up the database first starts pgAdmin.
In pgAdmin start a new server with these instructions.
In the Connection tab enter the following settings:
Host:
Port:
Username:
Password:
Role:
First open pgAdmin.
Select the database and open the Query tool.
In the Query tool choose "open file".
Dare mighty things™