User Tools

Site Tools


Writing /var/lib/dokuwiki/data/meta/teaching/ie0117/proyectos/2013/ii/gps_navigation_with_android_and_openstreetmaps.meta failed
teaching:ie0117:proyectos:2013:ii:gps_navigation_with_android_and_openstreetmaps

GPS navigation with android and openstreetmaps: Drive CR

Current Status

Not finished yet

Authors

  • Aguilar Adrián
  • Méndez Jaime
  • Pérez David
  • Sánchez Andrés
  • Villalobos Willy

Introduction

People around the world need to move from one place to other for many reasons like work, study, hobbies, etc. There are several roads which they can take to move, and the interconnection between these, induces there are several different routes to reach the same point; sometimes with different conditions, which ultimately can generate significant changes like more expensive or cheaper costs and changes in the time you need to do the travel.

Following this situation, some programmers from different countries, have created applications (apps) which can suggest the most convenient roads to be chosen for the user. However these apps have been created based on the needs that these programmers have been noticed in their own countries, but not in other regions such as Costa Rica.

That's why DriveCR born. An app for Android systems1), focused in supplying the Costa Ricans needs in these aspects, considering the characteristics of the Costa Rican road system.

DriveCR is an app which use Android as operative system (OS) and Python as programming language, creating a social web similar to others like Waze2), but specialized in offering this service to the Costa Rican people. The app use as fundamental tools openstreetmaps3) and MySQL4); are the bases of the work.

Objectives

General Objective:

Developing a mobile GPS application for the Costa Rican society which solve the problems that other mobile programs which trace routes, have been since their creation. Also making it with special conditions for its use in Costa Rica

Specific Objectives:

  1. To develop a data base which let store the information of each user (email address, preferences, level in the app)
  2. To permit that the data base save the information in real time exactly as happens in the road, and also erase the not necessary information at the same time.
  3. To develop specific algorithms which let optimize the time and the monetary expenditures, by roads which consider each mishap anybody reports.
  4. To create an algorithm which regulate the particular cases, as “restricción vehicular” and vehicles special conditions (example 4×4 vehicles)
  5. To obtain connectivity between the terminals which use the app and the server.
  6. To generate a groupware5) between app's users, which let them licenses to modify the maps from a specific report of mishaps as traffic jams, car crashes, structural damages; from a rate system based on this kind of reports.
  7. To generate a graphical user interface (GUI) friendly with the user, starting at PC and next for Android
  8. To implement a integrate voice system which permits better accessibility for the user
  9. To permit the report by comments, pictures and videos, encouraging its function as social web.

Implementation

  1. GPS Read: This method give us the posibility of knowing the position according to the GPS in that moment.

GPS read

To save our information in a data base, we implement this method. Actually this python code get the personal information of the user, and save it in a MySQL data base

GUI Final aspect

For information on the libraries and programs needed to develop a GUI using Qt and python, check the next link:

Qt development libraries using python

We first have a welcome window or front page, displaying the name and logo of the app. We will have buttons for skipping from the current window to the next or the previous window, both located in the upper corners.

When we clic in the arrow that leads us to the next window, the app shows the options of creating a new user or login.

If you already have an user, then you click on the “Iniciar Sesión” button, and displays the next window, where you can input your login information.

Otherwise, you may create a new user. You can input your information manually or register using your facebook, twitter or google+ accounts.

Once we login, the app displays a window with a map obtained from open street maps, and below we have options for displaying the current location, mark destination point on the map, and an adjustments button, were you can input additional information like your car model, brand, number of submits, favorite destinations, etc.

Manuals and Tutorials

  • This manual is used to to establish a connection between your phone and computer, and read your position by GPS localization

http://www.scribd.com/doc/180712184/Manual-GPS

  • This is a tutorial for MySQL. Used for the data bases

MySQL Basic Tutorial

http://www.scribd.com/doc/180719409/tutorial-mySQL-odt

teaching/ie0117/proyectos/2013/ii/gps_navigation_with_android_and_openstreetmaps.txt · Last modified: 2022/09/20 00:08 (external edit)