You Are Here:

Community: Wiki

 

Talk:How to read GPS data in Python for S60

From Forum Nokia Wiki

(Redirected from Talk:How to read GPS data)

Hi,

I am interested in using the positioning module with the internal GPS sensor of N95 8GB but I couldn't find any documetation on the module other then this wiki page. Is there a good online resource showing how to use it, and what options do we have when using it? Also, what is the unit of speed obtained from this code?

Selim


Hello Selim

Can you ask your need in specific as all the functions of the positioning module are well depicted in the API documentation.

Gargi Das


Hi Gargi,

Thanks for the response. Yes I found that API documentation and it was very useful. But I still have some specific questions.

1 - What's the unit of GPS speed obtained from the positioning module. I suppose it is meters/sec but I am not sure.

2 - What are the units of the GPS Longitude and Lattitude obtained in this code? I suppose they are in degrees but confimation would be very very helpful.

3 - What is the highest update rate we can obtain from the GPS unit? In the example code 0.2 sec is used to print the GPS data. Does the measurement actually come at 5 Hz?

4 - At the end of the example code, e32.ao_sleep(1) is used after every loop. Can we actaully use smaller sleep time at this step? Would choosing a shorter sleep time (let's say 0.01 sec) cause any problems for obtaining the GPS data?

I would be very glad if you could help me with these questions.

Selim


Hi everyone,

I would recommend this code snippet to anyone who is interested in developing apps making use of the internal GPS of Nokia devices. This is what I did and it works perfectly. For the above questions please see the discussion boards on Python, as they were answered in detail there.

Selim


Reviewer Comments

Location Based Services are really very attractive from users and developers point of view. With more and more devices coming with inbuilt GPS in them this field is growing very fast.

This article explains in a very neat and clean way how to use the inbuilt GPS of your S60 device and get their details. The article has demonstrated the usage of the positioning module available in PyS60, and helps to get all the details of the GPS starting from satellite status, Latitude/Longitude, speed etc.

If you are interested in working on Location Based Applications in PyS60, this is the article you need to start with and can extend the article in a very effective way.

--Gaba88 03:58, 15 September 2009 (UTC)


Article is created series60 in python. Article shows the use of PTHON’S GPS API. It’s a very grand thing when we are working with GPS service application. Before process any data we must fetch and read that data in some particular way. Linking this article with GPS article is a good improvement. Code snippet describes every thing about the application. . Putting image or snapshoot is also a good improvement.

[--Fasttrack 18:45, 26 September 2009 (UTC)]


 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia