Independent Study. Visual LookVisual Look IntroductionIntroduction SRSSRS SDDSDD...

29
Independent Study

Transcript of Independent Study. Visual LookVisual Look IntroductionIntroduction SRSSRS SDDSDD...

Page 1: Independent Study. Visual LookVisual Look IntroductionIntroduction SRSSRS SDDSDD ImplementationImplementation TestsTests Conclusion and Future PlansConclusion.

Independent Study

Page 2: Independent Study. Visual LookVisual Look IntroductionIntroduction SRSSRS SDDSDD ImplementationImplementation TestsTests Conclusion and Future PlansConclusion.

• Visual LookVisual Look• IntroductionIntroduction• SRSSRS• SDDSDD• ImplementationImplementation• TestsTests• Conclusion and Future PlansConclusion and Future Plans• ReferencesReferences

Page 3: Independent Study. Visual LookVisual Look IntroductionIntroduction SRSSRS SDDSDD ImplementationImplementation TestsTests Conclusion and Future PlansConclusion.

Robot Driver interaction Server Interaction Apache Derby Database Interaction Web Application Interaction. These diagrams cover the SRS and the

SDD

Page 4: Independent Study. Visual LookVisual Look IntroductionIntroduction SRSSRS SDDSDD ImplementationImplementation TestsTests Conclusion and Future PlansConclusion.

The Robot Driver

The Fedora Core Server

The Web Application

Page 5: Independent Study. Visual LookVisual Look IntroductionIntroduction SRSSRS SDDSDD ImplementationImplementation TestsTests Conclusion and Future PlansConclusion.

Capacity to be an application It will be updating the robot wirelessly Future work will be done on this.

Page 6: Independent Study. Visual LookVisual Look IntroductionIntroduction SRSSRS SDDSDD ImplementationImplementation TestsTests Conclusion and Future PlansConclusion.

The Robot Driver

The Web Application

Data Packets Sent

Robot GUI

Program

Data Packets Sent

Robot Logic

Page 7: Independent Study. Visual LookVisual Look IntroductionIntroduction SRSSRS SDDSDD ImplementationImplementation TestsTests Conclusion and Future PlansConclusion.

Receives data from the Web application Updates the web application Stores user login information Restricts access to the robot webpage

Page 8: Independent Study. Visual LookVisual Look IntroductionIntroduction SRSSRS SDDSDD ImplementationImplementation TestsTests Conclusion and Future PlansConclusion.

The Robot Driver

The Web Application

Page 9: Independent Study. Visual LookVisual Look IntroductionIntroduction SRSSRS SDDSDD ImplementationImplementation TestsTests Conclusion and Future PlansConclusion.

Receives data from the internet cloud Updates the Database Sends data to the Robot Driver Contains Servlets Contains Deployment Descriptor

(web.xml) Contains .JSP (Java Server Pages)

Page 10: Independent Study. Visual LookVisual Look IntroductionIntroduction SRSSRS SDDSDD ImplementationImplementation TestsTests Conclusion and Future PlansConclusion.

The Robot Driver

The Web Application

Data Packets Sent

Java Server Pages ( .JSP)

Java Servlet

Page 11: Independent Study. Visual LookVisual Look IntroductionIntroduction SRSSRS SDDSDD ImplementationImplementation TestsTests Conclusion and Future PlansConclusion.

Introduction

This project was based from the “Bluetooth Robot Remote Joystick Control” project

The goal is to achieve the same effect via the internet

More can be done over the web.Due to time constraints the projects

potential was streamlined.

Page 12: Independent Study. Visual LookVisual Look IntroductionIntroduction SRSSRS SDDSDD ImplementationImplementation TestsTests Conclusion and Future PlansConclusion.

Previous Project

Make the Ridgesoft three wheel robot work wirelessly using Bluetooth and control it via a joystick.

This goal was accomplished.GridConnect Bluetooth devices were used.Standard USB joystick was usedThe Java jjoystick and the rxtx API was

used.

Page 13: Independent Study. Visual LookVisual Look IntroductionIntroduction SRSSRS SDDSDD ImplementationImplementation TestsTests Conclusion and Future PlansConclusion.

Transition

Most of the same features can be done via the web

Similar movement and control Joystick would be too challenging to

implement over the internet due to the embedded part of the joystick

More information on this project: http://csidc.fgcu.edu/jsummerh/robotprojects/robotjoystick/

Page 14: Independent Study. Visual LookVisual Look IntroductionIntroduction SRSSRS SDDSDD ImplementationImplementation TestsTests Conclusion and Future PlansConclusion.

SRS

Page 15: Independent Study. Visual LookVisual Look IntroductionIntroduction SRSSRS SDDSDD ImplementationImplementation TestsTests Conclusion and Future PlansConclusion.

• Follows the IEEE format• Gives a brief design plan• Defines uncommon computer

terms.• References all the sources that I

have acquired for this project

SRS Basic Overview

Page 16: Independent Study. Visual LookVisual Look IntroductionIntroduction SRSSRS SDDSDD ImplementationImplementation TestsTests Conclusion and Future PlansConclusion.

SRS Purpose

• It is assumed that this document acts like a “Project Proposal” in the business world

• So there is clarity between the engineer and the project benefactor.

• To acquire this document: http://csidc.fgcu.edu/jsummerh/robotprojects/robotweb/

Page 17: Independent Study. Visual LookVisual Look IntroductionIntroduction SRSSRS SDDSDD ImplementationImplementation TestsTests Conclusion and Future PlansConclusion.

SRS Design

• It covers the study of basic robotics over the internet

• Defines clear goals• Displays pictures and diagrams

Page 18: Independent Study. Visual LookVisual Look IntroductionIntroduction SRSSRS SDDSDD ImplementationImplementation TestsTests Conclusion and Future PlansConclusion.

SDD

Page 19: Independent Study. Visual LookVisual Look IntroductionIntroduction SRSSRS SDDSDD ImplementationImplementation TestsTests Conclusion and Future PlansConclusion.

SDD Overview

Project proposal Definitions, and technical terms References Software requirements Software anatomy

Page 20: Independent Study. Visual LookVisual Look IntroductionIntroduction SRSSRS SDDSDD ImplementationImplementation TestsTests Conclusion and Future PlansConclusion.

SDD Content The diagrams, references and

definitions were the same. More content and design details More focus was on the software

rather than hardware requirements Sample code is given in the

appendix part of the document Acquiring this document:

http://csidc.fgcu.edu/jsummerh/robotprojects/robotweb/

Page 21: Independent Study. Visual LookVisual Look IntroductionIntroduction SRSSRS SDDSDD ImplementationImplementation TestsTests Conclusion and Future PlansConclusion.

ImplementationImplementation

Reasons for this choice of technology

Applets VS ServletsCurrent ProgressDesign

Page 22: Independent Study. Visual LookVisual Look IntroductionIntroduction SRSSRS SDDSDD ImplementationImplementation TestsTests Conclusion and Future PlansConclusion.

Implementation ChoiceImplementation Choice

I already knew JavaJava is very versatileJava can be on almost any deviceJava is free

Page 23: Independent Study. Visual LookVisual Look IntroductionIntroduction SRSSRS SDDSDD ImplementationImplementation TestsTests Conclusion and Future PlansConclusion.

Applets vs ServletsApplets vs Servlets

While Applets and Servlets have the same super class, that is where the similarity ends

In Web browser verse on the serverNetworking issuesServlet is combining an applet with

CGI script – this makes it superior to Applets

Page 24: Independent Study. Visual LookVisual Look IntroductionIntroduction SRSSRS SDDSDD ImplementationImplementation TestsTests Conclusion and Future PlansConclusion.

Current ProgressCurrent Progress

The Project web application is up and available

Only backend work is needed now Since Tomcat is installed, most of the

pulmonary work is done To see the current status:

http://csidc.fgcu.edu/jsummerh/robotprojects/robotweb/robowebframe.html

Page 25: Independent Study. Visual LookVisual Look IntroductionIntroduction SRSSRS SDDSDD ImplementationImplementation TestsTests Conclusion and Future PlansConclusion.

Testing Procedures Testing Procedures

First, to correctly install the needed software packages

Correctly startup the Tomcat service

Understand the basics

Page 26: Independent Study. Visual LookVisual Look IntroductionIntroduction SRSSRS SDDSDD ImplementationImplementation TestsTests Conclusion and Future PlansConclusion.

Testing DeploymentTesting Deployment

Understanding the basics of Tomcat

Understanding the basics of Servlets and JSP

To see the actual test deployment: http://csidc.fgcu.edu:8080/TestJSP/

Page 27: Independent Study. Visual LookVisual Look IntroductionIntroduction SRSSRS SDDSDD ImplementationImplementation TestsTests Conclusion and Future PlansConclusion.

• Implement a database into the web application.

• Making a more robust web application

• Creating well commented and well designed web application

Page 28: Independent Study. Visual LookVisual Look IntroductionIntroduction SRSSRS SDDSDD ImplementationImplementation TestsTests Conclusion and Future PlansConclusion.

• A lot of changes were made – the project became a lot more streamlined in the end.

• Most assistance abandoned the project.

• Only backend needs to be completed

Page 29: Independent Study. Visual LookVisual Look IntroductionIntroduction SRSSRS SDDSDD ImplementationImplementation TestsTests Conclusion and Future PlansConclusion.

• http://tomcat.apache.org/• http://www.ridgesoft.com/intellibrainbot/

intellibrainbot.htm• http://www.headfirstlabs.com/books/hfsvlt/• http://www.rxtx.org/