Logo
Wydrukuj tę stronę

Wykorzystanie języka programowania python do bezpośredniej teletransmisji danych z odbiornika gps na zdalny serwer ftp

Celem projektu było stworzenie systemu komunikacji odbiornika GPS z serwerem FTP poprzez GPRS. W tym celu wykorzystano programowalny odbiornik GPS firmy Telit. Do odbiornika został wgrany skrypt, którego to skompilowaną wersję odbiornik uruchamia po każdorazowym włączeniu. Zadaniem skryptu było przesłanie za pomocą komunikatów NMEA danych nawigacyjnych odbiornika. Plik z danymi w czasie rzeczywistym jest tworzony na wybranym serwerze FTP. Następnym etapem jest odpowiednie sformatowanie odebranego pliku i umieszczenie go w tabeli bazy danych (stworzonej na serwerze). Wykonuje to aplikacja uruchamiana w dowolnej przeglądarce internetowej. Po tym etapie użytkownik może wyświetlić aktualne dane nawigacyjne odbiornika w postaci strony internetowej, wybierając interesujące go charakterystyki. Stworzona została również aplikacja dokonująca konwersji wyników pomiarów na format CSV. Umożliwia ona także wybór z pliku potrzebnych danych.
THE USE OF PYTHON PROGRAMMING LANGUAGE FOR DIRECT TELETRANSMISSION OF DATA FROM GPS RECEIVER TO FTP SERVER
The main goal of the experiment was to create a communication system between a GPS receiver and FTP server (via GPRS). For this purpose, there was used the programmable GPS receiver Telit, to which the Python script was uploaded, and its compiled version was run by the receiver on each start. The main task of the script was to send data, using NMEA sentences, to the file made in the real time on the selected FTP server. In the next step, the received file was appropriately formatted and transferred to the database on the server, which may be performed by any internet browser. After this stage, the user can see up-to-date navigational data on a website and choose the needed angle of characteristics. Software was also made for choosing and converting data to the CSV format, which helps to find the needed information in a file. (...)

Artykuł zawiera 14072 znaków.

Źródło: Czasopismo Logistyka

© 2000-2023 Sieć Badawcza Łukasiewicz - Poznański Instytut Technologiczny