• No results found

Värderingsförmåga och förhållningssätt

In document Ny generation av GPS-transponder (Page 32-38)

7.4 REFLEKTION KRING EGET LÄRANDE

7.4.3 Värderingsförmåga och förhållningssätt

Arbetet under projektets gång skedde i så kallade sprints. Det innebar att arbetet som hade utförts under sprinten redovisades på ett möte med handledare på företaget varannan vecka. Under dessa möten informerades även handledaren på företaget om vad som hade planerats för nästa sprint. Även en demonstration för medarbetarna på avdelningen skedde när allt var klart. Under denna demonstration användes två GPSer.

Hur olika delar av systemet bör konfigureras och användas har dokumenterats i olika guider med jämna mellanrum. Det finns även dokumentation för hur det färdiga programmet bör användas. Programkoden har även dokumenterats med XML-, QT-style- och vanliga C-

kommentarer som gör det lätt att vid behov utveckla programkoden.

Hårdvaran kommer att fungera väl så länge det finns täckning för både mobilkommunikation och GPS, samt att GPS-mottagaren inte färdas för fort eller för högt. Eftersom GPS-

mottagaren som används i dagsläget inte fungerar ordentligt om den färdas fortare än 1854 km/h eller högre än 18000 m. Detta borde dock inte vara ett problem vid testning, då sportflygplanet som används flyger med en hastighet på 216 km/h och med en höjd på cirka 1000 m. Det bör även tilläggas att mobiltelefoner fungerar sämre på höjder över 10000 m och vid hastigheter högre än 600 km/h än vad de gör på marken vid lägre hastigheter.

Mjukvaran som har tagits fram kommer att fungera så länge som WGS84 används och så länge latituden inte överstiger 60. Den kommer alltså att fungera fint i nedre delen av Sverige men kanske inte längre norrut. Anledningen till detta är att uträkningarna sköts av en befintlig programklass som inte klarar av koordinater längre norrut än latituden 60 nordlig bredd. Vid testning med en latitud över 60 nordlig bredd, erhölls felaktig bäring och elevationsvinkel, även om distansen var den rätta.

8 Referenser

Referenser

[1] Khondker, Shajadul Hasan; Mashiur, Rahman et al, ”Cost Effective GPS-GPRS Based Object Tracking System”, Proceedings of the International MultiConference of

Engineers and Computer Scientists, Vol 1, 2009. Besöktes 2016-03-31. URL:

https://www.researchgate.net/profile/Khondker_Hasan/publication/44259584_Cost_Effect ive_GPS-GPRS_Based_Object_Tracking_System/links/0c96053a9e59c57cd7000000.pdf [2] van Heesch, Dimitri, Documenting the code. Utgåva 1.8.10. Eindhoven, Nederländerna: Stack, 2015. Besöktes 2016-03-31.

URL: https://www.stack.nl/~dimitri/doxygen/manual/docblocks.html

[3] Axelsson Mattias, Vad är SCRUM? Agil utveckling. Stockholm, Sverige: Happiness AB. Besöktes 2016-05-25

URL: http://www.happiness.se/artiklar/vad-ar-scrum

[4] Free Software Foundation, Posix Standard: 2.10 Symbolic Constans <unistd.h>. Boston, MA, USA: Free Software Foundation, Inc, 2006. Besöktes 2016-04-05. URL: http://linux.die.net/include/unistd.h

[5] Raymond, Eric S & Curley, Charles, libgps – C service library for communicating with the GPS daemon. Besöktes 2016-04-05.

URL: www.catb.org/gpsd/libgps.html

[6] Upton, Eben, New Product Launch! Introducing Raspberry Pi Model B+. Raspberrypi.org, 2014. Besöktes 2016-04-11.

URL: https://www.raspberrypi.org/blog/introducing-raspberry-pi-model-b-plus/ [7] ITEAD Wiki,”File:RaspberryPIGSM Add-on .jpg”. Besöktes 2016-04-11. URL: http://wiki.iteadstudio.com/File:RaspberryPIGSM_Add-on_.jpg

[8] UsGlobalSat, BU-353-S4, Chino, CA, USA: UsGlobalSat, Inc. Besöktes 2016-04-11. URL: http://usglobalsat.com/p-688-bu-353-s4.aspx#images/product/large/688.jpg [9] Pogge, Richard W. ”Real-World Relativity; The GPS Navigation System”, Astronomi Ohio State, 2016-03-20. Besöktes 2016-05-25

URL: http://www.astronomy.ohio-state.edu/~pogge/Ast162/Unit5/gps.html

[10] National Space-Based Positioning, Navigation, and Timing Coordination Office, “Global Positioning System”, 2010. Besöktes 2016-05-25

URL: https://web.archive.org/web/20100730173245/http://www.gps.gov:80/systems/gps [11] Federal Aviation Administration, GNSS Frequently Asked Questions – GPS, 2015-01-14. Besöktes 2016-05-25.

[12] UsGlobalSat, BU-353-S4 USB GPS FAQ, Chino, CA, USA: UsGlobalSat, Inc. Besöktes 2016-05-25.

URL: http://usglobalsat.com/store/gpsfacts/bu353s4_gps_facts.html [13] DePriest, Dale, NMEA Data. Besöktes 2016-04-11.

URL: http://www.gpsinformation.org/dale/nmea.htm

[14] Betke, Klaus, The NMEA 0183 Protocol. Utgåva 2001. New Bern, NC, USA: NMEA, 2001. Besöktes 2016-04-08.

URL: http://www.tronico.fi/OH6NT/docs/NMEA0183.pdf

[15] NMEA, NMEA 0183 Standard. Severna Park, MD,USA: National Marine Electronics Association, 2008. Besöktes 2016-04-11.

URL: http://www.nmea.org/content/nmea_standards/nmea_0183_v_410.asp [16] SiRF Technology, NMEA Reference Manual. Utgåva 2.1. San Jose, CA USA: SiRF Technology, Inc, 2007. Besöktes 2016-04-08.

URL: https://www.sparkfun.com/datasheets/GPS/NMEA%20Reference%20Manual-Rev2.1-Dec07.pdf

[17] Techopedia, Mobile Switching Center (MSC). Kanada: Janalta Interactive. Inc. Besöktes 2016-05-25

URL: https://www.techopedia.com/definition/8448/mobile-switching-center-msc [18] Scourias John,”Overview of the Global System for Mobile Communications”, University of Waterloo. 1995-05-19.

Besöktes 2016-05-25

[19] Poole, Ian, GPRS Tutorial. Dorking, Storbritannien: Adrio Communications, Ltd. Besöktes 2016-04-12.

URL: http://www.radio-electronics.com/info/cellulartelecomms/gprs/gprs_tutorial.php [20] INSYS, Basics How Does GPRS work. Regensburg, Tyskland: INSYS icom.

Besöktes 2016-04-12.

URL: https://www.insys-icom.com/gprs-basics/

[21] Lewan, Mats, ”Mysteriet med gprs, 3G och edge”, Ny Teknik, 2004-03-01. Besöktes 2016-04-01.

URL: http://www.nyteknik.se/digitalisering/mysteriet-med-gprs-3g-och-edge-6445332

[22] Tutorialspoint, GPRS – general packet radio service. Hyderabad, Indien: Tutorials Point (I) Pvt, Ltd, 2015. Besöktes 2016-04-12.

URL: http://www.tutorialspoint.com/gprs/gprs_tutorial.pdf

[23] Telit, AT Commands Reference Guide. Utgåva 0 – 2006-08-04. London, Storbritannien: Telit Communications, 2006. Besöktes 2016-04-21.

[24] Seguin, Karl, ”How unreliable is UDP?”, Open My Mind, 2014-10-16. Besöktes 2016-04-27.

URL: http://openmymind.net/How-Unreliable-Is-UDP/

[25] Kurose F. James & Ross W. Keith, Computer Networking: a top-down approach. 6 uppl. Harlow, Essex: Pearson Education, 2012 – ISBN-10: 0273768964, ISBN-13: 9780273768968.

[26] Pons, Rafael, Understanding Azimuth and Elevation. PhotoPills SL, 2016. Besöktes 2016-05-03

Bilaga 1: How to connect the GPS to Raspberry Pi

Note: this guide is for a Raspberry Pi running Raspbian Jessie 4.1 and the GPS-receiver used is a BU-353S4 connected by USB

Step 1: connect GPS-receiver to Raspberry Pi (on model B or earlier in the top USB slot, and on model B+ or later in the top left USB-slot)

Step 2: Open the console and type: sudo apt-get install gpsd-clients python-gps Step 3: type: cd /etc

Step 4: cd default Step 5: sudo nano gpsd Step 6: make sure that it says: START_DAEMON="true" USBAUTO="false"

DEVICES="/dev/ttyUSB0" GPSD_OPTIONS="n"

GPSD_SOCKET="/var/run/gpsd.sock" Step 7: save and exit

Step 8: go to the console again and type: sudo /etc/init.d/gpsd restart

step 9: cgps -s (this should show all of the relevant information, it may take up to 35 seconds before anything appears)

If it still doesn't work try rebooting the Pi by typing sudo reboot and then trying step 9 again. If that does not work, try reading "TroubleShooting_BU353S4_GPS" in the second appendix (Bilaga 2).

Voluntary step 10: there is a useful c library called libgps, to install it: open the console and type: sudo apt-get install libgps-dev

Bilaga 2: TroubleShooting_BU353S4_GPS

*The GPS-receiver starts printing strange symbols or question marks when using the supplied software:

-this is probably because the GPS-receiver has switched protocol to SIRF. This can be fixed by following these steps:

step 1: download sirfdemo.exe on your Windows computer. step 2: connect the GPS-receiver.

step 3: start sirfdemo

step 4: select the correct COM-port and Baud-rate (check which port you are using in the control panel).

step 5: press Action->Open Data Source.

Step 6: press Action->Switch to NMEA Protocol.

if step 6 is not possible: press Action->Switch to SiRF Protocol and then press Action- >Switch to NMEA Protocol.

Your GPS-receiver should now work properly.

You should however be aware that the gpsd tools on Linux seem to automatically change the protocol to SIRF.

*The GPS doesn't work properly with libGPS after rebooting the PI or unplugging the GPS: -this is probably because GPSD takes a little while to boot up.

Wait a couple of minutes and then try again. You can also try opening the console and typing: >cgps -s

In document Ny generation av GPS-transponder (Page 32-38)

Related documents