ast_monitor 0.5.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ast_monitor-0.5.0/CHANGELOG.md +200 -0
- ast_monitor-0.5.0/CITATION.cff +31 -0
- ast_monitor-0.5.0/HARDWARE_CONFIGURATION.md +109 -0
- ast_monitor-0.5.0/LICENSE +21 -0
- ast_monitor-0.5.0/PKG-INFO +293 -0
- ast_monitor-0.5.0/README.md +265 -0
- ast_monitor-0.5.0/ast_monitor/__init__.py +30 -0
- ast_monitor-0.5.0/ast_monitor/basic_data.py +116 -0
- ast_monitor-0.5.0/ast_monitor/digital_twin.py +155 -0
- ast_monitor-0.5.0/ast_monitor/goals_processor.py +106 -0
- ast_monitor-0.5.0/ast_monitor/gps_sensor.py +81 -0
- ast_monitor-0.5.0/ast_monitor/hr_sensor.py +71 -0
- ast_monitor-0.5.0/ast_monitor/html_request_handler.py +24 -0
- ast_monitor-0.5.0/ast_monitor/icons/arrow_down.svg +61 -0
- ast_monitor-0.5.0/ast_monitor/icons/arrow_left.svg +64 -0
- ast_monitor-0.5.0/ast_monitor/icons/arrow_right.svg +64 -0
- ast_monitor-0.5.0/ast_monitor/icons/arrow_up.svg +61 -0
- ast_monitor-0.5.0/ast_monitor/icons/ascent.svg +64 -0
- ast_monitor-0.5.0/ast_monitor/icons/bicycle.svg +65 -0
- ast_monitor-0.5.0/ast_monitor/icons/clock.svg +148 -0
- ast_monitor-0.5.0/ast_monitor/icons/distance.svg +136 -0
- ast_monitor-0.5.0/ast_monitor/icons/heart.svg +79 -0
- ast_monitor-0.5.0/ast_monitor/icons/licence.txt +1 -0
- ast_monitor-0.5.0/ast_monitor/icons/play.svg +74 -0
- ast_monitor-0.5.0/ast_monitor/icons/shutdown.svg +74 -0
- ast_monitor-0.5.0/ast_monitor/icons/speed.svg +127 -0
- ast_monitor-0.5.0/ast_monitor/icons/stop.svg +63 -0
- ast_monitor-0.5.0/ast_monitor/interval_training.py +184 -0
- ast_monitor-0.5.0/ast_monitor/mainwindow.py +1308 -0
- ast_monitor-0.5.0/ast_monitor/map/README.md +59 -0
- ast_monitor-0.5.0/ast_monitor/map/env.d.ts +1 -0
- ast_monitor-0.5.0/ast_monitor/map/index.html +16 -0
- ast_monitor-0.5.0/ast_monitor/map/package-lock.json +5243 -0
- ast_monitor-0.5.0/ast_monitor/map/package.json +37 -0
- ast_monitor-0.5.0/ast_monitor/map/public/favicon.ico +0 -0
- ast_monitor-0.5.0/ast_monitor/map/src/App.vue +76 -0
- ast_monitor-0.5.0/ast_monitor/map/src/assets/base.css +73 -0
- ast_monitor-0.5.0/ast_monitor/map/src/assets/logo.svg +1 -0
- ast_monitor-0.5.0/ast_monitor/map/src/assets/main.css +1 -0
- ast_monitor-0.5.0/ast_monitor/map/src/components/DisplayCard.vue +68 -0
- ast_monitor-0.5.0/ast_monitor/map/src/components/Map.vue +78 -0
- ast_monitor-0.5.0/ast_monitor/map/src/components/RouteProgress.vue +102 -0
- ast_monitor-0.5.0/ast_monitor/map/src/components/TrainingMetrics.vue +45 -0
- ast_monitor-0.5.0/ast_monitor/map/src/components/WelcomeItem.vue +87 -0
- ast_monitor-0.5.0/ast_monitor/map/src/components/icons/IconCommunity.vue +7 -0
- ast_monitor-0.5.0/ast_monitor/map/src/components/icons/IconDocumentation.vue +7 -0
- ast_monitor-0.5.0/ast_monitor/map/src/components/icons/IconEcosystem.vue +7 -0
- ast_monitor-0.5.0/ast_monitor/map/src/components/icons/IconSupport.vue +7 -0
- ast_monitor-0.5.0/ast_monitor/map/src/components/icons/IconTooling.vue +19 -0
- ast_monitor-0.5.0/ast_monitor/map/src/main.ts +25 -0
- ast_monitor-0.5.0/ast_monitor/map/src/stores/counter.ts +12 -0
- ast_monitor-0.5.0/ast_monitor/map/tsconfig.app.json +20 -0
- ast_monitor-0.5.0/ast_monitor/map/tsconfig.json +11 -0
- ast_monitor-0.5.0/ast_monitor/map/tsconfig.node.json +16 -0
- ast_monitor-0.5.0/ast_monitor/map/vite.config.ts +18 -0
- ast_monitor-0.5.0/ast_monitor/model.py +521 -0
- ast_monitor-0.5.0/ast_monitor/route_reader.py +62 -0
- ast_monitor-0.5.0/ast_monitor/simulation.py +117 -0
- ast_monitor-0.5.0/ast_monitor/training_session.py +44 -0
- ast_monitor-0.5.0/ast_monitor/write_log.py +50 -0
- ast_monitor-0.5.0/pyproject.toml +37 -0
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [Unreleased](https://github.com/firefly-cpp/AST-Monitor/tree/HEAD)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/firefly-cpp/AST-Monitor/compare/0.4.2...HEAD)
|
|
6
|
+
|
|
7
|
+
**Closed issues:**
|
|
8
|
+
|
|
9
|
+
- tcx2gpx problem [\#61](https://github.com/firefly-cpp/AST-Monitor/issues/61)
|
|
10
|
+
|
|
11
|
+
**Merged pull requests:**
|
|
12
|
+
|
|
13
|
+
- Bump urllib3 from 2.0.6 to 2.0.7 [\#66](https://github.com/firefly-cpp/AST-Monitor/pull/66) ([dependabot[bot]](https://github.com/apps/dependabot))
|
|
14
|
+
- Bump postcss from 8.4.28 to 8.4.31 in /ast\_monitor/map [\#65](https://github.com/firefly-cpp/AST-Monitor/pull/65) ([dependabot[bot]](https://github.com/apps/dependabot))
|
|
15
|
+
- Bump urllib3 from 2.0.5 to 2.0.6 [\#64](https://github.com/firefly-cpp/AST-Monitor/pull/64) ([dependabot[bot]](https://github.com/apps/dependabot))
|
|
16
|
+
- Update workflow [\#63](https://github.com/firefly-cpp/AST-Monitor/pull/63) ([KukovecRok](https://github.com/KukovecRok))
|
|
17
|
+
|
|
18
|
+
## [0.4.2](https://github.com/firefly-cpp/AST-Monitor/tree/0.4.2) (2023-10-02)
|
|
19
|
+
|
|
20
|
+
[Full Changelog](https://github.com/firefly-cpp/AST-Monitor/compare/0.4.1...0.4.2)
|
|
21
|
+
|
|
22
|
+
**Closed issues:**
|
|
23
|
+
|
|
24
|
+
- Switch to pyqt6 [\#46](https://github.com/firefly-cpp/AST-Monitor/issues/46)
|
|
25
|
+
- Upload activity [\#20](https://github.com/firefly-cpp/AST-Monitor/issues/20)
|
|
26
|
+
- Add real time visualization [\#15](https://github.com/firefly-cpp/AST-Monitor/issues/15)
|
|
27
|
+
|
|
28
|
+
**Merged pull requests:**
|
|
29
|
+
|
|
30
|
+
- Fixed route reader, code docs update [\#62](https://github.com/firefly-cpp/AST-Monitor/pull/62) ([alenrajsp](https://github.com/alenrajsp))
|
|
31
|
+
- AST Monitor update [\#60](https://github.com/firefly-cpp/AST-Monitor/pull/60) ([alenrajsp](https://github.com/alenrajsp))
|
|
32
|
+
- docs: add alenrajsp as a contributor for maintenance, and bug [\#58](https://github.com/firefly-cpp/AST-Monitor/pull/58) ([allcontributors[bot]](https://github.com/apps/allcontributors))
|
|
33
|
+
- docs: add rhododendrom as a contributor for design [\#57](https://github.com/firefly-cpp/AST-Monitor/pull/57) ([allcontributors[bot]](https://github.com/apps/allcontributors))
|
|
34
|
+
|
|
35
|
+
## [0.4.1](https://github.com/firefly-cpp/AST-Monitor/tree/0.4.1) (2023-09-11)
|
|
36
|
+
|
|
37
|
+
[Full Changelog](https://github.com/firefly-cpp/AST-Monitor/compare/0.4.0...0.4.1)
|
|
38
|
+
|
|
39
|
+
**Closed issues:**
|
|
40
|
+
|
|
41
|
+
- Add simple logo [\#47](https://github.com/firefly-cpp/AST-Monitor/issues/47)
|
|
42
|
+
|
|
43
|
+
**Merged pull requests:**
|
|
44
|
+
|
|
45
|
+
- Bump certifi from 2023.5.7 to 2023.7.22 [\#56](https://github.com/firefly-cpp/AST-Monitor/pull/56) ([dependabot[bot]](https://github.com/apps/dependabot))
|
|
46
|
+
- Map visualizations update [\#55](https://github.com/firefly-cpp/AST-Monitor/pull/55) ([alenrajsp](https://github.com/alenrajsp))
|
|
47
|
+
- Update README.md [\#54](https://github.com/firefly-cpp/AST-Monitor/pull/54) ([alenrajsp](https://github.com/alenrajsp))
|
|
48
|
+
- add logo [\#53](https://github.com/firefly-cpp/AST-Monitor/pull/53) ([rhododendrom](https://github.com/rhododendrom))
|
|
49
|
+
- Bump aiohttp from 3.8.4 to 3.8.5 [\#52](https://github.com/firefly-cpp/AST-Monitor/pull/52) ([dependabot[bot]](https://github.com/apps/dependabot))
|
|
50
|
+
- docs: update README [\#51](https://github.com/firefly-cpp/AST-Monitor/pull/51) ([zala-lahovnik](https://github.com/zala-lahovnik))
|
|
51
|
+
|
|
52
|
+
## [0.4.0](https://github.com/firefly-cpp/AST-Monitor/tree/0.4.0) (2023-07-02)
|
|
53
|
+
|
|
54
|
+
[Full Changelog](https://github.com/firefly-cpp/AST-Monitor/compare/0.3.3...0.4.0)
|
|
55
|
+
|
|
56
|
+
**Merged pull requests:**
|
|
57
|
+
|
|
58
|
+
- docs: add alenrajsp as a contributor for code [\#50](https://github.com/firefly-cpp/AST-Monitor/pull/50) ([allcontributors[bot]](https://github.com/apps/allcontributors))
|
|
59
|
+
- Updated to PyQt6 version + [\#49](https://github.com/firefly-cpp/AST-Monitor/pull/49) ([alenrajsp](https://github.com/alenrajsp))
|
|
60
|
+
|
|
61
|
+
## [0.3.3](https://github.com/firefly-cpp/AST-Monitor/tree/0.3.3) (2023-06-21)
|
|
62
|
+
|
|
63
|
+
[Full Changelog](https://github.com/firefly-cpp/AST-Monitor/compare/0.3.2...0.3.3)
|
|
64
|
+
|
|
65
|
+
**Closed issues:**
|
|
66
|
+
|
|
67
|
+
- Fix docs [\#44](https://github.com/firefly-cpp/AST-Monitor/issues/44)
|
|
68
|
+
- Openant dependency [\#42](https://github.com/firefly-cpp/AST-Monitor/issues/42)
|
|
69
|
+
|
|
70
|
+
**Merged pull requests:**
|
|
71
|
+
|
|
72
|
+
- docs: add KukovecRok as a contributor for doc, and bug [\#48](https://github.com/firefly-cpp/AST-Monitor/pull/48) ([allcontributors[bot]](https://github.com/apps/allcontributors))
|
|
73
|
+
- Sphinx docs fix \#44 [\#45](https://github.com/firefly-cpp/AST-Monitor/pull/45) ([KukovecRok](https://github.com/KukovecRok))
|
|
74
|
+
- Bump requests from 2.30.0 to 2.31.0 [\#43](https://github.com/firefly-cpp/AST-Monitor/pull/43) ([dependabot[bot]](https://github.com/apps/dependabot))
|
|
75
|
+
|
|
76
|
+
## [0.3.2](https://github.com/firefly-cpp/AST-Monitor/tree/0.3.2) (2023-01-28)
|
|
77
|
+
|
|
78
|
+
[Full Changelog](https://github.com/firefly-cpp/AST-Monitor/compare/0.3.1...0.3.2)
|
|
79
|
+
|
|
80
|
+
**Closed issues:**
|
|
81
|
+
|
|
82
|
+
- @all-contributors add [\#32](https://github.com/firefly-cpp/AST-Monitor/issues/32)
|
|
83
|
+
|
|
84
|
+
**Merged pull requests:**
|
|
85
|
+
|
|
86
|
+
- Include openant in dependency list \(finally available on pypi\) [\#41](https://github.com/firefly-cpp/AST-Monitor/pull/41) ([firefly-cpp](https://github.com/firefly-cpp))
|
|
87
|
+
- Bump certifi from 2022.9.24 to 2022.12.7 [\#40](https://github.com/firefly-cpp/AST-Monitor/pull/40) ([dependabot[bot]](https://github.com/apps/dependabot))
|
|
88
|
+
- docs: add alenrajsp as a contributor for content [\#39](https://github.com/firefly-cpp/AST-Monitor/pull/39) ([allcontributors[bot]](https://github.com/apps/allcontributors))
|
|
89
|
+
- docs: add firefly-cpp as a contributor for platform [\#38](https://github.com/firefly-cpp/AST-Monitor/pull/38) ([allcontributors[bot]](https://github.com/apps/allcontributors))
|
|
90
|
+
- docs: add carlosal1015 as a contributor for platform [\#37](https://github.com/firefly-cpp/AST-Monitor/pull/37) ([allcontributors[bot]](https://github.com/apps/allcontributors))
|
|
91
|
+
- docs: add luckyLukac as a contributor for design [\#36](https://github.com/firefly-cpp/AST-Monitor/pull/36) ([allcontributors[bot]](https://github.com/apps/allcontributors))
|
|
92
|
+
- docs: add firefly-cpp as a contributor for doc, code, and 2 more [\#35](https://github.com/firefly-cpp/AST-Monitor/pull/35) ([allcontributors[bot]](https://github.com/apps/allcontributors))
|
|
93
|
+
- docs: add luckyLukac as a contributor for bug, doc, and code [\#34](https://github.com/firefly-cpp/AST-Monitor/pull/34) ([allcontributors[bot]](https://github.com/apps/allcontributors))
|
|
94
|
+
- docs: add firefly-cpp as a contributor for bug [\#33](https://github.com/firefly-cpp/AST-Monitor/pull/33) ([allcontributors[bot]](https://github.com/apps/allcontributors))
|
|
95
|
+
- Bump pillow from 9.2.0 to 9.3.0 [\#31](https://github.com/firefly-cpp/AST-Monitor/pull/31) ([dependabot[bot]](https://github.com/apps/dependabot))
|
|
96
|
+
|
|
97
|
+
## [0.3.1](https://github.com/firefly-cpp/AST-Monitor/tree/0.3.1) (2022-09-15)
|
|
98
|
+
|
|
99
|
+
[Full Changelog](https://github.com/firefly-cpp/AST-Monitor/compare/0.3.0...0.3.1)
|
|
100
|
+
|
|
101
|
+
**Closed issues:**
|
|
102
|
+
|
|
103
|
+
- Path error [\#29](https://github.com/firefly-cpp/AST-Monitor/issues/29)
|
|
104
|
+
- Add a short outline/description of each figure in README [\#25](https://github.com/firefly-cpp/AST-Monitor/issues/25)
|
|
105
|
+
|
|
106
|
+
**Merged pull requests:**
|
|
107
|
+
|
|
108
|
+
- Small bugifx [\#30](https://github.com/firefly-cpp/AST-Monitor/pull/30) ([luckyLukac](https://github.com/luckyLukac))
|
|
109
|
+
|
|
110
|
+
## [0.3.0](https://github.com/firefly-cpp/AST-Monitor/tree/0.3.0) (2022-09-13)
|
|
111
|
+
|
|
112
|
+
[Full Changelog](https://github.com/firefly-cpp/AST-Monitor/compare/0.2.1...0.3.0)
|
|
113
|
+
|
|
114
|
+
**Closed issues:**
|
|
115
|
+
|
|
116
|
+
- Show various TRIMP values on the dashboard [\#21](https://github.com/firefly-cpp/AST-Monitor/issues/21)
|
|
117
|
+
- Add reference/minor documentation for ast-tdl [\#17](https://github.com/firefly-cpp/AST-Monitor/issues/17)
|
|
118
|
+
|
|
119
|
+
**Merged pull requests:**
|
|
120
|
+
|
|
121
|
+
- Complete revamp of the AST-Monitor application [\#28](https://github.com/firefly-cpp/AST-Monitor/pull/28) ([luckyLukac](https://github.com/luckyLukac))
|
|
122
|
+
- Update lock file [\#27](https://github.com/firefly-cpp/AST-Monitor/pull/27) ([firefly-cpp](https://github.com/firefly-cpp))
|
|
123
|
+
- Add instructions for install from AUR [\#26](https://github.com/firefly-cpp/AST-Monitor/pull/26) ([carlosal1015](https://github.com/carlosal1015))
|
|
124
|
+
|
|
125
|
+
## [0.2.1](https://github.com/firefly-cpp/AST-Monitor/tree/0.2.1) (2022-07-22)
|
|
126
|
+
|
|
127
|
+
[Full Changelog](https://github.com/firefly-cpp/AST-Monitor/compare/0.2.0...0.2.1)
|
|
128
|
+
|
|
129
|
+
**Merged pull requests:**
|
|
130
|
+
|
|
131
|
+
- Slight digital twin algorithm and GUI improvements [\#24](https://github.com/firefly-cpp/AST-Monitor/pull/24) ([luckyLukac](https://github.com/luckyLukac))
|
|
132
|
+
- Digital twin improvements [\#23](https://github.com/firefly-cpp/AST-Monitor/pull/23) ([luckyLukac](https://github.com/luckyLukac))
|
|
133
|
+
|
|
134
|
+
## [0.2.0](https://github.com/firefly-cpp/AST-Monitor/tree/0.2.0) (2022-07-12)
|
|
135
|
+
|
|
136
|
+
[Full Changelog](https://github.com/firefly-cpp/AST-Monitor/compare/0.1.5...0.2.0)
|
|
137
|
+
|
|
138
|
+
**Closed issues:**
|
|
139
|
+
|
|
140
|
+
- Generate tcx/gpx file from sensor data [\#5](https://github.com/firefly-cpp/AST-Monitor/issues/5)
|
|
141
|
+
|
|
142
|
+
**Merged pull requests:**
|
|
143
|
+
|
|
144
|
+
- Digital twin implementation [\#22](https://github.com/firefly-cpp/AST-Monitor/pull/22) ([luckyLukac](https://github.com/luckyLukac))
|
|
145
|
+
- Interval data depiction [\#19](https://github.com/firefly-cpp/AST-Monitor/pull/19) ([luckyLukac](https://github.com/luckyLukac))
|
|
146
|
+
|
|
147
|
+
## [0.1.5](https://github.com/firefly-cpp/AST-Monitor/tree/0.1.5) (2022-06-24)
|
|
148
|
+
|
|
149
|
+
[Full Changelog](https://github.com/firefly-cpp/AST-Monitor/compare/0.1.4...0.1.5)
|
|
150
|
+
|
|
151
|
+
**Merged pull requests:**
|
|
152
|
+
|
|
153
|
+
- Minor Flake8 changes [\#18](https://github.com/firefly-cpp/AST-Monitor/pull/18) ([luckyLukac](https://github.com/luckyLukac))
|
|
154
|
+
- Training loading and unit tests fix [\#16](https://github.com/firefly-cpp/AST-Monitor/pull/16) ([luckyLukac](https://github.com/luckyLukac))
|
|
155
|
+
|
|
156
|
+
## [0.1.4](https://github.com/firefly-cpp/AST-Monitor/tree/0.1.4) (2022-06-07)
|
|
157
|
+
|
|
158
|
+
[Full Changelog](https://github.com/firefly-cpp/AST-Monitor/compare/0.1.3...0.1.4)
|
|
159
|
+
|
|
160
|
+
**Closed issues:**
|
|
161
|
+
|
|
162
|
+
- Screenshot of GUI [\#11](https://github.com/firefly-cpp/AST-Monitor/issues/11)
|
|
163
|
+
|
|
164
|
+
**Merged pull requests:**
|
|
165
|
+
|
|
166
|
+
- Update README.md [\#14](https://github.com/firefly-cpp/AST-Monitor/pull/14) ([luckyLukac](https://github.com/luckyLukac))
|
|
167
|
+
- Map addition [\#13](https://github.com/firefly-cpp/AST-Monitor/pull/13) ([luckyLukac](https://github.com/luckyLukac))
|
|
168
|
+
- GUI and code improvements [\#12](https://github.com/firefly-cpp/AST-Monitor/pull/12) ([luckyLukac](https://github.com/luckyLukac))
|
|
169
|
+
|
|
170
|
+
## [0.1.3](https://github.com/firefly-cpp/AST-Monitor/tree/0.1.3) (2022-05-03)
|
|
171
|
+
|
|
172
|
+
[Full Changelog](https://github.com/firefly-cpp/AST-Monitor/compare/0.1.2...0.1.3)
|
|
173
|
+
|
|
174
|
+
**Merged pull requests:**
|
|
175
|
+
|
|
176
|
+
- GUI enhancements [\#10](https://github.com/firefly-cpp/AST-Monitor/pull/10) ([luckyLukac](https://github.com/luckyLukac))
|
|
177
|
+
- Redesigned GUI [\#9](https://github.com/firefly-cpp/AST-Monitor/pull/9) ([luckyLukac](https://github.com/luckyLukac))
|
|
178
|
+
- Update README.md [\#6](https://github.com/firefly-cpp/AST-Monitor/pull/6) ([alenrajsp](https://github.com/alenrajsp))
|
|
179
|
+
|
|
180
|
+
## [0.1.2](https://github.com/firefly-cpp/AST-Monitor/tree/0.1.2) (2022-03-10)
|
|
181
|
+
|
|
182
|
+
[Full Changelog](https://github.com/firefly-cpp/AST-Monitor/compare/0.1.1...0.1.2)
|
|
183
|
+
|
|
184
|
+
**Closed issues:**
|
|
185
|
+
|
|
186
|
+
- 'ant' module cannot be installed using PIP [\#1](https://github.com/firefly-cpp/AST-Monitor/issues/1)
|
|
187
|
+
|
|
188
|
+
**Merged pull requests:**
|
|
189
|
+
|
|
190
|
+
- Small changes in GUI [\#4](https://github.com/firefly-cpp/AST-Monitor/pull/4) ([luckyLukac](https://github.com/luckyLukac))
|
|
191
|
+
- Code refactored to comply with Flake standards [\#3](https://github.com/firefly-cpp/AST-Monitor/pull/3) ([luckyLukac](https://github.com/luckyLukac))
|
|
192
|
+
- Small bugfix at pyqt-feedback-flow usage [\#2](https://github.com/firefly-cpp/AST-Monitor/pull/2) ([luckyLukac](https://github.com/luckyLukac))
|
|
193
|
+
|
|
194
|
+
## [0.1.1](https://github.com/firefly-cpp/AST-Monitor/tree/0.1.1) (2022-01-25)
|
|
195
|
+
|
|
196
|
+
[Full Changelog](https://github.com/firefly-cpp/AST-Monitor/compare/c3527a1296385a84a0b0be4df0e1609527cbac67...0.1.1)
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
cff-version: 1.2.0
|
|
2
|
+
title: >-
|
|
3
|
+
On Deploying the Artificial Sport Trainer into
|
|
4
|
+
Practice
|
|
5
|
+
message: >-
|
|
6
|
+
If you use this software, please cite it using the
|
|
7
|
+
metadata from this file.
|
|
8
|
+
type: software
|
|
9
|
+
authors:
|
|
10
|
+
- given-names: Iztok Fister Jr.
|
|
11
|
+
name-particle: Iztok
|
|
12
|
+
family-names: Fister
|
|
13
|
+
name-suffix: Jr.
|
|
14
|
+
- given-names: Iztok Fister
|
|
15
|
+
name-particle: Iztok
|
|
16
|
+
family-names: Fister
|
|
17
|
+
- given-names: Andres Iglesias
|
|
18
|
+
name-particle: Andres
|
|
19
|
+
family-names: Iglesias
|
|
20
|
+
- given-names: Akemi Galvez
|
|
21
|
+
name-particle: Akemi
|
|
22
|
+
family-names: Galvez
|
|
23
|
+
- given-names: Suash Deb
|
|
24
|
+
name-particle: Suash
|
|
25
|
+
family-names: Deb
|
|
26
|
+
- given-names: Dušan Fister
|
|
27
|
+
name-particle: Dušan
|
|
28
|
+
family-names: Fister
|
|
29
|
+
identifiers:
|
|
30
|
+
- type: doi
|
|
31
|
+
value: 10.1109/ISCMI53840.2021.9654817
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
## Basic AST-Monitor components
|
|
2
|
+
### Adafruit Ultimate GPS HAT for Raspberry Pi
|
|
3
|
+
Please follow the tutorial: [LINK](https://learn.adafruit.com/adafruit-ultimate-gps-hat-for-raspberry-pi)
|
|
4
|
+
|
|
5
|
+
### USB ANT+ stick
|
|
6
|
+
We used the SUUNTU MOVESTICK MINI stick, which did not require any specific hardware configuration.
|
|
7
|
+
You can use the following stick with the openant python library: [LINK](https://github.com/Tigge/openant)
|
|
8
|
+
|
|
9
|
+
### A five-inch LCD touch screen display
|
|
10
|
+
Please follow the following tutorial for touch calibration instructions: [LINK](https://www.waveshare.com/wiki/5inch_HDMI_LCD)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## Configuration of AST-Monitor
|
|
14
|
+
### Installation of Raspberry Pi OS
|
|
15
|
+
An SD card with the minimum capacity of 8 GB is required for the operating system. Before configuring the device itself, you must install Raspberry Pi OS to the SD card using [Raspberry Pi Imager](https://www.raspberrypi.com/software/). As AST-Monitor apart from the touch screen cannot interact with a user, you must enable SSH and input the Wi-Fi SSID and password in Raspberry Pi Imager settings in order to enable remote access to the device.
|
|
16
|
+
|
|
17
|
+
### Remote access to AST-Monitor
|
|
18
|
+
When the installation of Raspberry Pi OS is sucessfully finished, you must insert the SD card to Raspberry Pi and plug AST-Monitor into a power source. After the boot of the device, you must connect to AST-Monitor using SSH protocol (open-source client [PuTTY](https://www.putty.org/) is recommended on Windows). It is crucial that both AST-Monitor and the device that runs an SSH client are connected to the same Wi-Fi network.
|
|
19
|
+
|
|
20
|
+
### Calibration of the touch screen
|
|
21
|
+
To enable the touch screen, you have to add the following lines in <i>/boot/config.txt</i>:
|
|
22
|
+
```
|
|
23
|
+
hdmi_group=2
|
|
24
|
+
hdmi_mode=87
|
|
25
|
+
hdmi_cvt 800 480 60 6 0 0 0
|
|
26
|
+
hdmi_drive=1
|
|
27
|
+
dtoverlay=ads7846,cs=1,penirq=25,penirq_pull=2,speed=50000,
|
|
28
|
+
keep_vref_on=0,swapxy=0,pmax=255,xohms=150,xmin=200,
|
|
29
|
+
xmax=3900,ymin=200,ymax=3900
|
|
30
|
+
display_rotate=3
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Before calibrating the touch screen, additional packages are required. We can obtain and configure them by executing the following two commands:
|
|
34
|
+
```sh
|
|
35
|
+
$ sudo apt-get install xserver-xorg-input-evdev xinput-calibrator
|
|
36
|
+
$ sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf/usr/share/X11/xorg.conf.d/45-evdev.conf
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
In the next step, we have to create a file, named <i>99-calibration.conf</i> in the directory <i>/usr/share/X11/xorg.conf.d/</i> and paste the following lines into the newly created file:
|
|
40
|
+
```
|
|
41
|
+
Section "InputClass"
|
|
42
|
+
Identifier "calibration"
|
|
43
|
+
MatchProduct "ADS7846 Touchscreen"
|
|
44
|
+
Option "Calibration" "139 3891 4 3809"
|
|
45
|
+
Option "SwapAxes" "1"
|
|
46
|
+
Option "EmulateThirdButton" "1"
|
|
47
|
+
Option "EmulateThirdButtonTimeout" "1000"
|
|
48
|
+
Option "EmulateThirdButtonMoveThreshold" "300"
|
|
49
|
+
EndSection
|
|
50
|
+
```
|
|
51
|
+
Note: if a touch screen is still not calibrated correctly, please follow calibration instructions: [LINK](https://www.waveshare.com/wiki/5inch_HDMI_LCD).
|
|
52
|
+
|
|
53
|
+
The touch screen is initially rotated by 180 degrees. To rotate the screen, you have to truncate <i>/etc/xdg/-lxsession/LXDE-pi/autostart</i> file. After doing that, you have to add the following two lines to the file:
|
|
54
|
+
```
|
|
55
|
+
@xrandr -o 2
|
|
56
|
+
@xcompmgr -C -c -o 0.5 -l -19 -t -10 -r 14 -f -O 0.05 -I 0.05
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### Installation of AST-Monitor application
|
|
60
|
+
Since Raspberry Pi OS contains some technical limitations, AST-Monitor package cannot be installed directly using <i>pip</i> by executing the following command:
|
|
61
|
+
```sh
|
|
62
|
+
$ pip install ast-monitor
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Instead of that, AST-Monitor has to be downloaded manually by cloning the GitHub repository:
|
|
66
|
+
```sh
|
|
67
|
+
$ cd /home/pi/
|
|
68
|
+
$ git clone https://github.com/firefly-cpp/AST-Monitor.git
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
By using packet managers apt and apt-get, you have to download PyQt5 distribution and additional packages for Raspberry Pi OS:
|
|
72
|
+
```sh
|
|
73
|
+
$ sudo apt-get install python3-pyqt5
|
|
74
|
+
$ sudo apt install python3-pyqt5.qtsvg
|
|
75
|
+
$ sudo apt-get install libatlas-base-dev
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
Furthermore, you have to download additional packages using pip:
|
|
79
|
+
```sh
|
|
80
|
+
$ pip install geopy
|
|
81
|
+
$ pip install --no-dependencies pyqt-feedback-flow
|
|
82
|
+
$ pip install sport-activities-features
|
|
83
|
+
$ pip install -U numpy
|
|
84
|
+
$ pip install pyusb
|
|
85
|
+
$ pip install adafruit-circuitpython-gps
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
OBSOLETE: [openant](https://github.com/Tigge/openant) package has to be downloaded and installed manually using these commands:
|
|
89
|
+
```sh
|
|
90
|
+
$ git clone https://github.com/Tigge/openant
|
|
91
|
+
$ cd ./openant/
|
|
92
|
+
$ sudo python setup.py install
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### Automatic launch of AST-Monitor on start-up
|
|
96
|
+
In order to enable automatic launch of AST-Monitor application on start-up, the following line has to be appended to <i>/etc/xdg/lxsession/LXDE-pi/autostart</i>:
|
|
97
|
+
```
|
|
98
|
+
@python /home/pi/AST-Monitor/examples/run_example.py
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
### Automatic launch of scripts for reading GPS and heart rate data
|
|
102
|
+
To automatically launch the scripts that read and parse GPS and heart rate data, the following snippet has to be added to <i>/etc/profile</i>:
|
|
103
|
+
```sh
|
|
104
|
+
cd /home/pi/AST-Monitor/examples
|
|
105
|
+
nohup python /home/pi/AST-Monitor/examples/read_hr_data.py &
|
|
106
|
+
nohup python /home/pi/AST-Monitor/examples/read_gps_data.py &
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
Since by default, serial port 0 is disabled, you have to enable it by removing the line <i>console=serial0,115200</i> in <i>/boot/cmdline.txt</i>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2021-2024 Iztok Fister Jr., et al.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|