GithubHelp home page GithubHelp logo

helderlopes / mrc_creator Goto Github PK

View Code? Open in Web Editor NEW
17.0 2.0 1.0 644 KB

indoor cycling workout creator. It generates .mrc, .erg, .zwo and .fit files from an specific text input file.

License: MIT License

C++ 99.88% C 0.12%
mrc ftp erg zwo fit garmin garmin-sdk fit-sdk zwift cycling

mrc_creator's Introduction

MRC Creator

Indoor cycling workout creator. It generates a .mrc and a .fit file from an specific text input file.

How to use it

  • Execute MRC_creator.exe

  • Select the folder with the .txt workouts.

  • Insert your FTP (default: 200W)

  • Insert the power offset that will be shown on your Garmin head unit (this is the limit between the power target. e.g. a 10W power offset will generate an interval with limits from X-10 to X+10 Watts).

  • Set Checkboxes for the outputs that you want. OBS: FIT for ANT+ FE-C is used if you want to use your garmin head unit to control an interactive trainer (this option will set the power offset to zero).

  • Click Generate! PS: You just need to configure it once. Afterwards, everything is saved on your windows registry.

  • Use .mrc (it already come with laps between steps) and/or .erg files on GoldenCheetah, or another software that accepts it (e.g. TrainerRoad).

  • Use .fit files on your Garmin device (if it accepts .fit file workouts). Just plug your device on computer and paste the .fit file on the Newfiles folder.

  • Use .zwo files on Zwift. To do the workout, drag the .zwo file into the Zwift workouts directory (\Documents\Zwift\Workouts).

  • The software also creates a .csv with all workout data relative to power (NP, TSS, IF, work, avgPower, etc).

Input File Format

The input file have the same format as the one used in TrainerDay

You can even copy/paste your workouts from TrainerDay to a .txt (it work backwards too).

The format is simple. It consists of two or three (optional) values per line.

The first value is the time of step in minutes.

The second value is the FTP Target (in % FTP).

The third value is optional and is used to create a Ramp from previous value to this one.

Example:

5	40

5	40	70  "This is a ramp from 40 to 70% ftp"

5	70

20	90

5	40

Note that the second line creates a ramp from 40% ftp to 70% ftp during the 5 min step time.

You can also add descriptions to the step, just like the second line.

The other steps have just one FTP Target.

Samples

The folder "samples" contain some workout samples. Their file name describes the workout type.

The "warmup.txt" also has descriptions in some steps.

Output Files Description and Documentation

MRC and ERG File description

FIT File description and SDK

ZWO File description

mrc_creator's People

Contributors

helderlopes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

katzsanya

mrc_creator's Issues

I'm having trouble building this:

I get this error:

Error C1083 Cannot open include file: 'fit_encode.hpp': No such file or directory

Can you please help?

Thanks,

Jonathan

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.