cse capstone project
Download
Skip this Video
Download Presentation
CSE Capstone Project

Loading in 2 Seconds...

play fullscreen
1 / 23

CSE Capstone Project - PowerPoint PPT Presentation


  • 119 Views
  • Uploaded on

CSE Capstone Project. Final Presentation. Honeywell Avionics Displays Group. Display Group Located in Dear Valley Program and support cockpit displays Displays are responsible for reporting various important flight information Altitude, Speed, Pitch, etc. Project Managers Malachi Nordine

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' CSE Capstone Project' - felicia-mcdonald


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
cse capstone project

CSE Capstone Project

Final Presentation

honeywell avionics displays group
Honeywell Avionics Displays Group
  • Display Group
    • Located in Dear Valley
    • Program and support cockpit displays
    • Displays are responsible for reporting various important flight information
      • Altitude, Speed, Pitch, etc.
  • Project Managers
    • Malachi Nordine
    • Mohammed Islam
the hardware
The Hardware
  • Two main components:
    • Display Unit (DU) – Displays flight information in 2-D graphics.
    • Advanced Graphics Module (AGM) – The graphics engine which uses OpenGL libraries to draw primitives to one or more displays.
project overview
Project Overview
  • The purpose
    • Create a remote testing tool for the new advanced graphics module (AGM-200).
    • Testing tool checks for consistency for all primitives drawn by AGM-200.
  • The approach
    • Set up a client-server network between a remote PC and the AGM-200.
    • Commands:
      • Draw an OpenGL primitive.
      • Retrieve corresponding CRC value.
documentation
Documentation
  • Honeywell’s protocol for doing documentation:
    • Requirements: SRS (System Requirement Specification)
    • Design: SRDD (System Requirement Design Document)
    • Testing: Test Plan
  • Goal:
    • Lower levels of documentation trace back to higher levels of documentation for requirement verification
      • Test Plan test cases -> SRDD requirements -> SRS requirements
srs overview
SRS - Overview
  • The SRS focuses on the system-level requirements (the “what”), non implementation specific.
    • System Overview
    • General System Requirements
    • Quality Requirements
    • System Interface Requirements
srs general system requirements
SRS – General System Requirements
  • Main focus of SRS: general system requirements
    • Provide abstract non implementation specific description of each requirement
    • Provide test cases for each requirement
      • Represented by “shall” statements, must be testable
      • Each “shall” statement has a trace tag
srdd overview
SRDD - Overview
  • SRDD focuses on the lower-level implementation -specific requirements (the “how”)
  • It is a list of methods and classes that will eventually be implemented
    • Specific enough to explain exactly what a function does
    • Abstract enough so the programmer can implement the code anyway they want
srdd example function
SRDD – Example Function
  • setPrimitive tells the AGM-200 which drawing mode to be in.
  • SRDD “shall” statements trace back to SRS
test plan
Test Plan
  • Test plan is the lowest level in the documentation hierarchy.
  • The document is organized as a listing of test cases which correspond to all of the “shall” statements in the SRDD.
  • Not actual code, but descriptions of code that you will write that gives the coder freedom of implementation.
client
Client
  • Layered Design
    • Client
    • Transactions / Requests
    • GUI / Test Runner
  • Network
    • Decided to use UDP, but left TCP functionality in as product switch
class structure
Class Structure
  • AGM_Client.jar:
    • package fit
    • package displayTool
      • DisplayFrame.java, DisplayTool.java
    • package tcpClient
      • NetClient.java, TCPClient.java, UDPClient.java
      • Request.java, Reply.java, Transaction.java
      • TestRunner.java
      • package fixtures
        • GenericRequestFixture.java
        • TransactionFixture.java
    • TCPApplet.java
server environment
Server Environment
  • Ran on the DEOS operating system
    • Proprietary real-time scheduling OS
  • Written in C++
    • Time consuming setting up server project in visual studio
  • Memory, scheduling, threads, mutexes, mailboxes, etc. all entered manually into registry
  • Binary file and registry uploaded to the AGM using ftpshell and then ran
  • Debugging done through logProcessEvents and checked through telnet
server processes
Server Processes
  • We use two processes:
    • CRC
    • aClient
  • aClient has multiple threads:
    • Handle UDP connection
    • Draw HGL primitives
    • Receive a message from CRC process when the value of the CRC has changed
client server communication
Client/Server Communication
  • Server waits for incoming UDP connection from client
  • Server receives string in following format using recvfrom():
    • Function|Param1|Param2|…|ParamN
  • Unpack() parses it and reads parameters into an array of strings
  • Switch used to either change what is drawn or get a CRC value
  • sendto() is used to send status or CRC back to client
crc operation
CRC Operation
  • CRC is calculated using a different process.
    • DEOS only allows “server” processes to interact with our process, and CRC calculation is not a “server” process (HGL is)
    • To get around this, we use a mailbox that is accessed by our main process.
    • CRC sends a new value to the mailbox each time it changes
  • Thread in main process keeps checking mailbox and stores value in global variable
opengl
OpenGL
  • Standard specification defining a cross-platform graphics API
  • Doesn’t provide the actual functionality; only an interface
  • Useful for abstraction and uniformity
  • Displays use OpenGL to convert geometric primitives (lines, shapes, etc) into pixels
slide21
HGL
  • Supported functions:
    • Draw Line
    • Draw Square
    • Draw Triangle
    • Draw Polygon
    • Clear Display
    • Set Color
conclusion
Conclusion
  • Had some holdups along the way due to environment
  • We had to narrow the scope a bit, but in the end we built a working product
  • Opportunity to learn a thing or two about graphics, embedded software, and network programming
ad