yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV General] ryahp:
I think, what pucci wants is that when using track 2 follow, your position on the screen should stick to the t2f like a magnet when your GPS position is in reasonably close vicinity of the track　(in his example 10m).

The Position on the map would then be displayed as if your position were accurately following the track, which pucci draws on his PC, and not jump or slide off the track because of inaccuracy of the GPS or your actual position.

----

I messed around a bit with the map drawing part of the program and found, that

a) map tiles are always scaled even if the displayed tile size is the same as the original size, resulting in blurry/noisy appearance.

b) choosing a map tile with the 65% coverage method doesn't seem very reasonable.

I managed to build an exe that would display map tiles at 1:1 pixel scale, but my solution is far from clean and I doubt it would work correctly on a differently sized device.
[Touch Diamond, MDA Compact IV General] pucci:
ryahp,

thank for explanation: you have clearly expressed my point.

A.
[Touch Diamond, MDA Compact IV General] Blaustein:
Hi Amedeo, I now understand. I will note it on my todo list, but there are many other things which have higher priority. For example ryahp's issue with scaled images.

Klaus
[Touch Diamond, MDA Compact IV General] sebaseba78:
hello, i'm not be able to load a map on the app, can anyone post a link with a map that works fine? I think then i will understand if i loaded wrong maps or if i didn't understand that feature.

Also i tried to set a server in dowload box but i didn't start the connection, any suggestions? (the gps was on)

I have an htc touch2, please an help to load maps... :-)

P.S. And I have already read the guide :-(
[Touch Diamond, MDA Compact IV General] ryahp:
I think most of the maps available in the select box didn't work. They are hardcoded and there may be a problem with the code or the server address.

For me openpistemap worked most reliably. Turn off or try a different multi-map setting. Maybe try a different version of GCC.

Try them one by one or specify an openstreetmap server like "http://tile.openstreetmap.org/mapnik/" in the custom osm_server file. There might also be a server problem with the specific server. So try to find some other osm server on the net. I think there are plenty to choose from.

Good luck.
[Touch Diamond, MDA Compact IV General] sebaseba78:
Thanks, but i don't understand what i have to do to start the download, the app doesn't try to connect to server, any suggestion?

And if is possible, i'd appreciate a link with a working map, so i will understand if until now i tried to load wrong maps, thanks

P.S. i have the version 4.8
[Touch Diamond, MDA Compact IV General] Blaustein:
Hi Sebaseba, if you activate download map and go to map screen, GCC should try to download the map. But ryahp is right, most map sources don't work.

In the download area of GCC is a sample map showing the area around Lat=50, Lon=8 (downloaded with MOBAC).

http://code.google.com/p/gccv2/downloads/list

Unzip the directory and copy it to your device. In first option page of GCC select "Set maps files location ..." to select this map. Use menu "Input LatLon" to show this position.

Klaus
[Touch Diamond, MDA Compact IV General] sebaseba78:
Thanks Blaustein, i'll try with the sample map in the download area, unfortunately when i go in map screen the download doesn't start, ok most map sources don't works, but gcc doesn't try to connect to server, don't ask for the connection.

To activate the download map i only set the source in a box, do i have to set other things to activate the download?
[Touch Diamond, MDA Compact IV General] Blaustein:
It should work with this setting (options - map screen - Download - choose source from list box).

Klaus
[Touch Diamond, MDA Compact IV General] sebaseba78:
Ok, i tried to load the sample map and it works! Now i have only to learn how to create my map from openstreetmap (i think it's not difficult, but if you have a link which explain it.. i'd appreciate)

Instead also when i select the download box, gcc doesn't try to connect to the server. Do i have to edit anything?

I have a htc touch2,

Thanks again
[Touch Diamond, MDA Compact IV General] sebaseba78:
Ok i don't know how, but now it works all properly, a last question:

is possibile making rotate the map while navigation, in other words can the arrow points always up?

Thanks
[Touch Diamond, MDA Compact IV General] Blaustein:
This is a frequently asked question. As the map is a pixel image and no vector image, this is difficult and CPU intensive and could produce image distortions. Rotating in 90 degree steps would be easier but is not really what you want. But it might be a helpful improvement for people who can not think around the corner, when the arrow points down (driving in direction south).

Klaus

PS: fine that map is working now. And as you have read the docu you know that the best way to create maps is to use "MOBAC".
[Touch Diamond, MDA Compact IV General] sebaseba78:
It's all clear now, thanks you were very helpful...almost forgot: Great job, i love this app!!
[Touch Diamond, MDA Compact IV General] sebaseba78:
Hi always me, i found a server that works fine for me, and i edited the custom osm_server file. Ok it works, but i'd like to set this url in one of the box that doesn't work, what file i have to edit and where?
[Touch Diamond, MDA Compact IV General] sebaseba78:
Another question, the app doesn't read kml files, it says: "error reading file or it does not have track data". The same file converted in gpx with gpsvisualizer works perfectly, why?

P.S. i tried with different kml files
[Touch Diamond, MDA Compact IV General] Blaustein:
Hi sebaseba, the osm servers are defined in MapUtil.cs in DownloadOsmTile().

Can you post here a short kml file which doesn't work?

Klaus
[Touch Diamond, MDA Compact IV General] sebaseba78:
Hi Blaustein, here the file.

To find and edit MapUtil.cs in DownloadOsmTile() i have to use C#? or is possible find and edit with notepad?

Thanks,

Seba
[Touch Diamond, MDA Compact IV General] mariOwing:
I strongly encourage you to NOT DO THIS. I really like the fact that your nice and clean application works with the Windows driver. That means it behaves nicely together with other gps applications on my Touch Pro, like a geotagging photo-application and Google Maps. For me it is nice to be able to run several GPS applications at once and I fear that if you decide to write your own "driver" it would not behave well together with other GPS applications...
[Touch Diamond, MDA Compact IV General] AndyZap:
I agree that this shall be only an extra option or a diagnostics feature, by default it is better to rely on Windows driver.
[Touch Diamond, MDA Compact IV General] TheOnlyDidi:
On my HTC Diamond I have an altitude offset of about 45m.

(ref. http://xdaforums.com/showthread.php?t=432008)

Is it possible to manually correct the geoid with the GPS Cycle software?
[Touch Diamond, MDA Compact IV General] wyro:
Extra option sounds good. So can a user choose witch type of connection he whant use.

So, I wait for your solution.

cu, wyro
[Touch Diamond, MDA Compact IV General] cozzykim:
Hi wyro, before you give up, why not try something like the demo of GPS Skinner (Google :) ) to see if that can find satellites on your 3300, it has a satellite plot/signal display on one of the pages?

As I write I have GPS Skinner and GPS Cycle running together on my 3300/Orbit, I can switch between them and see the GPS Skinner satellite plot, so you could tell definitely whether the problem is with your windows driver or not

I'm sure your problem with GPSCycle is something simple, have you closed down all other running apps, soft reset, set GPSCycle to 'always on' search for data, pressed the 'start' (>) button?

Regards

Kim
[Touch Diamond, MDA Compact IV General] AndyZap:
No problem, I will put this in.
[Touch Diamond, MDA Compact IV General] konsta819:
A-GPS = Bad

Ok,

So I've worked out that A-GPS was definitely the source of my problems. Turning it off has given a smooth trace. It might be worth putting a quick note to that effect on the first post?

I had a suggestion:

The ability to specify the file naming convention - by date, location etc. At the moment I'm struggling to identify individual rides based on the filename.
[Touch Diamond, MDA Compact IV General] cozzykim:
Yes to both of those points A-GPS is Baaaaaddddd :) and a description+date+time based filename would be helpful

@wyro - you *have* got A-GPS disabled haven't you?

Kim
[Touch Diamond, MDA Compact IV General] wyro:
Hi cozzykim

Thanks for the info. I have closed all programs and befor I start GPSCycle I have do a sw-reset.

I never used this tool. And so I sure it was disabled.

The GPS Skinner tool: I see it at the net.

I will try it later (weekend). I hope Andy will program this additional option/funcion. Because, Kompass and TT6 works fine on my p3300.

Thanks a lot to all

cu, wyro
[Touch Diamond, MDA Compact IV General] cozzykim:
Wowee!!

I just downloaded Google Maps for Mobile 2.2.0.20 and I can view .KML files straight from \Internal Storage on the Ignito

@AndyZap,

One of my saved .gcc files shows 'errors reading file' and doesn't display the data on the main screen (but it shows the track in Graph view) is there some way to view/edit/repair it?

Thanks

Kim
[Touch Diamond, MDA Compact IV General] energyx:
Just want to thank you for the tool!!! works wonderful on a german O2 Xda Diamond. Just tracked my way home :) Just 3 Points, as allready request

a kind of "manual adjustment"

it shouldn't be allowed to start the program and Hit stor as kml or gml (or what the files are called) if no route was tracked it just creates a file with no name on the maindrive of the phone

and (maybe someday) also store the hights of the Tracked Points and show them in a 3D Path, or just a 2D path like "from the side" and not only from top ... hope you know what i mean :)

But i like it a lot! really cool....just have to find out how to mount on my bike :D
[Touch Diamond, MDA Compact IV General] AndyZap:
It is likely that the file was simply blank, only the start of the file was written, but no data. And (maybe) the graph might not be cleared from the old display (so you still see the graph). I added a check now so the tool does not save blank files now. You could try to check the size of the file, if it is 4 bytes or around it - then it is blank. Also try to load it after restarting the tool, i.e. making sure that nothing is on display.

To repair the file - please send it to me, if you do not mind - I will have a look.

BTW - thank for the news about Google Maps Mobile - I spent ages trying to get KML loaded into the existing version on Diamond ( and no luck )
[Touch Diamond, MDA Compact IV General] AndyZap:
Thanks for the feedback! - I will fix that.
[Touch Diamond, MDA Compact IV General] cozzykim:
Hi Andy,

The saved file isn't blank, it's about 87k, it loads back into GPSCC and shows a track on the graph page but no mileage or time data on the main page as well as the error message.

It was definitely displaying the details when I stopped the recording and closed the program so maybe it hasn't saved properly?

How can I send it to you?

Kim
[Touch Diamond, MDA Compact IV General] S_Hammer:
Break Button

Hey Andy,

I'm in Australia now, running your fine tool. Can you add a break button in order to pause the collection of data and go on after "you haveleft the building" again. It would also be fine to combine the result of to or more gcc files to one track.

That's just some ideas so if you have some spare time.

Thanks Martin
[Touch Diamond, MDA Compact IV General] BlockbusterF:
Hi,

I love your Tool too. Works excellent!

But one littele question/request: could you please add a 8bit icon? The normal icon with alpha transparency looks ugly on dark backround.

I've tried to replace it with Ressource Hacker, but i get an error when trying to start the program.
[Touch Diamond, MDA Compact IV General] TheSlaYYer:
MP3 playback control / G-Sensor

Unfortunately I don't. I know that some MP3 players out there will allow playack speed adjustment without altering the pitch.

I would imagine that the G-Sensor / Pedometer area isn't too difficult, as mounting the phone on the arm creates a steady swinging action in direct correlation to your pace.

BUT the MP3 adjust side requires several things :-

1) An MP3 player that will adjust playback speed without pitch adjustment. (Many do this now within reasonable limites, but not the built in one).

2) A beat analysis program to establish where possible a number of BPM in the music (easier with dance music etc) - similar algorithm used in all the visualizations for WMP etc.

3) G-Sensor based pace rate analysis.

4) Interface between the two with some adjust parameters from the user.

I think it's pretty complicated! But it would make the diamond a seriously impressive partner to the thousands of runners out there.
[Touch Diamond, MDA Compact IV General] Vassagojay:
Hi Guys

Can someone please post a idiots guide to downloading this software as im a bit of a numpty when it comes to this sort of thing.

Jason :confused:
[Touch Diamond, MDA Compact IV General] Sousa2005:
thisi is normal??

I dont walk in the midlle of the buildings...

have I done something wrong?
[Touch Diamond, MDA Compact IV General] cozzykim:
Hi Jason,

log in to XDA-dev, click on the link in the 1st post of this thread on the ;

GPSCycleComputer_2.29.zip link (or the one for QVGA if you don't have a Diamond)

The zipped folder will download to your PC, extract it with windows (right click the zip folder and click "extract all") the files will be extracted into their own folder, plug your diamond into your USB port and select 'Disc Drive' on the diamond, copy the extracted 'cab' file from your PC to the Diamond by drag n drop, unplug the diamond from the PC, navigate to 'Internal Storage' using the Diamond WM6 File Explorer and click on the saved 'cab' file which will then install on your device.

Once it's installed and working you can delete the 'cab' file from your diamond/PC to save space if you like, (I don't usually)

HTH, Kim
[Touch Diamond, MDA Compact IV General] Blaustein:
Hi sebaseba, you need to compile the whole project. Or use a hex editor and find the unicode string and overwrite it with a shorter or same length.

Your kml file has Placemarks at the end of the file, which for some reasons produce this error. I will correct this after my holiday. In the meantime you can delete the lines between <Placemark> and </Placemark> at the end of the file with a text editor.

Klaus
[Touch Diamond, MDA Compact IV General] sebaseba78:
Ok i'd prefer to use an hex editor but i don't know how find DownloadOsmTile() and MapUtil.cs, where are them?

I tried also to see in hide folders, sorry for my multiple request :-) Unfortunately i'm a newbie and because of this, i don't find the file to edit.

Good Holidays,

Seba
[Touch Diamond, MDA Compact IV General] :
GpsCycleComputer\Utils

line 203 on the published version at .cs file
[Touch Diamond, MDA Compact IV General] Blaustein:
Hi sebaseba,

you should first collect some experience, before you use a hex editor to modify an .exe file. You must know what you can do and what not. And how to find the URL (in unicode) in the exe file.

You can tell me the working URLs you have found, and I will implement them. In the future I will make them all configurable in a xml-file.

Klaus
[Touch Diamond, MDA Compact IV General] sebaseba78:
Thanks, i did it after i saw a tutorial video on youtube, i clearly tried before with a copy of the exe :-)

Seba
[Touch Diamond, MDA Compact IV General] ArmaBene:
Hi Klaus,

to have a better GPS position measurement at low speeds many GPS positions are to be averaged. Anyway at higher speed this should cause some lag "on real time position"...

What do you think about adding the ability to average n1 (respectively n2) GPS measurements at low (respectively high) speeds?

A sort of filter to dynamically set the number of positions to be averaged could be useful.

Another possibility could be to take into account GPS velocity direction: greater (respectively lower) direction changes on consecutive measurements could suggest an increase (resp. decrease) in measurements to be averaged...

Thank You!

Armando
[Touch Diamond, MDA Compact IV General] Blaustein:
Hi Armando,

interesting solution. I will consider a dynamic average setting.

Thanks

Klaus
[Touch Diamond, MDA Compact IV General] ArmaBene:
Hi Klaus,

I gave a look at the code about averaging. I obviously know the source requires more time to be fully understood...

Anyway don't you think that, in averaging code, the "first" of the n samples should be discarded when the last one is added to compute the generic mean value?

CurrentLat = (CurrentLat * (avg - 1) + position.Latitude) / avg;

I think it could be:

CurrentLat = (CurrentLat * avg - firstposition.Latitude + position.Latitude) / avg;

By firstposition I mean a variable (to be added) that stores the first of the n samples used to compute the mean value...

The same sort of changes for CurrentLong, CurrentAlt, CurrentVx, ...

I perfectly know that the "exceeding memory" in this sort of low pass filter doesn't cause problems (the not discarded samples contribute tends to zero) but I'm not sure that this algorithm is better.
[Touch Diamond, MDA Compact IV General] Blaustein:
Hi Armando,

my code is a very simple, effective and well known algorithm. It emulates a hardware low pass filter of first degree (infinite impulse response).

Your approach (finite impulse response) is much more complicated and expensive. For averaging of 10 samples you need to store the last 10 samples in a cyclic array. And at the beginning, if you have less than 10 samples, you must handle it in a different way or you have no result until you have 10 samples. My code works always the same from the second sample and the result is not much worser.

There is a common problem in both algorithms - the delay and it slurs the track at corners. I tried to overcome this by predicting the position of the last (accumulated) samples to the current time by using the speed. But it is not perfect yet - at averaging factors greater 5 you see a noticeable "overshot" at track corners.

Klaus
[Touch Diamond, MDA Compact IV General] ArmaBene:
Hi Klaus,

thank you for your answer.

I agree with you: the FIR filter for my approach requires an array to evaluate the mean value and probably in case of signal lost, to avoid to discard too many samples, a mean value of the "last available" samples (and so also a counter to know how many samples are available) would be required too (I mean as soon as GPS becomes valid again).

So probably too much expensive and with no great improvements.
[Touch Diamond, MDA Compact IV General] markos807:
So,should I use it?
[Touch Diamond, MDA Compact IV General] gera229:
I have sharkie's rom.

When I used to have stock rom, the little red square at the bottom right corner would change to green and GpsCycleComputer would log dots and show speed and distance.. etc.

Now it does not seem to log. It shows GPS numbers that change, but the red square remains red (and Beep at GPS fix does not seem to beep). Also, the speed and stuff does not show.

Do I need to source code too or just the CAB? I have version 4.8 cab installed (no source code zip file).
[Touch Diamond, MDA Compact IV General] Blaustein:
Hi gera229,

cab is enough.

Do you have good GPS receiving conditions? It sometimes lasts several minutes to get a fix (green square).

- Does GPS work with other applications?

- What is displayed in the Info field first line? (e.g. "GPS: On TLLahs 0" capital is important)

- What is displayed in the GPS field?

- Do you have a file "GpsCycleComputer.log" in the application directory (it includes error messages)?

Klaus
[Touch Diamond, MDA Compact IV General] gera229:
My problem was solved. Here is the solution to everyone having this problem. My GPS now turns on green almost instantly.

THIS applies to EVERYONE however, even those without this problem.

There is this app called QuickGPS. (If you do not find this app in start menu -> location then you can find it in the settings quick tab -> location -> Download satellites. (I have Sharkie's Rom).

It downloads GPS satellites and needs to be updated/ downloaded every 7 days for best results.

You click on the app, select the check marks and press download. After it downloads you are set for a nicely working GPS.

(If anyone knew about this, no wonder no one mentioned it. Then I would not have to spend so much time figuring out my problem lol.)
[Touch Diamond, MDA Compact IV General] giasone73:
hi Blaustein !

you are a great for your gcc!! :):) . I have some ideas about it and I hope can explain you.

1) when I stop the tracking and after I start again, it ask me if I want begin from last saved log. Is possible do same when I begin a new log session in some day after I exited from the program? In other words if I start the gcc and I begin the tracking it verify if there is another track saved in same day and ask if I want load it to continue. In this way I can load the distance, the gain and the travel time in main screen.

2) In the arrow screen you display the distance left to the end. Can you show also the altitude gain residual?

3) when I load a track2follow can you show its lenght and the total gain?

4) can you draw the altitude graph of track2follow and my position on it?

I hope dont ask you too mutch :rolleyes:

Thank you

Alfredo
[Touch Diamond, MDA Compact IV General] greenteam:
super fast gps : 1 year ,3 months ,7 days and still nothing
[Touch Diamond, MDA Compact IV General] Blaustein:
Hi giasone,

1) first you must load the track, which you want to continue. Then, if the distance is closer than 1km, GCC asks if you want to continue. Or you use the continue button in menu page to continue unconditionally.

BTW: Currently track logs longer than 18 hours (including pauses) might have errors in time and average speed. I'm working currently on this issue.

2) altitude is not supported on t2f at the moment. But is already on my todo list.

3) is also on my todo list

4) altitude graph of t2f is also on my todo list. I plan to show both lines (red and blue) similar to the map view. Best results would be if x-axis is distance and you start at the same position and follow exact the t2f.

Klaus

---------- Post added at 12:57 AM ---------- Previous post was at 12:56 AM ----------

greenteam, what you are talking about?
[Touch Diamond, MDA Compact IV General] giasone73:
Hi Klaus,

thank you ... I didnt see the Continue button.

I think should be nice if gcc control if a gcc file alredy exists in the same day when start the tracking. Maybe you can put this control as an optional setting in the configuration panel.

In option, when start gcc, it can ask if load the last track recorded and last track2follow until I dont answare "no". I tell you this because often, when I ride with friends, I switch off my pda or because of some fault or because of lost external gps connection (in this case the pda crash and I have to reset it) or to save battery ot to change battery and usually I have little time to reload all.

Alfredo
[Touch Diamond, MDA Compact IV General] Blaustein:
Hi Alfredo,

I understand. I will make a button "restore last session" to restore track-file and t2f. After a crash it will ask to restore.

Klaus
[Touch Diamond, MDA Compact IV General] vvixx:
Unfortunately this link does not work. Can anyone suggest a correct link for mapnik?

I can only work with Osmarender.

Thank you.
[Touch Diamond, MDA Compact IV General] vvixx:
Well... I tried to download some tiles with a browser and it... did work, while the tiles could not be downloaded with the application (download error)! Probably there is a bug in the application.