Domestique Hub
Home › Blog › Group rides · peloton tracking
Group rides · peloton tracking

Peloton tracking: every rider’s position in the pack, live and after the ride

· 7 min read

On a group ride, Domestique Hub places every rider in the pack in real time — first, second, third, the gap in metres to the wheel ahead, who is on the front and who has been dropped — and keeps it after the ride as a report of who did the work. Here is how the positions are worked out, what you see while you ride, and, at the end, a sample report for a whole ride.

Five road cyclists in a tight paceline on a rural road, the lead rider working on the front
Who is on the front, and for how long, is the question the feature answers. (Illustration.)
The Peloton page during a ride: seven riders on one front-to-back line with the leader tagged, and % time in lead bars below
The Peloton page: the pack on one line, front at the top, and each rider's share of time on the front.

What you see while you ride

The live map with the group strung along a coastal road
The same riders on the map page.

How a rider gets a place

Diagram: each phone's GPS fix and its Bluetooth ranges to teammates are fused on the server, then riders are ordered along the pack's direction of travel every two seconds
GPS places the group on the road; phones ranging each other place riders within it.

GPS alone is not enough. A phone's fix is good to about five metres, which is the whole depth of a tight group. Two riders on each other's wheel can swap places on the map just from GPS noise.

So the phones measure each other. Every phone in the ride broadcasts a short Bluetooth signal and listens for its teammates'. Signal strength becomes a distance, filtered so a body blocking the signal for a moment is ignored, and each distance carries its own error bar — a range from two metres away is trusted more than one from twenty. The other phone's transmit power differs from handset to handset, so the app measures it against GPS when riders are far enough apart for GPS to be the better instrument.

The server fuses the two. Each rider's GPS fix and their ranges to teammates are combined, each weighted by how much it is worth. The correction is capped, so one bad range cannot move a rider across the road.

Then the pack is put in order. Every two seconds, on the server's own clock, the riders are laid along the pack's line of travel: the front rider first, each rider's distance along that line, and the gap to the rider ahead. The direction of travel is measured from how the whole group moved rather than read off a phone's compass, which is missing on the web and unreliable everywhere else.

What is kept, and what is not

Those two-second snapshots are saved for the ride. Four things are deliberately left out: a rider on their own (it takes two to have an order), a group standing still (a café stop is not twenty minutes on the front), the first minute of anything, and the team car.

The report after the ride

Open Pack dynamics from the activity page of a group ride, or from the Live tab, and you get one page per ride:

Sample report: a six-rider club ride

This is what the report looks like for a 23 km club loop with 684 m of climbing — six riders, an hour and a quarter together. It was rendered by the app from a simulated ride on a real surveyed road, with invented riders.

Pack dynamics report: an elevation profile coloured by who led each part of the road, the length of the group over time peaking at 156 m, and a table of six riders with average position, time on the front and max gap
The Pack dynamics report for the sample ride.

Reading it from the top:

RiderAvg positionOn the frontMax gap
Omer2nd34:5011 m
Tal2nd22:4011 m
Yoav3rd3:4012 m
Dana (you)4th7:4011 m
Noa5th3:2012 m
Shira5th2:50134 m

Getting started

  1. Start a ride from the Live tab; the rest of the group joins it from the lobby.
  2. Add the Peloton page, or the position fields, to your ride screen.
  3. After the ride, open Pack dynamics from the activity.

Phone-to-phone ranging needs the installed app on iPhone or Android; on the web, positions come from GPS alone. If somebody in the group has a Garmin Varia, its car warnings reach every rider too. For the story behind the feature, see who did the work?

Questions riders ask

How does the app know the order of riders in a group?
Each phone sends its GPS fix and its Bluetooth distances to nearby teammates. The server fuses them, weighting each by how accurate it is, and every two seconds lays the riders along the pack’s direction of travel: first, second, third, with the gap to the wheel ahead.
Is GPS accurate enough to tell who is on whose wheel?
Not on its own — a phone’s GPS is good to about five metres, the whole depth of a tight group. Phone-to-phone Bluetooth ranging sharpens it, and the report says what share of positions were measured that way.
What does the after-ride report show?
The road you rode coloured by who was leading each part of it, how long the group was over the ride, and a table of each rider’s average position, time on the front and biggest gap.
Does every rider need the app?
Every rider who should appear in the pack needs the app on their phone and must join the live ride. Bluetooth ranging needs the iPhone or Android app; in a browser positions come from GPS alone.

Try it with your club

Domestique Hub is free on iPhone and Android — every feature, for every member.

Get it on iPhone Get it on Android About live group rides