Skip to content

usfsoar/soar-exosky

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SOAR EXOSKY ✨

INPUT DEVICE

Innovative input device provides a reference for the chosen exoplanet and leverages an IMU, a ESP32, and bluetooth technology to control the view of the night sky.

image image

DEVELOPMENT

Clone the repository.

Exosky Server

cd into the exosky_server directory and run the following commands:

python -m venv venv
./venv/Scrips/activate
python -m pip install -r requirements.txt

To run the server, run the following:

python app.py

Access the server at http://localhost:5000

Make sure the virtual environment is always activated before attempting to run the server.

Exosky Unity

Install Unity Hub, complete all the setup and once finished attempt to install Unity 2022.3.41f1. You will be asked for which modules to install, select the following:

  • Microsoft Visual Studio Community 2022
  • WebGL Build Support

Make sure to install blender

In the Projects tab of the Unity Hub, click on: Add > Add project from disk. Browse and select the exosky_unity folder and click Add Project. Once the project is added, click on the project to open it in Unity. The first time loading will be the longest, the subsequent loads will be faster.

Displaying Stars

By default when playing the Unity Scene, the stars will not be displayed. To display the stars either:

  1. Randomly generate them: Before playing the scene, select the StarGenerator object in the hierarchy and check the Randomize Stars checkbox in the inspector.
  2. Load them from the server: Make sure the server is running. Play the scene, select the NetworkManager object in the hierarchy, in the inspector enter the name of the exoplanet (e.g: "Proxima Cen b") and click the Get Stars From Server button.

Good luck, MTFBWY

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published