Visualizer

Description

The Visualizer will be used for generating test data for the system. It will will simulate the ball path as it travels down the lane and store the acceleration and light data that the SmartDOt would sample. It then writes that data into a CSV file and sends it to the SmartDot Simulator. The Visualizer also has a virtual camera that will record a video of the throw. The developers will hand this video off to the front end team to use in their Ciclops testing.

Prerequisites

Git

Development Environment

The Visualizer is currently being developed in Unity. Unity is an open-source game engine that uses c# scripts for the programming. This tutorial will show you how to get started developing the Visualizer. Let’s get started!

  1. Install Rider if you haven’t already
  2. Download and install Unity Hub on your machine
  3. Download the current appropriate Unity version. Reference the Technologies Used page
  4. Open Unity Hub on your machine
  5. Go to the “Installs” tab
  6. Select “Install Editor”
  7. Select the “Archive” tab
  8. Click “download archive”
  9. Select the appropriate Unity version and download the installer. Reference the Technologies Used page
  10. Install the selected version

Now that you have Unity set up, let’s open the project

  1. Clone git@github.com:YCP-Rev-Metrix/Simulation.git
  2. Open the project in Unity
  3. Select the “Edit” tab from the toolbar in the top left corner of the window
  4. Select “preferences”
  5. Select “External Tools”
  6. Set the “External Script Editor” field to “Rider”

You’re all set!! Now you are ready to start developing the Visualizer. Good luck!