MTK logger. Create separate tracks

View: New views
4 Messages — Rating Filter:   Alert me  

MTK logger. Create separate tracks

by John Doe-38 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
This is a small enhancement to the MTK logger to
create a new track segment each time the logger is turned on.
Each segment will be named 'track-1', 'track-2', ...
All tracks end up in the same (gpx) file.

There is no filtering to remove empty/short tracks which is
normally created while downloading data from the logger device.

Regards
Per B


     

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Gpsbabel-code mailing list  http://www.gpsbabel.org
Gpsbabel-code@...
https://lists.sourceforge.net/lists/listinfo/gpsbabel-code

mtk_track_split.patch (6K) Download Attachment

Re: MTK logger. Create separate tracks

by Robert Lipe-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



On Thu, Jul 17, 2008 at 4:27 PM, John Doe <e4borgen@...> wrote:
,
This is a small enhancement to the MTK logger to
create a new track segment each time the logger is turned on.


This looks good to me.  It does break the test suite, though.  Please review the output of 'testo' and, if necessary, provide tweaked reference files if you think the changes are intentional.

Thanx,
RJL

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Gpsbabel-code mailing list  http://www.gpsbabel.org
Gpsbabel-code@...
https://lists.sourceforge.net/lists/listinfo/gpsbabel-code

Re: MTK logger. Create separate tracks

by John Doe-38 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Whoops,
I almost suspected that there would be problems.
Adding name and changing comments would obviously change the
output.
I also found a small bug in the code.
Attached is complete patch including changes to mtk & m241 reference
output.

/Per


> > ,
> > This is a small enhancement to the MTK logger to
> > create a new track segment each time the logger is
> turned on.
> >
>
>
> This looks good to me.  It does break the test suite,
> though.  Please review
> the output of 'testo' and, if necessary, provide
> tweaked reference files if
> you think the changes are intentional.
>
> Thanx,
> RJL

     

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Gpsbabel-code mailing list  http://www.gpsbabel.org
Gpsbabel-code@...
https://lists.sourceforge.net/lists/listinfo/gpsbabel-code

mtk_track_split2.patch (8K) Download Attachment

Re: MTK logger. Create separate tracks

by Robert Lipe-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



On Sat, Jul 19, 2008 at 4:56 PM, John Doe <e4borgen@...> wrote:
Whoops,
I almost suspected that there would be problems.
Adding name and changing comments would obviously change the
output.
I also found a small bug in the code.

That is a worthy goal.  This change looks right to me, so I've applied it.  Thanx.
 
Attached is complete patch including changes to mtk & m241 reference
output.

The reference stuff may seem like busy work but the reality is that none of us has all the hardware on all the various OS/compiler combinations out there.   These test suites really do help ensure that someone running (OpenBSD|Linux|Windows 2000|UnixWare|whatever-the-heck-else) see the same features/bugs that we, the developers do.

Thanx for the help in keeping that shored up.

RJL

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Gpsbabel-code mailing list  http://www.gpsbabel.org
Gpsbabel-code@...
https://lists.sourceforge.net/lists/listinfo/gpsbabel-code
LightInTheBox - Buy quality products at wholesale price