Fit
Fit is a small crate used for reading and decoding FIT files generated by various sports devices. Currently it has only been designed specifically to read files produced by Garmin Edges 1000 and 520, and a Wahoo Elemnt. It will probably mostly work out of the box with other file sources, but will probably not work 100% perfectly unless it's a Garmin cycling computer.
It currently does not support FIT files using custom developer fields.
Installation
[]
= "0.4"
Usage
extern crate env_logger;
extern crate fit;
use PathBuf;
use Message;
A typical Message
will look something like this:
Message
A Value
enum is a simple wrapper around most rust primitive types, such as u16 or i64 or f32.
Some things to watch out for:
- speed is recorded as m/s, rather than kph.
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/richardbrodie/fit-rs.
License
The gem is available as open source under the terms of the MIT License.