[](https://opensource.org/licenses/Apache-2.0) []() []() [](https://github.com/LiquidGalaxyLAB/reforestation-assistant/issues) []() []() # Reforestation Assistant & Simulator The Reforestation Assistant & Simulator is an app that helps in reforestation of degraded areas by drones or manual human effort. The project consists of an Android App where users can plan the reforesting missions, by defining areas of seeding, specific seed/tree location, drone landing points, fly zones and other helpful metrics. All the gathered information is then dynamically displayed on the Liquid Galaxy cluster using KMLs and also on the app giving users an immersive overview of the reforestation mission. This is being started as a Google Summer of Code 2021 project and has been continued in Google Summer of Code 2022 with the Liquid Galaxy Organization alongside the Dronecoria team. ### App Screenshots
2. On settings, type the ip address and password of the LG master machine
3. Hit “CONNECT”
4. If it is connected correctly you will be prompted with a success message and with the status will change to **CONNECTED**.
**Obs.:** If prompted with the message of *Host is not reachable*, it means the LG master can't be accessed. So check out if you are in the same network of the Liquid Galaxy and that the master can be accessed via SSH.
## Running from source
### Prerequisites
* Android Studio, Visual Studio Code or another IDE that supports Flutter development
* Flutter SDK
* Android SDK
* Android device or emulator
* Git
Documentation on how to set up Flutter SDK and its environment can be found [here](https://flutter.dev/docs/get-started/install).
### Step 1: Clone the repository
The full code is located in this GitHub repository. To clone the project via terminal use:
```
git clone https://github.com/LiquidGalaxyLAB/reforestation-assistant.git
```
### Step 2: Set up Google Maps API Key
RAS uses [Google Maps Android API](https://developers.google.com/maps/documentation/android-sdk/overview?hl=pt-br) as the map service. To use Google Maps you required an **API KEY**. To get this key you need to:
1. Have a Google Account
2. Create a Google Cloud Project
3. Open Google Cloud Console
4. Enable Maps Android SDK
5. Generate an API KEY
With the key in hands, the next step is placing the key inside the app. Go to *android/app/main* and edit the **AndroidManifest.xml**.
Replace the **PLACE_HERE_YOUR_API_KEY** with the key you just created.
```