Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Electrical and Computer Engineering Comprehensive Design Review February 12, 2010 Team Zink Nicholas Cipriano, Ali Jameel, Jeremy Mestancik, Brian Simakauskas.

Similar presentations


Presentation on theme: "1 Electrical and Computer Engineering Comprehensive Design Review February 12, 2010 Team Zink Nicholas Cipriano, Ali Jameel, Jeremy Mestancik, Brian Simakauskas."— Presentation transcript:

1 1 Electrical and Computer Engineering Comprehensive Design Review February 12, 2010 Team Zink Nicholas Cipriano, Ali Jameel, Jeremy Mestancik, Brian Simakauskas

2 2 Electrical and Computer Engineering Overview  Our advertising system allows advertisements to be scheduled and uploaded over the Internet  Advertisements are automatically sent to their corresponding buses  Ads are displayed based depending the current time and location of each bus

3 3 Electrical and Computer Engineering Block Diagram

4 4 Electrical and Computer Engineering Website  Allows users to log in, view scheduled ads  Displays the correct schedule for a given date and bus route schedule.txt contains all dates for reduced schedule and no service  User can choose individual bus runs to advertise During peak hours, buses run frequently – Users will select time ranges rather than bus runs

5 5 Electrical and Computer Engineering Homepage

6 6 Electrical and Computer Engineering Schedule Page

7 7 Electrical and Computer Engineering Client update_schedule.sh daemon  At regular intervals, bus connects to server Connection requires no password  Bus retrieves updated schedule.txt file from web server Updated file replaces the old  Bus checks if filenames exist in local memory If not, bus downloads ad from server

8 8 Electrical and Computer Engineering Google Map API  A map displays the bus route on the website  User is able to click points on the map, and the distance between those points is the ad distance  The selected interval is highlighted, for ease of use  The map displays the estimated time and distance of an interval

9 9 Electrical and Computer Engineering New Maps Update on Monday

10 10 Electrical and Computer Engineering Ad Displaying  The scheduling information for each ad is parsed into structs called ads  These structs hold all the information relevant to displaying an ad  A struct is also constructed for the GPS coordinates  Having two structs makes comparing values and performing operations much more elegant

11 11 Electrical and Computer Engineering Ad Displaying  For each GPS coordinate, the distance from an ads start coordinates and end coordinates is made  The Haversine function is used to calculate this distance  When the Haversine function returns a distance that is in a certain range, the ad is either displayed or turned off

12 12 Electrical and Computer Engineering For FDR  Ad displaying priority  Ad scheduling priority  Default advertisement display  Full wireless communications  Bus communication with web server rather than host computer


Download ppt "1 Electrical and Computer Engineering Comprehensive Design Review February 12, 2010 Team Zink Nicholas Cipriano, Ali Jameel, Jeremy Mestancik, Brian Simakauskas."

Similar presentations


Ads by Google