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!
- Install Rider if you haven’t already
- Download and install Unity Hub on your machine
- Download the current appropriate Unity version. Reference the Technologies Used page
- Open Unity Hub on your machine
- Go to the “Installs” tab
- Select “Install Editor”
- Select the “Archive” tab
- Click “download archive”
- Select the appropriate Unity version and download the installer. Reference the Technologies Used page
- Install the selected version
Now that you have Unity set up, let’s open the project
- Clone
git@github.com:YCP-Rev-Metrix/Simulation.git
- Open the project in Unity
- Select the “Edit” tab from the toolbar in the top left corner of the window
- Select “preferences”
- Select “External Tools”
- Set the “External Script Editor” field to “Rider”
You’re all set!! Now you are ready to start developing the Visualizer. Good luck!