Skip to content

mhct/SwarmView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instalation

Configure IDE to use autovalue

Project Structure

The project is divided in two sub-modules

  • Swarmview-trajectory
  • Swarmview-visualization

Importing the main project using gradle will compile both sub-modules.

Using the View

The presentation starts in a paused state.

The view has key-bindings defined as:

  • z activates/deactivates the mouse
  • t displays/hides the simulation time
  • d displays/hides the drone names
  • , backwards the simulation time by 5 seconds
  • . forwards the simulation time by 5 seconds
  • SPACE key pauses the simulation view. Note that the simulation time continues advancing in the background. Imagine this option as a snapshot in time.
  • r restarts the simulation

Programming interface

New Drone objects can be created by specifying

  • Drone(PApplet canvas, FiniteTrajectory4d trajectory)
  • Drone(PApplet canvas, FiniteTrajectory4d trajectory, int color, int trailSize)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages