Adding Heart Rate Data Capture

527 views
Skip to first unread message

Robert Grant

unread,
Mar 18, 2011, 3:22:53 PM3/18/11
to Osmand
Hi Members,

OsmAnd does wonderful things already for cycling, but I'd like to see
heart rate displayed and recorded. The GPX capture already includes
route, elevation, and speed that I view using RidewithGPS, a free
online program that will also display heart rate and cadence streams
if present. Since bluetooth heart rate monitor chest straps are
already available from Polar and Zephyr, several apps have recently
appeared (Endomondo, Sportstracker) that can capture this data stream.

Would adding this functionality to the display and voice file be
possible? I suppose I could learn how to code, but need some
direction. Thank you.

Trevor Holland

unread,
Mar 18, 2011, 3:37:54 PM3/18/11
to osm...@googlegroups.com, Robert Grant
You might like to know that my Xperia X8 Android phone just got a rom update to include ANT+,  which seems to be a wifi based system for connecting heart rate monitors etc to smartphones.

Maybe watch out for a rom upgrade to other phones too (if they don't already have ANT+), or maybe Froyo and Gingerbread Android roms already have ANT+ support. Does anyone here know if this be true?

ANT+ may be an easier way to integrate the bio-physical streams into OsmAnd gpx files.
--
Trev Holland
+61 403 078 661
www.hypertrike.org
LoGo "Courier" # US-051
     .-.
     /v\    L I N U X
    // \\  >Phear the Penguin<
   /(   )\
   ^^-^^

Robert Grant

unread,
Mar 18, 2011, 4:15:27 PM3/18/11
to Osmand
Trevor,

You are quite fortunate to have that capability. HTC, a major sponsor
of pro cycling and maker of my phone, does not produce any consumer
oriented ANT+ Android phones. I'd love to see a firmware upgrade or
inclusion in the next Android OS feature set, but for now I will
pursue the Bluetooth option for this heart rate monitor concept.

On Mar 18, 12:37 pm, Trevor Holland <trevor.holl...@gmail.com> wrote:
> You might like to know that my Xperia X8 Android phone just got a rom update
> to include ANT <http://www.thisisant.com/ant/ant-in-sport>+,  which seems to
> be a wifi based system for connecting heart rate monitors etc to
> smartphones.
>
> Maybe watch out for a rom upgrade to other phones too (if they don't already
> have ANT+), or maybe Froyo and Gingerbread Android roms already have ANT+
> support. Does anyone here know if this be true?
>
> ANT+ may be an easier way to integrate the bio-physical streams into OsmAnd
> gpx files.
>

Trevor Holland

unread,
Mar 18, 2011, 4:20:33 PM3/18/11
to osm...@googlegroups.com
Hmmm ... So that answers my question about it being part of Froyo and Gingerbread roms.

I guess it also means there won't be much incentive to make OsmAnd "aware" of it. Unless someone writes a little app to enable the ANT+ standard protocols, a bit like we use the GPS Status app to see what's happening "beneath OsmAnd when we run it.

Robert Grant

unread,
Mar 18, 2011, 4:53:24 PM3/18/11
to osm...@googlegroups.com

Check out MicroTracks, an app that couples to Google's my tracks. It appears to have both Bluetooth and ANT+ capability.  Could this work with OsmAnd or could both sensors be designed into something similar to the GPS status feature?

On Mar 18, 2011 1:20 PM, "Trevor Holland" <trevor....@gmail.com> wrote:

Trevor Holland

unread,
Mar 18, 2011, 5:22:57 PM3/18/11
to osm...@googlegroups.com
WOW!
Doesn't MicroTracks cover it pretty well, assuming it creates a gpx file when it runs? Why not "untick" the GPX logging feature in OsmAnd and let microtracks handle it.
 
For users that have plenty of processor speed and storage they could capture two gpx tracks, one from OsmAnd and one from "MT"

It's still early morning where I am (dark outside!) but I'll certainly test it with OsmAnd later on today (I won't bother with "My tracks" during testing.

I'm in the process of "handing down" my Xperia X8 and commissioning my brand new Ideos X5 so was planning to do testing today anyway. Very brief tests of it with Osmand yesterday were not good ... problems with the pinch-zoom  big screen in my pocket, I think. Obstruction of the GPS antenna? My Xperia X8 worked fine, although even it would have gaps in the GPX file sometimes. So two apps saving GPX wil be a good way to chase down whether its the app(s) that are "clipping" the gpx data, or the gps losing signals.

I doubt my trusty old Xperia X8 would have enough processor speed to answer the question but the Ideos X5 with Froyo seems to be at least twice as fast (But no ANT+, probably, only Bluetooth).


On 19 March 2011 04:53, Robert Grant <rgran...@gmail.com> wrote:

Check out MicroTracks, an app that couples to Google's my tracks. It appears to have both Bluetooth and ANT+ capability.  Could this work with OsmAnd or could both sensors be designed into something similar to the GPS status feature?

On Mar 18, 2011 1:20 PM, "Trevor Holland" <trevor....@gmail.com> wrote:



Robert Grant

unread,
Mar 18, 2011, 5:49:31 PM3/18/11
to osm...@googlegroups.com
Sounds like you've got everything you need for a proper test, i.e., ANT+ sensors for heart rate, cadence, speed, a smartphone with ANT+ reception, and the necessary apps.  I only have one ANT+ sensor for speed, but no ANT+ reception with this HTC myTouch 4G (T-mobile).  Let me know your test results.  Thanks.
--
Robert Grant

Trevor Holland

unread,
Mar 18, 2011, 6:10:39 PM3/18/11
to osm...@googlegroups.com
Apologies for misleading anyone ... but the only thing ANT+ that I have is the freshly updated Xperia X8.
I just thought that we needed to be aware that ANT+ is being pushed out as an upgrade to at least some phones, and this might impact what we want to do with OsmAnd.

What I'll be testing soon (dawn is breaking now)  :) is GPX file integrity in my new Huawei Ideos X5, and, thanks to Robert's knowledge of the Market, possibly saving two or more gpx tracks at the same time.

I've had occasional problems with gpx tracks for a long time (October last year), mostly my own fault ("operator error") such as forgetting to switch off gpx logging in Osmand's "monitoring" menu then walking inside a building for an hour or so then getting funny results when I go back outside and start pedaling again.  ;)

Funny that I hadn't thought of downloading a separate app just for gpx tracking, and this from me as a passionate supporter of Linux where the main design ethos is not to bloat applications with many features that most don't use, but make a modular environment where users install just the things they want and no more.

Can't wait for full daylight to try augmenting Osmand with something other than just the "GPS Status" app. :)

Robert Grant

unread,
Mar 18, 2011, 6:50:01 PM3/18/11
to osm...@googlegroups.com

If you can somehow merge MT into OsmAnd or run both simultaneously that would be useful info. Have a good ride.

Robert Grant

unread,
Mar 18, 2011, 8:24:18 PM3/18/11
to Osmand
Took me awhile to fathom the import of your Linux anti-bloatware
comments, but I get your drift: just run three apps at once. Track
and record with MyTracks and MicroTracks, then guide with OsmAnd.
Compare and contrast route captures, if desired, or just leave GPX
saving off in OsmAnd. MyTracks needs data connectivity to display a
map, but who needs that if you're using OsmAnd? MyTracks will record
tracks even without map data displayed, MicroTracks will add to this
recording heart rate from a Zephyr Bluetooth HRM, or speed, heart
rate, and cadence from ANT+ sensors.

Brilliant! Just need a Zephyr Bluetooth heart rate strap for the
added HRM function or an Android phone with ANT+. This data should
export to RidewithGPS or some other tracking program. Cheers.

On Mar 18, 3:50 pm, Robert Grant <rgrant51...@gmail.com> wrote:
> If you can somehow merge MT into OsmAnd or run both simultaneously that
> would be useful info. Have a good ride.
> > On 19 March 2011 05:49, Robert Grant <rgrant51...@gmail.com> wrote:
>
> >> Sounds like you've got everything you need for a proper test, i.e., ANT+
> >> sensors for heart rate, cadence, speed, a smartphone with ANT+ reception,
> >> and the necessary apps. I only have one ANT+ sensor for speed, but no
> ANT+
> >> reception with this HTC myTouch 4G (T-mobile). Let me know your test
> >> results. Thanks.
>
> >> On Fri, Mar 18, 2011 at 2:22 PM, Trevor Holland <trevor.holl...@gmail.com
> >>> On 19 March 2011 04:53, Robert Grant <rgrant51...@gmail.com> wrote:
>
> >>>> Check out MicroTracks, an app that couples to Google's my tracks. It
> >>>> appears to have both Bluetooth and ANT+ capability. Could this work
> with
> >>>> OsmAnd or could both sensors be designed into something similar to the
> GPS
> >>>> status feature?
> >>>> On Mar 18, 2011 1:20 PM, "Trevor Holland" <trevor.holl...@gmail.com>

Robert Grant

unread,
Mar 20, 2011, 1:38:19 PM3/20/11
to Osmand
This discussion centers on adding functionality to OsmAnd by including
additional sensor capability such as Bluetooth or ANT+.

Robert Grant

unread,
Mar 20, 2011, 1:45:33 PM3/20/11
to Osmand
I have since realized that I can export data from both an OsmAnd gpx
track and a Sigma ROX 9.0 Bike Computer slf file into the same
analysis program. Although I cannot merge this data into one file, I
am at least able to view heart rate, speed, elevation, and track with
one piece of software. Check runningfreeonline.com if interested.
Reply all
Reply to author
Forward
0 new messages