Pages: [1] 2
  Print  
Author Topic: [SOLVED] Speed Values from GPS Plugin  (Read 11432 times)
0 Members and 1 Guest are viewing this topic.
shakirmes
Newbie
*
Posts: 13


« on: 24 September , 2008, 00:11:41 »

Hi Smiley,

is there any option that we can get the speed value from GPS plugin?

thanks and regards,
shakir


[Marked as solved, Jukka]
« Last Edit: 16 October , 2008, 04:32:21 by jusahama » Logged
KL Admin
Moderator
Sr. Member
*****
Posts: 313


« Reply #1 on: 24 September , 2008, 02:27:29 »

Hello Smiley

Speed was added in KL 0.9.7.1, wiki is updated now:
you can read 'klSpeed' among else variables as response to 'klCommand=read'

Cheers,
Jukka
Logged
shakirmes
Newbie
*
Posts: 13


« Reply #2 on: 24 September , 2008, 22:50:02 »

Dear  Jukka Cheesy,

thankyou very much for your true work.......


regards and cheers,
shakir
Logged
shakirmes
Newbie
*
Posts: 13


« Reply #3 on: 25 September , 2008, 00:59:03 »

Dear  Jukka Cheesy,

thankyou very much for your true work.. but in the GPSTester on Wiki, there is no speed values displayed....

Next i tried to edit the "klSpeedTester.fla" from "klGPSExample.zip" from wiki and added "klSpeed" dynamic variable into it; and next i had replaced the existing "KlSpeedTester.swf" with the new one in the mobile, it is not working,ie the speed variable is not displaying. please help


regards ,
shakir
« Last Edit: 25 September , 2008, 01:10:00 by shakirmes » Logged
KL Admin
Moderator
Sr. Member
*****
Posts: 313


« Reply #4 on: 25 September , 2008, 01:11:33 »

Hi,
GPS tester application (KLGPSTester.zip) is based on old KL, it doesn't
have 'klSpeed' implemented.

You need to generate new application SIS with KuneriLite 0.9.7.1.

Cheers,
Jukka
Logged
shakirmes
Newbie
*
Posts: 13


« Reply #5 on: 25 September , 2008, 01:22:49 »

Hi Jukka,

Is there a chance that you  update the KlGpsTester application  and KlGPSExample.zip in the wiki with new speed capabilities?


thanks and regards,
shakir  Smiley
Logged
jantsuh
Newbie
*
Posts: 43


« Reply #6 on: 02 October , 2008, 09:55:54 »

I  have tried to get speed working with Nokia 6110 Navigator which is S60 3rd GPS-enabled phone. I am using non-commercial version of latest KuneriLite build 0.9.7.1. However, klSpeed variable retuned by the read-call is always zero (0). Have you tested klSpeed with 6110 Navigator? Has anyone else got this working? Or is it possible that there is still a bug in obtaining speed?

I could verify this if you could provide me with updated version of KLGPSTester with speed support. This would be a great help for debugging this issue.
« Last Edit: 02 October , 2008, 10:14:04 by jantsuh » Logged

Free off-road GPS navigation in Finland. Available for S60 phones. Check out: http://www.karttaselain.fi
KL Admin
Moderator
Sr. Member
*****
Posts: 313


« Reply #7 on: 02 October , 2008, 13:15:07 »

Hmm.. There is no bug, as far it can get speed value, it is returned to FL. However it returns integer instead of floating point, which should indeed improve sensitivity in slower speeds (its m/s you know).
I can send you version, which uses floating point values, you can see if it helps.

I don't know which phones support speed value, that information doesn't seem to be available.

Cheers,
Jukka
Logged
jantsuh
Newbie
*
Posts: 43


« Reply #8 on: 03 October , 2008, 01:06:52 »

Thanks Jukka,

It would be most helpful if you could send as simple example project as possible, e.g. KLGPSTester which support displaying speed (if you could send a working SIS-file I could perform the quick test).

I am sure that 6110 supports obtaining speed from GPS, I have made a simple Java application that uses Location API. It shows that speed is given by 6110 Navigator GPS hardware. I don't think this is the issue.

Bellow is my Flash Lite code that reports zero (0) speed even I am moving with my phone:


Code:

function kuneriLoad(url, handler)
{
var loader:LoadVars = new LoadVars();
 
loader.onLoad = function()
{
handler(this);
}
 
loader.load(url);
}

function gpsDataRead(res:LoadVars)
{
if(res.klError == 0)
{
if(res.klPosLatitude != undefined)
{
var latStr:String = String(res.klPosLatitude);
var lngStr:String = String(res.klPosLongitude);
var speedStr:String = String(res.klSpeed);
                        // speedStr is == 0 always
                }
        }
}

kuneriLoad(kuneriPath + 'GPS?klCommand=read', gpsDataRead);

All other variables but speed are read properly. Am I doing something wrong?
Logged

Free off-road GPS navigation in Finland. Available for S60 phones. Check out: http://www.karttaselain.fi
KL Admin
Moderator
Sr. Member
*****
Posts: 313


« Reply #9 on: 16 October , 2008, 04:31:36 »

Janne reports that this works now (In Pro/commercial version).
Logged
shakirmes
Newbie
*
Posts: 13


« Reply #10 on: 16 October , 2008, 04:42:51 »

do you mean that we cannot get gps speed values from basic version???

moreover the wiki gpstester is not updated with speed even to test it...

so there is no chance???

regards,
shakir
Logged
KL Admin
Moderator
Sr. Member
*****
Posts: 313


« Reply #11 on: 17 October , 2008, 02:36:34 »

We'll have updated tester available in time, basic version too, some testing first..
Logged
shakirmes
Newbie
*
Posts: 13


« Reply #12 on: 10 November , 2008, 23:12:57 »

Hi,

when will the gpstester application in the wiki have speed variable in it? the wiki is not still updated !!!!

i humbly request Kuneri to update the gps tester application with speed as soon as possible....


regards,
shakir
Logged
KL Admin
Moderator
Sr. Member
*****
Posts: 313


« Reply #13 on: 11 November , 2008, 07:38:59 »

Hey,
this was delayed because some urgent matters. Wiki can be updated in this week, just symbiansigned version of tester is pending.

Cheers,
Jukka
Logged
shakirmes
Newbie
*
Posts: 13


« Reply #14 on: 11 November , 2008, 08:27:32 »

Hi Jukka,
thank you very much. Smiley i can't just wait to test your gps Speed reading from Kunerilite!!!! Cheesy


regards,
shakir
Logged
Pages: [1] 2
  Print  
 
Jump to: