Giter Site home page Giter Site logo

ambit2gpx's People

Contributors

montant avatar

Stargazers

Jeeve avatar Simon Freytag avatar  avatar  avatar Alexander avatar  avatar Jay Hull avatar Cosmo Catalano avatar Andreas Sandskär avatar Gregg Lind avatar Heikki Virekunnas avatar  avatar

Watchers

rocamador avatar Jeeve avatar Simon Freytag avatar  avatar  avatar

ambit2gpx's Issues

Typo in line 54 on ambit2gpx.py version 1.5

What steps will reproduce the problem?
1. Run the program with "python ambit2gpx.py test.xml"

What is the expected output? What do you see instead?
Expected result: A valid GPX file with "Done." reported to the command prompt.

Actual result: A string of errors leading to "In line 75: undefined symbol 
tmpext". An invalid GPX file is generated.

What version of the product are you using? On what operating system?
version 1.5 on the python script.
Any OS.

Please provide any additional information below.
The cause of the rror is a typo on line 54. there a variable "tempext"is 
defined. It should be "tmpext". Fixing this typo causes the program to run as 
expected.

Regards,
HMP

Original issue reported on code.google.com by [email protected] on 4 Nov 2013 at 4:31

Conversion from sml to gpx do not work on Mac OS

Hi, 

I've tried the ambit2gpx tool for the first time today, but I did not manage to 
convert correctly my sml file.
The conversion seems to be ok, as I do not see any error messages, and I get an 
output gpx file generated. But this output file contains only the GPX 
headers... See files attached in order to reproduce the problem

My MAC OS X version is 10.7.5 (it is a Macbook Pro, 13")
Python version is 2.7.1 (it was already installed)
What is the expected output? What do you see instead?

I tried with ambit2gpx clone version, as my moveslink app has been updated 
recently (version 1.2.8)


Original issue reported on code.google.com by [email protected] on 25 Aug 2014 at 2:51

  • Merged into: #7

Attachments:

No HR extraction for ambit3 sml file

I'm using ambit3 with ambit2gpx-1.7.py (python27 on windows7).
The generated gpx file includes cadence, temperature, speed... but no Heart 
Rate data.
Can you fix it?
thanks
Cyrille

Original issue reported on code.google.com by [email protected] on 23 Dec 2014 at 9:30

Defect fix in 1.6 - cadence. Tested additional feature "Power"

What steps will reproduce the problem?
1. Run against Ambit 2 cycling xml with Cadence (Bike Pod) and BikePower (Power 
Pod)
2.
3.

What is the expected output? What do you see instead?
Cadence information not in output gpx.  Incomplete development!?
Power information not in output gpx - I have developed a working (for Strava) 
amendment

What version of the product are you using? On what operating system?
ambit2gpx_1.6  Mac OSX 10.9.2

Please provide any additional information below.

I have debugged and added both features in a manner compatible with Strava 
upload, following the coding practices and conventions in version 1.6.  This 
modified version is attached.

Example track point segment in new output:

<trkpt lat="12.123456" lon="-0.123456">
  <ele>45</ele>
  <time>2014-03-05T10:18:32Z</time>

<extensions> 
  <gpxtpx:TrackPointExtension> 
    <gpxtpx:hr>119</gpxtpx:hr>
    <gpxtpx:atemp>11.15</gpxtpx:atemp>
    <gpxtpx:cad>88</gpxtpx:cad>
  </gpxtpx:TrackPointExtension> 
  <power>140.0</power>
</extensions>

</trkpt>

Original issue reported on code.google.com by [email protected] on 5 Mar 2014 at 4:00

Attachments:

Documentation/unit testing

Hi,

I have a Suunto watch and their website has been down for a couple of days - so 
I was thinking of using this software. Having read the code I noticed that the 
project repository is lacking any sample files or unit tests. Considering the 
various people patching/forking the project this seems like a necessary 
addition. I would also be interested in contributing, but how would I know if I 
had broken something if there are no tests?

While the code is mostly self-documenting it does contain magic conversions 
such as hr*60 + 0.5.... this is not documented, tested or extracted to a method 
in its own right. I am assuming the 60 represents sample per second into sample 
her minute? But what is the 0.5?

I may have written this as: ToMinuteSample( secondsValue ) then inside I may 
have written:

secondsPerMinute=60
strangeConst = 0.5

What do these numbers mean? 80 / 100...

if self.__nb_samples_parsed % 100 == 0:
            sys.stdout.write(".")
            if self.__nb_samples_parsed % (80*100) == 0:
                sys.stdout.write("\n")

There must be a lot you've learnt about the SML file format which the community 
could benefit from if it was written down or better documented etc?

Alex

Original issue reported on code.google.com by [email protected] on 23 Dec 2014 at 9:11

MemoryError

I have trouble with a file convert, I don't really understand from where does 
the problem come from.

Here is the copy of the error returned :

C:\python27>python ambit2gpx.py 6666.sml
Parsing file 6666.sml
Traceback (most recent call last):
  File "C:\Python27\lib\xml\dom\expatbuilder.py", line 223, parseString parser.Parse(string, True)
  File "C:\Python27\lib\xml\dom\expatbuilder.py", line 751, in start_element_handler
    node = minidom.Element(qname, uri, prefix, localname)
MemoryError

I hope it's not an issue from my .sml, and I hope someone will be able able to 
help me.

Thx.

I would like to attach my .sml, but its size is 42Mo ...

Original issue reported on code.google.com by [email protected] on 29 Jun 2015 at 6:44

Ambit2gpx stopped working with latest Suunto Update

In August 2014, Suunto forced an update to their software and the output is now 
in a file called .sml instead of .xml  Ambit2gpx no longer outputs anything 
meaningful even if the new file is renamed as .xml.  Attached are 3 files:
1. A track in Pre-August format .xml which processes fine on ambit2gpx. 
2. The exact same track in Updated format .sml which does not process on 
ambit2gpx.
3. A copy of the ambit2gpx .gpx output when processing the .sml format.  Note, 
regardless of input .sml file size, all output gpx files are 571 bytes long.

If one compares the .sml and the .xml files one can see that there are header 
differences ... and probably some data differences as well.  

Can we have an updated ambit2gpx ???  1.7 ???

Thanks, 
Doug 

[email protected] 


Original issue reported on code.google.com by [email protected] on 20 Aug 2014 at 5:43

Attachments:

syntax error

What steps will reproduce the problem?
1. launch python ambit2gpx.py log-....
2. error as below
 C:\Python32>python.exe ambit2gpx-1.4.py
  File "ambit2gpx-1.4.py", line 162
3.

Must be pretty basic error, but i am not familiar with python ...
Thanks for your help 



Original issue reported on code.google.com by [email protected] on 18 Sep 2012 at 12:46

Not working anymore, since update of movescount/moveslink2 may 1st

What steps will reproduce the problem?
1.conversion is not working at all

What is the expected output? What do you see instead?
the outcome is a *.gpx file with the size of 1kb and no trackdata

What version of the product are you using? On what operating system?
1.4 on windows 7

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 3 May 2013 at 5:41

Can you Add Cadence & Temperature (both available)

The HR is added as an extension.
Is it possible to add the Temperature and cadence as well.

Example GPX block is below:
        <extensions>
          <gpxtpx:TrackPointExtension>
            <gpxtpx:atemp>25.0</gpxtpx:atemp>
            <gpxtpx:hr>144</gpxtpx:hr>
            <gpxtpx:cad>71</gpxtpx:cad>
          </gpxtpx:TrackPointExtension>
        </extensions>

Original issue reported on code.google.com by [email protected] on 7 Aug 2012 at 3:09

No lap data

What steps will reproduce the problem?
1. I run the script
2. I open the gpx
3. I see all data correctly, but no lap (split) data

What is the expected output? What do you see instead?
I expect to see lap data. I see a single lap.

What version of the product are you using? On what operating system?
Tried all available versions. Same thing. Windows 8.1

Please provide any additional information below.

Thanks!

Original issue reported on code.google.com by [email protected] on 2 Jun 2015 at 2:11

Indoor sport conversion fails.

What steps will reproduce the problem?
1. Record an indoor sport + HR data with Ambit
(Sisäharjoittelu in finnish)
2. Run the script.

What is the expected output? What do you see instead?
Larger file. Result file is 1kb:

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>

<gpx 
xmlns="http://www.topografix.com/GPX/1/1"
xmlns:gpxtpx="http://www.garmin.com/xmlschemas/TrackPointExtension/v1" 
creator="ambit2gpx" version="1.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.topografix.com/GPX/1/1 
http://www.topografix.com/GPX/1/1/gpx.xsd">
 <metadata>
    <link href="http://code.google.com/p/ambit2gpx/">
      <text>Ambit2GPX</text>
    </link>
   </metadata>
  <trk>
    <trkseg>  


    </trkseg>        
  </trk>
</gpx>

What version of the product are you using? On what operating system?
Version: ambit2gpx-1.5.py, Python 2.7.4, Windows 7 64-bit.

Please provide any additional information below.
Tried with different parameters, same result.
Attaching the Ambit xml file.

Original issue reported on code.google.com by [email protected] on 21 May 2013 at 7:59

Attachments:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.