Giter VIP home page Giter VIP logo

3203-a2's Introduction

Sensor Coverage Testing

Members:

  • Matt Mayer
  • Matt Drouin

Installation


In order to run this program you must have a graphics card that supports openGL.

You must also have the Microsoft Visual C++ Redistributable for Visual Studio 2015 installed. Should you not have this installed, the exectuables are available in the /redist folder. They are also available to download from Microsoft's website at: https://www.microsoft.com/en-us/download/details.aspx?id=48145

The 32-bit version must be installed, but both 32 and 64 are included.

Running


Once the program is run (3203-A2.exe, in the /bin folder), you can manipulate the program as you like.

The GUI in the upper left allows the user to modify the parameters of the simulation.

Under Simulation Parameters:

Number of Sensors - allows you to change the number of sensors (0-100), 
					represented by the white dots

Diameter - the range of the sensor (0- 1.0), represented by the red circles

Speed - the speed at which the simulation will run (0-100), not percentile
		1-5 is a decent speed to watch the simulation. 100 is for running
		multiple simulations.

Other Parameters:

Refresh - resets the sensors to their original positions (the positions
		  from the last time Reset was called)
		  
Reset - resets the sensors and chooses new random initial positions

Run Simulation - this will run the simulation once, until the area is under
				 complete coverage, sum of movements is output to the
				 console.
Run Simulation MULTIPLE - this will run the simulation multiple times (as
						  set by Num. Sims.), it will output the sum of
						  movements for each simulation, as well as the
						  average sum of movements over all simulations run.
Number of Simulations - this sets the number of simulations to run for the
						Run Simulation MULTIPLE option

Misc.


The Green bar traveling across the screen represents the finished "scan" location, whereas the blue bar represents the current "scan" location. This shows where the algorithm is looking as well as the place that it believes is under complete coverage.

Editing the source code


For editing the source:

  • Install openFrameworks: http://openframeworks.cc/download/
  • (optional) Install the openFrameworks VS plugin.
  • Create an openFrameworks project.
  • Add and overwrite the source from this repository to the src/ folder of your project.
  • Compile & run.

3203-a2's People

Contributors

magneseus avatar

Watchers

James Cloos avatar  avatar Matt Drouin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.