Package: ast-monitor
AST-Monitor --- A wearable Raspberry Pi computer for cyclistsFree software:MIT licensePython versions:3.8.x, 3.9.x, 3.10.x, 3.11.x, 3.12.xDocumentation:https://ast-monitor.readthedocs.io/en/latestTested OS:Windows, Ubuntu, Fedora, Alpine, Arch, macOS. **However, that does not mean it does not work on others
**Short descriptionWelcome to AST-Monitor: Revolutionizing Sport Training Sessions! 🏋️‍♂️This repository aims to introduce a low-cost, and efficient embedded device that can transform the way you monitor
cycling training sessions. Allow us to present AST-Monitor.To begin, we invite you to explore the paper that introduces the capabilities of AST-Monitor. Dive into the future of artificial sports trainers by reading thispaper. 📄💡Graphical User Interface of the applicationBasic data: Power at Your Fingertips 💪The initial page of the AST-Monitor application presents essential parameters, providing real-time insights into an athlete's performance. Gain access to information such as the athlete's current speed and heart rate. After a training session, you'll also receive a comprehensive overview, including total distance covered, session duration, and total ascent conquered. 📱🚴‍♂️Interactive map: Embark on a Visual Journey 🗺️🚀As you navigate uncharted territories, this map reveals your precise location in real-time. And allows you to track your progress on the route in real time.   🌍🚴‍♂️🗺️Interval training data: Unleash Your Inner Athlete 🏃‍♀️💪Discover the duration of each phase, track your current heart rate, and marvel at the average heart rate achieved. But that's not all—brace yourself for the Digital Twin proposed heart rate and witness the thrilling difference between your current heart rate and the proposed target. Prepare to dominate your workouts with the AST-Monitor! 🏋️‍♀️Interval training plan: Unleash the Potential 💯📝💥Load up and embark on thrilling interval trainings that await you in the "AST-Monitor/development/trainings" folder. These trainings, meticulously crafted in the domain-specific languageAST-TDL, are designed to take you to the next level. Once successfully loaded, witness the training plan come to life before your eyes. 🚀📋💥Hardware outline: Where Innovation Meets Performance ⚙️🔩💡Prepare to be dazzled by the complete hardware setup featured in AST-Monitor.Let's take a closer look at the components:A platform with fixing strapsthat securely attach to your bicycle, ensuring a seamless training experience. 🚲🔒The powerful Raspberry Pi 4 Model B micro-controller, powered by the dynamic Raspbian OS. 💻A five-inch LCD touch screen display, allowing the interaction with AST-Monitor during the training. ✨🖥️Equipped with a USB ANT+ stick, AST-Monitor captures the heartbeat of your training, providing crucial data for
your journey to greatness. 📡Adafruit's Ultimate GPS HAT modulejoins the lineup, empowering you with location information and paving the way
for GPS integration (coming soon!). 🌐🛰️But that's not all:A Serial Peripheral Interface (SPI) protocol ensures seamless communication between the Raspberry Pi and the GPS
peripheral, guaranteeing accurate and timely data. The screen display, connected using a physically shortened HDMI
cable, ensures a sleek and compact design that doesn't compromise performance.During the testing phase, the AST-Monitor prototype was powered by Trust's 5 VDC power bank, providing unparalleled
endurance. While the current prototype may be a bit bulky, rest assured, our team is hard at work, exploring sleeker and
more discreet solutions. 💪💦For those who crave a glimpse inside AST-Monitor:Welcome to the next stage of sports training. Welcome to AST-Monitor—your ultimate companion on the road to victory!
🌟🏆🚀Software outlineDependenciesList of dependencies:PackageVersionPlatformPyQt5^5.15.6Allmatplotlib^3.5.1Allgeopy^2.2.0Allopenant^1.2.0Allpyqt-feedback-flow^0.1.0Alltcxreader^0.4.1Allsport-activities-features^0.3.6AllAdditional note: adafruit-circuitpython-gps package must be installed in order to work with the GPS sensor:$pipinstalladafruit-circuitpython-gpsInstallationInstall AST-Monitor with pip:$pipinstallast-monitorIn case you want to install directly from the source code, use:$gitclonehttps://github.com/firefly-cpp/AST-Monitor.git
$cdAST-Monitor
$poetrybuild
$pythonsetup.pyinstallTo install AST-Monitor on Fedora Linux, please use:$dnfinstallpython3-ast-monitorTo install AST-Monitor on Alpine Linux, please use:$apkaddpy3-ast-monitorTo install AST-Monitor on Arch Linux, please use anAUR helper:$yay-Syyupython-ast-monitorDeploymentOur project was deployed on a Raspberry Pi device using Raspberry Pi OS.The hardware configuration of AST-Monitor using Raspberry Pi OS is described
inHARDWARE_CONFIGURATION.md.ExamplesBasic runfromPyQt5importQtWidgetsimportsystry:fromast_monitor.modelimportASTexceptModuleNotFoundError:sys.path.append('../')fromast_monitor.modelimportAST# Paths to the files with heart rates and GPS data.hr_data='../sensor_data/hr.txt'gps_data='../sensor_data/gps.txt'if__name__=='__main__':app=QtWidgets.QApplication(sys.argv)window=AST(hr_data,gps_data)window.show()sys.exit(app.exec_())LicenseThis package is distributed under the MIT License. This license can be found online
athttp://www.opensource.org/licenses/MIT.DisclaimerThis framework is provided as-is, and there are no guarantees that it fits your purposes or that it is bug-free. Use it
at your own risk!Cite usLukač, L., Fister Jr., I., Fister,
I. "Digital Twin in Sport: From an Idea to Realization." Applied Sciences
12.24 (2022): 12741.Further read[1]Awesome Computational Intelligence in SportsRelated packages/frameworks[1]sport-activities-features: A minimalistic toolbox for extracting features from sports activity files written in PythonReferencesFister Jr, I., Fister, I., Iglesias, A., Galvez, A., Deb, S., & Fister, D. (2021). On deploying the Artificial Sport
Trainer into practice. arXiv preprintarXiv:2109.13334.Fister Jr, I., Salcedo-Sanz, S., Iglesias, A., Fister, D., Gálvez, A., & Fister, I. (2021). New Perspectives in the
Development of the Artificial Sport Trainer. Applied Sciences, 11(23), 11452.
DOI:10.3390/app112311452ContributorsIztok Fister Jr.🐛📖💻🚧🧑‍🏫📦luckyLukac🐛📖💻🎨Oromion📦alenrajsp🖋💻🚧🐛Tatookie📖🐛rhododendrom🎨Sertonix🐛