WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering CROWDSOURCED...

14
WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering CROWDSOURCED TRAFFIC MAP Team Members: Faculty Mentor: David Williams Mark Ghareeb Richard Burris Joshua Douty Yaser P. Fallah

Transcript of WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering CROWDSOURCED...

Page 1: WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering CROWDSOURCED TRAFFIC MAP Team Members: Faculty Mentor: David Williams.

WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering

CROWDSOURCED TRAFFIC MAP

Team Members:

Faculty Mentor:

David Williams

Mark Ghareeb

Richard Burris

Joshua Douty

Yaser P. Fallah

Page 2: WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering CROWDSOURCED TRAFFIC MAP Team Members: Faculty Mentor: David Williams.

WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering

OUTLINE• Problem Statement

• System Highlights

• Challenges

• Depiction of Design

• Summary of Technology

• Building the Project

• Problems

• Data Flow

• Lessons Learned

• Future Needs

• Conclusion

Page 3: WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering CROWDSOURCED TRAFFIC MAP Team Members: Faculty Mentor: David Williams.

WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering

PROBLEM• Traffic conditions tend to be difficult to predict and can vary within minutes.

• Monitor resources that are already in place and gather information from users

• Goal is to provide real time traffic data to Morgantown

• At the time of 480, Google did not support the area

Page 4: WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering CROWDSOURCED TRAFFIC MAP Team Members: Faculty Mentor: David Williams.

WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering

SYSTEM HIGHLIGHTS• Accuracy

– Provide the most dependable traffic information based on gathered data

• Scalability

– System will handle request from a small to large number of users

• Reliability

– Software should be accessible at anytime that cell service is available

• Flexibility

– Handle multiple types of Android versions and devices

Page 5: WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering CROWDSOURCED TRAFFIC MAP Team Members: Faculty Mentor: David Williams.

WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering

CHALLENGES• Learning curve of unfamiliar Software

– SQL

– Apache HTTP

• Power Management

• User Security/Anonymity

• Develop algorithms to calculate traffic patterns

• Handling Multiple input devices

• Creating OpenStreetMap Layers

• Collaboration with Graduate Researcher doing similar project with Google Maps

Page 6: WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering CROWDSOURCED TRAFFIC MAP Team Members: Faculty Mentor: David Williams.

WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering

DESIGN

Page 7: WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering CROWDSOURCED TRAFFIC MAP Team Members: Faculty Mentor: David Williams.

WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering

SUMMARY OF TECHNOLOGY • Collection Devices

– Android Smartphone

• Traffic Information Display

– Android Smartphone application

– Computer Based Web Browser

• Map Software

– OpenStreetMap

– PostgreSQL

• Server

– Apache HTTP Server

– OSM Map Tile Server

Page 8: WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering CROWDSOURCED TRAFFIC MAP Team Members: Faculty Mentor: David Williams.

WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering

BUILDING THE PROJECT• Software

– Eclipse IDE with ADT plugin

– Ubuntu 12.04.1 LTS Server

– ClockworkMod – Android image backup

– OSM Tile Server

– Apache HTTP server

– Android OS (2.3-3.2, 4.1-4.2)

– GitHub

• Hardware

– Devices: Samsung Galaxy SII Samsung Galaxy SIII, Samsung Galaxy Note 10.1 HTC Thunderbolt, HTC Inspire

– Server: Dell XPS M1530 Laptop

Page 9: WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering CROWDSOURCED TRAFFIC MAP Team Members: Faculty Mentor: David Williams.

WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering

PROBLEMS• Installation issues

– “Clean installs” needed several times for Server software

• Android device fragmentation

– Scores of devices and multiple different OS versions

– Avoided by having server do all heavy lifting

• Antiquated hardware

– Intel 2.0 GHz Dual core laptop processor from 2008

– Overheats

• No static IP address

– Couldn’t test sending data over Cellular networks

• Schedule Conflicts

• Lack of Server/PostgreSQL knowledge

Page 10: WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering CROWDSOURCED TRAFFIC MAP Team Members: Faculty Mentor: David Williams.

WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering

DATA FLOW

Page 11: WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering CROWDSOURCED TRAFFIC MAP Team Members: Faculty Mentor: David Williams.

WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering

LESSONS LEARNED• Use budget wisely

– Using recycled hardware caused more problems than gave solutions

• Better Allocation of work

– Split into two teams: App and Server

• Switch priorities

– Focus on back end first, Client side will come easier

• Reduce number of workarounds

– Causes more problems than solutions in the long run

• Time Management is crucial

• Don’t deal with own hardware, try purchasing hosted server time

Page 12: WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering CROWDSOURCED TRAFFIC MAP Team Members: Faculty Mentor: David Williams.

WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering

FUTURE NEEDS• Map-matching GPS coordinates to road vectors

• App development for other smartphone platforms

– iPhone, Windows Phone

• Fine tuning of GPS collection

• Dedicated server

– Static IP address

– Ability to transmit and receive data

• University internet regulation don’t allow this

• Most home IPs are dynamic

• Interface external devices

– Road sensors for more data collection

Page 13: WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering CROWDSOURCED TRAFFIC MAP Team Members: Faculty Mentor: David Williams.

WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering

CONCLUSION• This project gives us the opportunity to gain experience with:

– Web Development

– Mobile application development

– Server side development /maintenance

Page 14: WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering CROWDSOURCED TRAFFIC MAP Team Members: Faculty Mentor: David Williams.

WEST VIRGINIA UNIVERSITY Lane Department of Computer Science and Electrical Engineering

QUESTIONS