openambitproject / openambit

openambit
280 stars 82 forks source link

Lap detail (running) #36

Closed funderella closed 10 years ago

funderella commented 10 years ago

As discussed on forum (http://openambit.org/forums/topic/lap-detail-running/), when I post a move via Moveslink I get Autolap detail. I do not get AutoLap detail via OpenAmbit.

Files at the gist below show (1. openambit log, 2. movescount XML). Clearly there is a difference but these files are NOT equivalent - it is not obvious if they should be as I dont see any reference to an XSD.. anyway, hopefully it helps, or at least is a pointer to the potential benefit of aligning the output.

https://gist.github.com/funderella/9765548

svenstorp commented 10 years ago

Thanks!

I would not expect them to be equal. Initially I thought it would be feasible to keep them equal for easier comparison, that is why they are "pretty similar". Unfortunately it turned out that moveslink makes a bunch of strange conversions of the values, only messing up the original values. And in addition to that the XML file from moveslink isn't even in the same format as the data finally sent to movescount...

Anyhow, the lap details itself seems to be read out fine in openambit, so I guess we are "only" not sending the correct format to movescount.

risbac commented 10 years ago

I checked the two xml structure. On the moveslink file, there is an "Events" tag wrapping the "Lap" one. It's not present in the OpenAmbit log. Wouldn't it be the reason why it's not working ?