Build a dashboard to setup items on the farm. For each
item users should be able to provide basic details such as location
coordinates, dimensions, price and others. Setting up these items will allow 1)
drones to create automated flight paths; and 2) machine learning algorithms to
make a variety of predictions. Although implementing machine learning is not
the focus of this course we are building the dashboard interface assuming that
machine learning algorithms are implemented by a different team in the company.
The dashboard should implement singleton, composite design patterns and create
a visualization of the items added to the farm.
Add a visualization section to the farm and create a
visual plot of the farm measuring 800 X 600 pixels to represent items and
item-containers added in the dashboard using location (location-x and
location-y) and dimensions (length and width). Items/item containers added to
the dashboard should be positioned based on the location and scaled based to
the dimensions on the visualization section.
Animate drone flight path over the visualization section
of the farm for the following functionalities:
● go
to item/item container: animate drone flying to the selected item/item
container
● scan
farm: animate drone flying over the entire farm
To set up for animation, add a “command center
(item-container) to root” and to the command center add a “drone (item)”. This
will be starting position of the drone and animations of the flights path need
to begin at this location on the dashboard.
Note that the coordinate system for visualization on a
computer screen will be different from a mathematical representation. Below is
a sample co-ordinate system for the computer [1]:
The goal of this assignment is to design and implement
the farm dashboard. The implementation should contain the following:
● Implement
singleton and composite design patterns
● Display
a visualization of the farm
● Implement
dashboard using Java (JavaFX can be used to create the UI)
Expected contents in the Design and
Implementation:
- Design
document with UML class diagrams. Explain how design patterns were implemented
by various classes and methods in your code
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
23 | 24 | 25 | 26 | 27 | 28 | 1 |
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 | 1 | 2 | 3 | 4 | 5 |
Get Free Quote!
363 Experts Online