This project will simulate communicating with a drone that is surveying land for information (part 1) and then provide a portal for drone data storage in a database as well as reviewing summarized data results (part 2).
The target of the Drone Recon data collection is your choice. Suggestions include:
Agriculture
Forest
Wildlife
Search and Rescue
Military
This project will involve the following:
JSP
Servlets
REST Web services
JSON
HTML
Databases
DETAILS
Part 1 – DRONE Communication: Data collection and guidance
Zip file provided… Files provided in zip file:
dronerecon/drone_launch.jsp (needs code added by you)
dronerecon/drone_sim.jsp (needs code added by you)
dronerecon/js/dronesim.js
dronerecon/js/jquery.min.js
dronerecon/js/webservice_client.js
The “dronerecon” folder should be placed in the “webapps” folder in your Tomcat installation.
Fill in the drone_sim.jsp and drone_launch.jsp template code that is provided.
Simply look for places where to adjust code marked with ########.
DroneDataService.java
This is a servlet that provides a RESTful web service to the drone_sim.jsp page.
The service does all the following:
Receives last grid tile data from drone and sends data to Drone Recon Portal web service for DB storage (Sending to Drone Recon Portal is in part 2).
Based on previous tile passed in and grid specs passed in, it returns to the drone that called the next tile to fly over and which direction the drone should be going all in a JSON structured string.
The template file for this is provided.
This should be done in a class library project and then compiled into a JAR file and put in the “WEB-INF/lib” folder in your web app.
Sample Solution