Comments (4)
It seems like the Forefunner 610 have generated an invalid value for the FIT type lap_trigger
. Values 0 to 8 are in the specification (manual, time, distance, position_start, position_lap, position_waypoint, position_marked, session_end, fitness_equipment).
You can replace the line (163) with this. At least it will generate a complete tcx file:
triggermet = LAP_TRIGGER_MAP.get(lap.get_data("lap_trigger"), "Manual")
That will mark that lap as manually triggered. I'm not sure if that is a good mapping here though. The valid values for TCX are Manual
, Distance
, Location
, Time
and HeartRate
.
from fit-to-tcx.
Thanks for the reply & fix, @Tigge!
from fit-to-tcx.
I was a bit curious how Garmin would handle this case so I upload this to Garmin Connect and downloaded it again and what their generated TCX files would look like. It can handle and import this type of files and it will generate a trigger with value Manual
.
I'll add a default value like this to all map lookups in a future commit.
from fit-to-tcx.
Yes, that's how I've been handling these interval-files previously. (Exporting them through GC.)
Thanks again for the swift fix.
from fit-to-tcx.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fit-to-tcx.