Big Ring Indoor Video Cycling can be used in combination with a bicycle, indoor trainer and ANT+ power, cadence or heart rate sensors.
An example video, with a slightly older GUI can be seen here on Youtube.
Goal
The goal for this program is to be an almost complete replacement for the
"real life video" cycling programs that are offered by
Tacx, Elite and
CompuTrainer.
Using an ANT+ FE-C Smart Trainer, slope feedback is provided. Without an smart
trainer, no feedback can be provided. In that case, the cyclist will have to
change power by gearing up or down and cycling faster or slower.
Current Status
Indoor Cycling currently does the following:
Works on Linux & Windows
Get information from ANT+ Sensors
ANT+ FE-C Smart Trainers.
Power meters
Cadence sensors (including cadence from power meters)
Speed sensors
Combined Cadence & Speed Sensors
Heart rate sensors
Show current values for:
Power, directly measured from Power meter or derived from speed and power curve of trainer
Cadence
Heart Rate
Play a Real Life Video with video frames mapped to the distance
the cyclist has travelled. The distance is determined by calculating
(approximating) the speed of the cyclist several times per second,
and changing the travelled distance according to the speed.
Dependencies
Indoor Cycling uses the following components to work:
ANT+ Sensors. I use a Power2Max power meter
and O-Synce and Garmin heart rate straps. Also, I use an Elite Real Turbo Muin B+ Smart Trainer.
An ANT+ USB stick.
I have the USB 1 variant from Garmin and a USB 2 from Suunto, the MoveStick Mini. The Suunto MoveStick Mini is internally just a Garmin USB 2 Stick, so that one should also work. In fact, I also have an Elite ANT+ stick, which again is just a Garmin USB2 stick in disguise.
Qt 5.3. This library is used throughout the program.
libusb for handling of the usb device. On Ubuntu, installing libusb-1.0-0-dev will install libusb. Version 1.0 is used on Linux. The standard version that is used on Windows
for ANT+ is libusb-win32, which is based on libusb-0.1. Because of this, internally the API of libusb-0.1 is used. On Linux the source of libusb-compat is included to make a bridge from the libusb-0.1 API to libusb-1.0.
An OpenGL capable system for the graphics.
Limitations
For ANT+ FE-C, no calibration support.
No opponents or riding against earlier rides.
Building
Create a build directory, for instance next to the source directory.
Run qmake from the build directory.
make
the indoorcycling1 executable will be located in the bin/ directory inside the build directory.
File/Device Permissions
To be able to send data to the ANT+ USB sticks, the user needs permissions. On Linux systems with udev, this can established by putting the following rules in the udev configuration.
On Ubuntu, a superuser can put a file with the lines above in /etc/udev/rules.d.
Usage
Run indoorcycling2\bin\big-ring program. The program will start and try to find your videos. If no video folder has been configured yet, the program will ask you to configure it. The files will be parsed and when ready, the list of videos will be populated. Using the preferences window, the user can configure the ANT+ sensors. Choose a video, and a course.
Roadmap
Support OS/X.
Improve user management.
Many more.
License
Big Ring Indoor Video Cycling is distributed under the GNU General Public License, version 3 or later. See LICENSE.txt for details.