Skip to content

Commit

Permalink
Changed economy formula
Browse files Browse the repository at this point in the history
Economy formula now based on calories (using energy expenditure for
instantaneous values) instead of heartbeats. Removed energy expenditure
FIT field and economy in cadence field display option.
  • Loading branch information
imgrant committed Jan 27, 2017
1 parent 79a2a09 commit 75ba179
Show file tree
Hide file tree
Showing 6 changed files with 1,789 additions and 2,023 deletions.
2 changes: 1 addition & 1 deletion manifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- This is a generated file. It is highly recommended that you DO NOT edit this file. --><iq:manifest xmlns:iq="http://www.garmin.com/xml/connectiq" version="3">
<!-- // Release config -->
<iq:application entry="FlexiRunnerApp" id="c690fd92d1ea4538b4e2116fc1a4b31b" launcherIcon="@Drawables.LauncherIcon" minSdkVersion="1.3.1" name="@Strings.AppName" type="datafield">
<!-- // Development/beta config
<!-- // Development/beta config
<iq:application entry="FlexiRunnerApp" id="a1b63282d0d7491ab3e8735bc070dd05" launcherIcon="@Drawables.LauncherIcon" minSdkVersion="1.3.1" name="@Strings.AppName" type="datafield">
-->
<iq:products>
Expand Down
30 changes: 6 additions & 24 deletions resources/properties.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@

<properties>
<property id="pTimerDisplay" type="number">0</property>
<property id="pDistDisplay" type="number">0</property>
<property id="pTargetPace" type="number">0</property>
<property id="pDistDisplay" type="number">0</property>
<property id="pTargetPace" type="number">0</property>
<property id="pBottomLeftMetric" type="number">1</property>
<property id="pBottomRightMetric" type="number">0</property>
<property id="pCentreRightMetric" type="boolean">false</property>
<property id="pRoundedPace" type="boolean">true</property>
</properties>

Expand Down Expand Up @@ -38,16 +37,6 @@
precision="0"
dataLabel="@Strings.lEconomyAvgData"
unitLabel="@Strings.lEconomyUnits" />
<fitField id="3"
displayInChart="true"
displayInActivityLaps="false"
displayInActivitySummary="false"
sortOrder="0"
precision="0"
chartTitle="@Strings.lEEChart"
dataLabel="@Strings.lEEData"
unitLabel="@Strings.lEEUnits"
fillColor="#c4540f" />
</fitContributions>


Expand All @@ -57,7 +46,7 @@
<!-- Beta name:
<string id="AppName">Flexirunner Beta</string>
-->
<string id="AppVersion">5.3.0</string>
<string id="AppVersion">6.0.0</string>
<string id="lTimerDisplay">Timer field</string>
<string id="lTimerTimer">Timer</string>
<string id="lTimerMoving">Moving time</string>
Expand All @@ -70,7 +59,6 @@
<string id="lDistLap">Current lap distance</string>
<string id="lDistLastLap">Last lap distance</string>
<string id="lTargetPace">Target pace metric</string>
<string id="lCentreRightMetric">Show economy instead of cadence</string>
<string id="lBottomLeftMetric">Bottom left field</string>
<string id="lBottomRightMetric">Bottom right field</string>
<string id="lAvgPace">Overall average pace</string>
Expand All @@ -85,10 +73,7 @@
<string id="lEconomyChart">Running Economy</string>
<string id="lEconomyData">Economy</string>
<string id="lEconomyAvgData">Avg Economy</string>
<string id="lEconomyUnits"> </string>
<string id="lEEChart">Energy Expenditure</string>
<string id="lEEData">Energy Expenditure</string>
<string id="lEEUnits">kcal/h</string>
<string id="lEconomyUnits">cal kg⁻¹ km⁻¹</string>
<string id="lRoundedPace">Show current pace as Rounded Pace</string>
</strings>

Expand All @@ -110,7 +95,7 @@
<listEntry value="2">@Strings.lDistLap</listEntry>
<listEntry value="3">@Strings.lDistLastLap</listEntry>
</settingConfig>
</setting>
</setting>
<setting propertyKey="@Properties.pTargetPace" title="@Strings.lTargetPace">
<settingConfig type="list" required="true">
<listEntry value="0">@Strings.lAvgPace</listEntry>
Expand Down Expand Up @@ -147,12 +132,9 @@
<listEntry value="8">@Strings.lCalories</listEntry>
</settingConfig>
</setting>
<setting propertyKey="@Properties.pCentreRightMetric" title="@Strings.lCentreRightMetric">
<settingConfig type="boolean" required="true" />
</setting>
<setting propertyKey="@Properties.pRoundedPace" title="@Strings.lRoundedPace">
<settingConfig type="boolean" required="true" />
</setting>
</setting>
</settings>

<bitmap id="LauncherIcon" filename="launcher_icon.png"></bitmap>
Expand Down
Loading

0 comments on commit 75ba179

Please sign in to comment.