Skip to content

A Java Swing dashboard GUI to monitor and operate the flight of two drones.

License

Notifications You must be signed in to change notification settings

alejandroMAD/mvc-swing-drones

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MVC-Swing-Drones

MIT License en es

Demo

Demo animation

A simple Java Swing application to operate and monitor two drones flight, demonstrating the use of timers and event handlers in a MVC architectural pattern.

Features

  • Drones move on the x axis according to the specified pixel velocity and a timer delay.
  • Drones operation can be paused, resumed and stopped by action buttons.
  • Drones travel distance is shown and updated on the UI.
  • Drones speed can be adjusted by slider controls.
  • Drones operation stop automatically when their battery value drops to zero.
  • A dron's current velocity has an impact on its battery consumption.
  • An efficiency ratio enum type affects drone's battery consumption rate.
  • A console log allows for printing the object's state at any given time.

Credits

License

Copyright (C) 2022  Alejandro M. González

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

MIT License: http://opensource.org/licenses/MIT

About

A Java Swing dashboard GUI to monitor and operate the flight of two drones.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages