Code Monkey home page Code Monkey logo

infinitytracker's Introduction

InfinityTracker

Track your progress while running or walking in a simple way. Open the app and hit start to:

  • Track your location and route in realtime on a map
  • Accurately calculate calories using your latest weight entry from the Health app
  • See details about distance, time, calories burned and current pace

Once you're finished your workout is automatically saved inside the Health app to access it even from other places. You can also see details of all your past workouts recorded inside the app and have a global statistics of total distance ran or walked and calories burned.

Coming Soon on the AppStore

Project Setup

The framework MBLibrary referenced by this project is available here, version currently in use is 1.2.2.

Customization

General behaviour of the app can be configured via properties of HealthKitManager class:

  • authRequired, healthReadData and healthWriteData: Used to save the latest authorization requested in UserDefaults, when authRequired is greater than the saved value the user will be promped for authorization upon next launch, increment this value when adding new data to be read or write to healthReadData or healthWriteData.

The algorithm that takes care of tracking workout route, distance, calories burned and pace can be tweaked via the properties dropThreshold, moveCloserThreshold, thresholdSpeed, accuracyInfluence, routeTimeAccuracy, detailsTimePrecision and paceTimePrecision of RunBuilder class. For additional details refer to in-code documentation.

Acknowledgements

Original work and core logic of the app by Alexandre Linares.

infinitytracker's People

Contributors

piscotech avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

envikas

infinitytracker's Issues

Improve tracking algorithm

The tracking and smoothing of GPS data is not good as it looses 50m over two test walks of 450m and 350m, this is too much.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.