Hello all,
I'm really glad I found this group since I have a Garmin HRM and speed & cadence sensor. In the end, what I want to do is display my speed, cadence, heart rate, and power output on my bike trainer; I have the Kinetic Road Machine, so there is a calibration for power vs. speed.
Right now I'm having issues getting the demos to work. I don't have a background in programming besides Matlab. I've been playing around with Python in my free time, but for the most part I am completely new to this.
I'm running Windows 7 64 bit with 32 bit Python 2.7.3 installed. I installed python-setuptools as well as minGW32 as the compiler since Windows 7 has compiler issues due to the newer framework. I downloaded the files from
https://github.com/mvillalba/python-ant and ran "python setup.py install" from that directory. I didn't throw any errors during the install, so it looked fine to me, but when I run config.py I get the following error.
C:\Users\Matt\Desktop\python-ant-develop\demos\ant.core>python config.py
Traceback (most recent call last):
File "config.py", line 15, in <module>
LOG = log.LogWriter()
File "C:\Python27\lib\site-packages\ant-develop-py2.7.egg\ant\core\log.py", li
ne 78, in __init__
self.open(filename)
File "C:\Python27\lib\site-packages\ant-develop-py2.7.egg\ant\core\log.py", li
ne 92, in open
self.fd = open(filename, 'w')
IOError: [Errno 22] invalid mode ('w') or filename: '2012-11-10T12:05:03.615000.
ant'
Does anyone have an idea as to what the problem is? Thank you in advance.
-Matt