Swimming app for the 230/235/260?

Former Member
Former Member
With these new devices soon to arrive, what do you think the likelihood that a swimming app can be made, similar to the one currently on the vivoactive?

Is this possible with the current hardware and platform? Or with the coming updates to the platform in 2016?

Thanks.
  • Former Member
    Former Member over 9 years ago
    Thank you, Nikeow and Brandon, for your responses! Please forgive my lack of deep understanding here, but I wonder, if the user were to enter a pool-length value, and perhaps a stroke-type, might the task of calculating distance, speed and SWOLF be more attainable? I read in a different post that Garmin's method of calculating a turn was to note the pause in strokes that occurs after a push-off. If pool length, number of turns, time, and number of strokes are known, that seems to cover distance, speed and SWOLF... is it difficult to interpret accelerometer feedback to register a stroke? I appreciate any developer interest in this issue, and am also glad that Garmin may offer this feature!

    Thanks!
  • Former Member
    Former Member over 9 years ago
    To clarify, we are working to enable the swim metrics that are in the ActivtyInfo object, but have not been functional to this point. These values (Swolf/Stroke Type (last length) and Average Stroke Length (last interval)) will be functional for the first time in a future SDK release for devices that generate those values. However, if a device does not support these metrics, ConnectIQ will be unable to access them. Devices that do not support Pool Swim will not be able to provide those values to ConnectIQ.

    It may or may not be technically possible to develop a ConnectIQ pool swimming app for devices that do not support it natively. If it is possible, it would probably be exceptionally difficult, with the limited processing capability of ConnectIQ.
  • Former Member
    Former Member over 9 years ago
    I see... thank you, Brandon. It appears I may have been doing some wishful thinking. Even the most basic metric (time and distance) would be great to have.
  • Former Member
    Former Member over 9 years ago
    Hi
    I've been working on such an app for swimming (on FR230).
    Pretty simple :
    - You can start an activity, pause it
    - You add laps using the Back button (shows the last lap time and distance)
    - You can of course stop, save or discard

    It is using Toybox::ActivityRecording, and subclass Session to record the FIT file.
    It also uses Toybox::Activity::Info to retrieve the elapsedTime.

    I do not use the GPS, position, as it is for indoor swimming.
    For distance management, it is only a variable. So nothing appears on the recorded session.
    Everything works well, except that when you go to Garmin Connect, you see the time, the laps, but of course no distance (no total nor laps).

    Is it possible to write elapsedDistance to the FIT file?
    Would you suggest an other way to do it?

    Many thanks for your help.
  • Former Member
    Former Member over 9 years ago
    Hi
    I've been working on such an app for swimming (on FR230).
    Pretty simple :
    - You can start an activity, pause it
    - You add laps using the Back button (shows the last lap time and distance)
    - You can of course stop, save or discard

    It is using Toybox::ActivityRecording, and subclass Session to record the FIT file.
    It also uses Toybox::Activity::Info to retrieve the elapsedTime.

    I do not use the GPS, position, as it is for indoor swimming.
    For distance management, it is only a variable. So nothing appears on the recorded session.
    Everything works well, except that when you go to Garmin Connect, you see the time, the laps, but of course no distance (no total nor laps).

    Is it possible to write elapsedDistance to the FIT file?
    Would you suggest an other way to do it?

    Many thanks for your help.


    Wow! Sounds like a great start!

    Are you able to make pool length a user setting the calculate average lap time and total distance from that (using the user added laps)?
  • Former Member
    Former Member over 9 years ago
    Thanks for the "Wow" :D
    Yes, pool length is a user setting.
    In the app, you have a starting menu where you can change the pool length using predefined values or the user setting.
    Total distance is calculated from that pool length.
    Average lap time is given too.

    Regarding "custom pool length" user setting, it works under development but not in Garmin Express (I dont have the three little dots...) or Garmin Connect Mobile.
    Maybe it has to be published to work?

    But, my problem is still that I cannot save the distances in the FIT file (and so no average speed).
    For instance a CSV export gives this (in French, sorry):
    Intervalle,Temps,Tps déplac.,Distance,Allure moy.,Avg Moving Pace,Calories,
    1,1:08.3,:00,"0,00",0,--,0,
    2,1:24.6,--,"0,00",0,--,0,
    3,1:16.0,--,"0,00",0,--,0,
    ...
    26,:00.7,--,"0,00",0,--,0,
    Récapitulatif,30:23.2,:00.0,"1,25",24:19,--:--,0,

    With the "1.25" distance being added in Garmin Connect...

    Hope someone could help...
  • We don't currently support writing custom data to a FIT file, but that's planned for later this year.
  • Former Member
    Former Member over 9 years ago
    OK, I'll wait for this
    Thanks for the answer anyway
  • Former Member
    Former Member over 9 years ago
    Florian, this is most welcome. Thank you for working on it! Even it isn't possible right now to calculate distance, something that could detect turns, and so automatically provide the number of laps swum, would be most welcome! I'm not sure I'd want to have to press the lap button every time I make a turn ... but even that would be better than the nothing we have now!

    Thanks again!
  • Yeah, I would love to be able to use my 230 for counting laps in the pool. Distance is a no-brainer since that's just the number of laps, time is already calculated. Just need laps and derived pace (per 100 yd). I could use my own watch now to just get elapsed time but I use my wife's 910xt so I get more data. SWOLF and strokes I really don't care that much about but lap count is key.