Increase Default Stride Length from 78 to 115cm

.. 78cm is a typical walking stride length.

.. we need to think about the best way to set this.
This commit is contained in:
Mark Liversedge
2016-06-18 08:54:59 +01:00
parent d5c155b752
commit 544d22f93b
2 changed files with 2 additions and 2 deletions

View File

@@ -838,7 +838,7 @@ void ANTChannel::broadcastEvent(unsigned char *ant_message)
if (fpCount==4) {
// default or get config
double STRIDELENGTH=78; // in cm
double STRIDELENGTH=115; // 1.15m seems to be a common L2 pace stride length (?)
if (parent->devConf) STRIDELENGTH=parent->devConf->stridelength;
// convert to meters

View File

@@ -1192,7 +1192,7 @@ AddFinal::AddFinal(AddDeviceWizard *parent) : QWizardPage(parent), wizard(parent
wheelSizeLayout->addWidget(wheelSizeUnitLabel);
stridelengthEdit = new QLineEdit(this);
stridelengthEdit->setText("78");
stridelengthEdit->setText("115");
QHBoxLayout *stridelengthLayout = new QHBoxLayout;
stridelengthLayout->addWidget(stridelengthEdit);
stridelengthLayout->addStretch();