broutes 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/lib/broutes/formats/factory.rb +22 -0
- data/lib/broutes/formats/fit_file.rb +41 -0
- data/lib/broutes/formats/gpx_route.rb +9 -0
- data/lib/broutes/formats/gpx_track.rb +30 -0
- data/lib/broutes/formats/tcx.rb +96 -0
- data/lib/broutes/formats.rb +9 -0
- data/lib/broutes/geo_point.rb +56 -0
- data/lib/broutes/geo_route.rb +109 -0
- data/lib/broutes/maths.rb +26 -0
- data/lib/broutes/version.rb +3 -0
- data/lib/broutes.rb +26 -0
- data/spec/broutes/formats/factory_spec.rb +34 -0
- data/spec/broutes/formats/fit_file_spec.rb +54 -0
- data/spec/broutes/formats/gpx_route_spec.rb +7 -0
- data/spec/broutes/formats/gpx_track_spec.rb +63 -0
- data/spec/broutes/formats/tcx_spec.rb +152 -0
- data/spec/broutes/geo_point_spec.rb +68 -0
- data/spec/broutes/geo_route_spec.rb +190 -0
- data/spec/broutes/maths_spec.rb +16 -0
- data/spec/broutes_spec.rb +26 -0
- data/spec/spec_helper.rb +48 -0
- data/spec/support/garmin_training_center.tcx +115353 -0
- data/spec/support/gpx_route.xml +755 -0
- data/spec/support/no_gps_coordinates.tcx +264 -0
- data/spec/support/sample fit read log.txt +18 -0
- data/spec/support/sample.fit +0 -0
- data/spec/support/single_lap.tcx +10732 -0
- data/spec/support/single_lap_gpx_track.gpx +11087 -0
- data/spec/support/single_lap_gpx_track_no_elevation.gpx +2 -0
- data/spec/support/summary_no_points.tcx +52 -0
- metadata +119 -0
@@ -0,0 +1,264 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
2
|
+
<TrainingCenterDatabase xmlns="http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2 http://www.garmin.com/xmlschemas/TrainingCenterDatabasev2.xsd">
|
3
|
+
|
4
|
+
<Activities>
|
5
|
+
<Activity Sport="Biking">
|
6
|
+
<Id>2013-01-04T18:49:19Z</Id>
|
7
|
+
<Lap StartTime="2013-01-04T18:49:19Z">
|
8
|
+
<TotalTimeSeconds>651.8900000</TotalTimeSeconds>
|
9
|
+
<DistanceMeters>0.0000000</DistanceMeters>
|
10
|
+
<MaximumSpeed>0.0000000</MaximumSpeed>
|
11
|
+
<Calories>0</Calories>
|
12
|
+
<AverageHeartRateBpm xsi:type="HeartRateInBeatsPerMinute_t">
|
13
|
+
<Value>150</Value>
|
14
|
+
</AverageHeartRateBpm>
|
15
|
+
<MaximumHeartRateBpm xsi:type="HeartRateInBeatsPerMinute_t">
|
16
|
+
<Value>159</Value>
|
17
|
+
</MaximumHeartRateBpm>
|
18
|
+
<Intensity>Active</Intensity>
|
19
|
+
<TriggerMethod>Manual</TriggerMethod>
|
20
|
+
<Track>
|
21
|
+
<Trackpoint>
|
22
|
+
<Time>2013-01-04T18:49:19Z</Time>
|
23
|
+
<AltitudeMeters>-128.1987305</AltitudeMeters>
|
24
|
+
<DistanceMeters>0.0000000</DistanceMeters>
|
25
|
+
<HeartRateBpm xsi:type="HeartRateInBeatsPerMinute_t">
|
26
|
+
<Value>131</Value>
|
27
|
+
</HeartRateBpm>
|
28
|
+
<SensorState>Absent</SensorState>
|
29
|
+
</Trackpoint>
|
30
|
+
<Trackpoint>
|
31
|
+
<Time>2013-01-04T18:49:20Z</Time>
|
32
|
+
<AltitudeMeters>-128.1987305</AltitudeMeters>
|
33
|
+
<DistanceMeters>0.0000000</DistanceMeters>
|
34
|
+
<HeartRateBpm xsi:type="HeartRateInBeatsPerMinute_t">
|
35
|
+
<Value>131</Value>
|
36
|
+
</HeartRateBpm>
|
37
|
+
<SensorState>Absent</SensorState>
|
38
|
+
</Trackpoint>
|
39
|
+
<Trackpoint>
|
40
|
+
<Time>2013-01-04T18:49:41Z</Time>
|
41
|
+
<AltitudeMeters>-128.6793213</AltitudeMeters>
|
42
|
+
<DistanceMeters>0.0000000</DistanceMeters>
|
43
|
+
<HeartRateBpm xsi:type="HeartRateInBeatsPerMinute_t">
|
44
|
+
<Value>134</Value>
|
45
|
+
</HeartRateBpm>
|
46
|
+
<SensorState>Absent</SensorState>
|
47
|
+
</Trackpoint>
|
48
|
+
<Trackpoint>
|
49
|
+
<Time>2013-01-04T18:49:55Z</Time>
|
50
|
+
<AltitudeMeters>-128.6793213</AltitudeMeters>
|
51
|
+
<DistanceMeters>0.0000000</DistanceMeters>
|
52
|
+
<HeartRateBpm xsi:type="HeartRateInBeatsPerMinute_t">
|
53
|
+
<Value>137</Value>
|
54
|
+
</HeartRateBpm>
|
55
|
+
<SensorState>Absent</SensorState>
|
56
|
+
</Trackpoint>
|
57
|
+
<Trackpoint>
|
58
|
+
<Time>2013-01-04T18:50:01Z</Time>
|
59
|
+
<AltitudeMeters>-128.6793213</AltitudeMeters>
|
60
|
+
<DistanceMeters>0.0000000</DistanceMeters>
|
61
|
+
<HeartRateBpm xsi:type="HeartRateInBeatsPerMinute_t">
|
62
|
+
<Value>140</Value>
|
63
|
+
</HeartRateBpm>
|
64
|
+
<SensorState>Absent</SensorState>
|
65
|
+
</Trackpoint>
|
66
|
+
<Trackpoint>
|
67
|
+
<Time>2013-01-04T18:50:09Z</Time>
|
68
|
+
<AltitudeMeters>-128.6793213</AltitudeMeters>
|
69
|
+
<DistanceMeters>0.0000000</DistanceMeters>
|
70
|
+
<HeartRateBpm xsi:type="HeartRateInBeatsPerMinute_t">
|
71
|
+
<Value>143</Value>
|
72
|
+
</HeartRateBpm>
|
73
|
+
<SensorState>Absent</SensorState>
|
74
|
+
</Trackpoint>
|
75
|
+
<Trackpoint>
|
76
|
+
<Time>2013-01-04T18:50:21Z</Time>
|
77
|
+
<AltitudeMeters>-129.1600342</AltitudeMeters>
|
78
|
+
<DistanceMeters>0.0000000</DistanceMeters>
|
79
|
+
<HeartRateBpm xsi:type="HeartRateInBeatsPerMinute_t">
|
80
|
+
<Value>146</Value>
|
81
|
+
</HeartRateBpm>
|
82
|
+
<SensorState>Absent</SensorState>
|
83
|
+
</Trackpoint>
|
84
|
+
<Trackpoint>
|
85
|
+
<Time>2013-01-04T18:50:28Z</Time>
|
86
|
+
<AltitudeMeters>-128.6793213</AltitudeMeters>
|
87
|
+
<DistanceMeters>0.0000000</DistanceMeters>
|
88
|
+
<HeartRateBpm xsi:type="HeartRateInBeatsPerMinute_t">
|
89
|
+
<Value>149</Value>
|
90
|
+
</HeartRateBpm>
|
91
|
+
<SensorState>Absent</SensorState>
|
92
|
+
</Trackpoint>
|
93
|
+
<Trackpoint>
|
94
|
+
<Time>2013-01-04T18:50:43Z</Time>
|
95
|
+
<AltitudeMeters>-129.1600342</AltitudeMeters>
|
96
|
+
<DistanceMeters>0.0000000</DistanceMeters>
|
97
|
+
<HeartRateBpm xsi:type="HeartRateInBeatsPerMinute_t">
|
98
|
+
<Value>152</Value>
|
99
|
+
</HeartRateBpm>
|
100
|
+
<SensorState>Absent</SensorState>
|
101
|
+
</Trackpoint>
|
102
|
+
<Trackpoint>
|
103
|
+
<Time>2013-01-04T18:51:14Z</Time>
|
104
|
+
<AltitudeMeters>-129.6407471</AltitudeMeters>
|
105
|
+
<DistanceMeters>0.0000000</DistanceMeters>
|
106
|
+
<HeartRateBpm xsi:type="HeartRateInBeatsPerMinute_t">
|
107
|
+
<Value>154</Value>
|
108
|
+
</HeartRateBpm>
|
109
|
+
<SensorState>Absent</SensorState>
|
110
|
+
</Trackpoint>
|
111
|
+
<Trackpoint>
|
112
|
+
<Time>2013-01-04T18:51:47Z</Time>
|
113
|
+
<AltitudeMeters>-129.6407471</AltitudeMeters>
|
114
|
+
<DistanceMeters>0.0000000</DistanceMeters>
|
115
|
+
<HeartRateBpm xsi:type="HeartRateInBeatsPerMinute_t">
|
116
|
+
<Value>151</Value>
|
117
|
+
</HeartRateBpm>
|
118
|
+
<SensorState>Absent</SensorState>
|
119
|
+
</Trackpoint>
|
120
|
+
<Trackpoint>
|
121
|
+
<Time>2013-01-04T18:55:42Z</Time>
|
122
|
+
<AltitudeMeters>-129.1600342</AltitudeMeters>
|
123
|
+
<DistanceMeters>0.0000000</DistanceMeters>
|
124
|
+
<HeartRateBpm xsi:type="HeartRateInBeatsPerMinute_t">
|
125
|
+
<Value>148</Value>
|
126
|
+
</HeartRateBpm>
|
127
|
+
<SensorState>Absent</SensorState>
|
128
|
+
</Trackpoint>
|
129
|
+
<Trackpoint>
|
130
|
+
<Time>2013-01-04T18:56:15Z</Time>
|
131
|
+
<AltitudeMeters>-129.1600342</AltitudeMeters>
|
132
|
+
<DistanceMeters>0.0000000</DistanceMeters>
|
133
|
+
<HeartRateBpm xsi:type="HeartRateInBeatsPerMinute_t">
|
134
|
+
<Value>151</Value>
|
135
|
+
</HeartRateBpm>
|
136
|
+
<SensorState>Absent</SensorState>
|
137
|
+
</Trackpoint>
|
138
|
+
<Trackpoint>
|
139
|
+
<Time>2013-01-04T18:56:25Z</Time>
|
140
|
+
<AltitudeMeters>-129.1600342</AltitudeMeters>
|
141
|
+
<DistanceMeters>0.0000000</DistanceMeters>
|
142
|
+
<HeartRateBpm xsi:type="HeartRateInBeatsPerMinute_t">
|
143
|
+
<Value>154</Value>
|
144
|
+
</HeartRateBpm>
|
145
|
+
<SensorState>Absent</SensorState>
|
146
|
+
</Trackpoint>
|
147
|
+
<Trackpoint>
|
148
|
+
<Time>2013-01-04T18:57:45Z</Time>
|
149
|
+
<AltitudeMeters>-129.1600342</AltitudeMeters>
|
150
|
+
<DistanceMeters>0.0000000</DistanceMeters>
|
151
|
+
<HeartRateBpm xsi:type="HeartRateInBeatsPerMinute_t">
|
152
|
+
<Value>157</Value>
|
153
|
+
</HeartRateBpm>
|
154
|
+
<SensorState>Absent</SensorState>
|
155
|
+
</Trackpoint>
|
156
|
+
<Trackpoint>
|
157
|
+
<Time>2013-01-04T18:58:30Z</Time>
|
158
|
+
<AltitudeMeters>-129.6407471</AltitudeMeters>
|
159
|
+
<DistanceMeters>0.0000000</DistanceMeters>
|
160
|
+
<HeartRateBpm xsi:type="HeartRateInBeatsPerMinute_t">
|
161
|
+
<Value>154</Value>
|
162
|
+
</HeartRateBpm>
|
163
|
+
<SensorState>Absent</SensorState>
|
164
|
+
</Trackpoint>
|
165
|
+
<Trackpoint>
|
166
|
+
<Time>2013-01-04T18:58:51Z</Time>
|
167
|
+
<AltitudeMeters>-129.6407471</AltitudeMeters>
|
168
|
+
<DistanceMeters>0.0000000</DistanceMeters>
|
169
|
+
<HeartRateBpm xsi:type="HeartRateInBeatsPerMinute_t">
|
170
|
+
<Value>151</Value>
|
171
|
+
</HeartRateBpm>
|
172
|
+
<SensorState>Absent</SensorState>
|
173
|
+
</Trackpoint>
|
174
|
+
<Trackpoint>
|
175
|
+
<Time>2013-01-04T18:59:58Z</Time>
|
176
|
+
<AltitudeMeters>-128.6793213</AltitudeMeters>
|
177
|
+
<DistanceMeters>0.0000000</DistanceMeters>
|
178
|
+
<HeartRateBpm xsi:type="HeartRateInBeatsPerMinute_t">
|
179
|
+
<Value>148</Value>
|
180
|
+
</HeartRateBpm>
|
181
|
+
<SensorState>Absent</SensorState>
|
182
|
+
</Trackpoint>
|
183
|
+
<Trackpoint>
|
184
|
+
<Time>2013-01-04T19:00:00Z</Time>
|
185
|
+
<AltitudeMeters>-129.1600342</AltitudeMeters>
|
186
|
+
<DistanceMeters>0.0000000</DistanceMeters>
|
187
|
+
<HeartRateBpm xsi:type="HeartRateInBeatsPerMinute_t">
|
188
|
+
<Value>144</Value>
|
189
|
+
</HeartRateBpm>
|
190
|
+
<SensorState>Absent</SensorState>
|
191
|
+
</Trackpoint>
|
192
|
+
<Trackpoint>
|
193
|
+
<Time>2013-01-04T19:00:04Z</Time>
|
194
|
+
<AltitudeMeters>-129.1600342</AltitudeMeters>
|
195
|
+
<DistanceMeters>0.0000000</DistanceMeters>
|
196
|
+
<HeartRateBpm xsi:type="HeartRateInBeatsPerMinute_t">
|
197
|
+
<Value>141</Value>
|
198
|
+
</HeartRateBpm>
|
199
|
+
<SensorState>Absent</SensorState>
|
200
|
+
</Trackpoint>
|
201
|
+
<Trackpoint>
|
202
|
+
<Time>2013-01-04T19:00:06Z</Time>
|
203
|
+
<AltitudeMeters>-128.6793213</AltitudeMeters>
|
204
|
+
<DistanceMeters>0.0000000</DistanceMeters>
|
205
|
+
<HeartRateBpm xsi:type="HeartRateInBeatsPerMinute_t">
|
206
|
+
<Value>138</Value>
|
207
|
+
</HeartRateBpm>
|
208
|
+
<SensorState>Absent</SensorState>
|
209
|
+
</Trackpoint>
|
210
|
+
<Trackpoint>
|
211
|
+
<Time>2013-01-04T19:00:09Z</Time>
|
212
|
+
<AltitudeMeters>-128.6793213</AltitudeMeters>
|
213
|
+
<DistanceMeters>0.0000000</DistanceMeters>
|
214
|
+
<HeartRateBpm xsi:type="HeartRateInBeatsPerMinute_t">
|
215
|
+
<Value>135</Value>
|
216
|
+
</HeartRateBpm>
|
217
|
+
<SensorState>Absent</SensorState>
|
218
|
+
</Trackpoint>
|
219
|
+
<Trackpoint>
|
220
|
+
<Time>2013-01-04T19:00:11Z</Time>
|
221
|
+
<AltitudeMeters>-128.6793213</AltitudeMeters>
|
222
|
+
<DistanceMeters>0.0000000</DistanceMeters>
|
223
|
+
<HeartRateBpm xsi:type="HeartRateInBeatsPerMinute_t">
|
224
|
+
<Value>134</Value>
|
225
|
+
</HeartRateBpm>
|
226
|
+
<SensorState>Absent</SensorState>
|
227
|
+
</Trackpoint>
|
228
|
+
<Trackpoint>
|
229
|
+
<Time>2013-01-04T19:00:12Z</Time>
|
230
|
+
</Trackpoint>
|
231
|
+
</Track>
|
232
|
+
</Lap>
|
233
|
+
<Creator xsi:type="Device_t">
|
234
|
+
<Name>Adrian's 305</Name>
|
235
|
+
<UnitId>3304170408</UnitId>
|
236
|
+
<ProductID>450</ProductID>
|
237
|
+
<Version>
|
238
|
+
<VersionMajor>3</VersionMajor>
|
239
|
+
<VersionMinor>20</VersionMinor>
|
240
|
+
<BuildMajor>0</BuildMajor>
|
241
|
+
<BuildMinor>0</BuildMinor>
|
242
|
+
</Version>
|
243
|
+
</Creator>
|
244
|
+
</Activity>
|
245
|
+
</Activities>
|
246
|
+
|
247
|
+
<Author xsi:type="Application_t">
|
248
|
+
<Name>Garmin Communicator Plugin</Name>
|
249
|
+
<Build>
|
250
|
+
<Version>
|
251
|
+
<VersionMajor>4</VersionMajor>
|
252
|
+
<VersionMinor>0</VersionMinor>
|
253
|
+
<BuildMajor>4</BuildMajor>
|
254
|
+
<BuildMinor>0</BuildMinor>
|
255
|
+
</Version>
|
256
|
+
<Type>Release</Type>
|
257
|
+
<Time>Nov 2 2012, 10:47:40</Time>
|
258
|
+
<Builder>sqa</Builder>
|
259
|
+
</Build>
|
260
|
+
<LangID>en</LangID>
|
261
|
+
<PartNumber>006-A0162-00</PartNumber>
|
262
|
+
</Author>
|
263
|
+
|
264
|
+
</TrainingCenterDatabase>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
#<Fit::File::Record:0x007ff0e05e9c18 @header={"header_type"=>0, "message_type"=>0, "local_message_type"=>0}, @content=nil>
|
2
|
+
#<Fit::File::Record:0x007ff0e05ebd38 @header={"header_type"=>0, "message_type"=>0, "local_message_type"=>0}, @content=nil>
|
3
|
+
#<Fit::File::Record:0x007ff0e05fb828 @header={"header_type"=>0, "message_type"=>1, "local_message_type"=>0}, @content={"architecture"=>0, "global_message_number"=>0, "field_count"=>6, "fields"=>[{"field_definition_number"=>3, "field_size"=>4, "endian_ability"=>1, "base_type_number"=>12}, {"field_definition_number"=>4, "field_size"=>4, "endian_ability"=>1, "base_type_number"=>6}, {"field_definition_number"=>1, "field_size"=>2, "endian_ability"=>1, "base_type_number"=>4}, {"field_definition_number"=>2, "field_size"=>2, "endian_ability"=>1, "base_type_number"=>4}, {"field_definition_number"=>5, "field_size"=>2, "endian_ability"=>1, "base_type_number"=>4}, {"field_definition_number"=>0, "field_size"=>1, "endian_ability"=>0, "base_type_number"=>0}]}>
|
4
|
+
#<Fit::File::Record:0x007ff0e068fac8 @header={"header_type"=>0, "message_type"=>0, "local_message_type"=>0}, @content={"raw_serial_number"=>3801962338, "raw_time_created"=>720864436, "raw_manufacturer"=>1, "raw_garmin_product"=>1036, "raw_number"=>65535, "raw_type"=>4}>
|
5
|
+
#<Fit::File::Record:0x007ff0e069edc0 @header={"header_type"=>0, "message_type"=>1, "local_message_type"=>1}, @content={"architecture"=>0, "global_message_number"=>49, "field_count"=>2, "fields"=>[{"field_definition_number"=>0, "field_size"=>2, "endian_ability"=>1, "base_type_number"=>4}, {"field_definition_number"=>1, "field_size"=>1, "endian_ability"=>0, "base_type_number"=>2}]}>
|
6
|
+
#<Fit::File::Record:0x007ff0e00a3e48 @header={"header_type"=>0, "message_type"=>0, "local_message_type"=>1}, @content={"raw_software_version"=>300, "raw_hardware_version"=>255}>
|
7
|
+
#<Fit::File::Record:0x007ff0e00b2fd8 @header={"header_type"=>0, "message_type"=>1, "local_message_type"=>2}, @content={"architecture"=>0, "global_message_number"=>21, "field_count"=>5, "fields"=>[{"field_definition_number"=>253, "field_size"=>4, "endian_ability"=>1, "base_type_number"=>6}, {"field_definition_number"=>3, "field_size"=>4, "endian_ability"=>1, "base_type_number"=>6}, {"field_definition_number"=>0, "field_size"=>1, "endian_ability"=>0, "base_type_number"=>0}, {"field_definition_number"=>1, "field_size"=>1, "endian_ability"=>0, "base_type_number"=>0}, {"field_definition_number"=>4, "field_size"=>1, "endian_ability"=>0, "base_type_number"=>2}]}>
|
8
|
+
#<Fit::File::Record:0x007ff0e06c5a88 @header={"header_type"=>0, "message_type"=>0, "local_message_type"=>2}, @content={"raw_timestamp"=>720864437, "raw_fitness_equipment_state"=>0, "raw_event"=>0, "raw_event_type"=>0, "raw_event_group"=>0}>
|
9
|
+
#<Fit::File::Record:0x007ff0e06c9340 @header={"header_type"=>0, "message_type"=>1, "local_message_type"=>3}, @content={"architecture"=>0, "global_message_number"=>23, "field_count"=>15, "fields"=>[{"field_definition_number"=>253, "field_size"=>4, "endian_ability"=>1, "base_type_number"=>6}, {"field_definition_number"=>3, "field_size"=>4, "endian_ability"=>1, "base_type_number"=>12}, {"field_definition_number"=>7, "field_size"=>4, "endian_ability"=>1, "base_type_number"=>6}, {"field_definition_number"=>8, "field_size"=>4, "endian_ability"=>1, "base_type_number"=>6}, {"field_definition_number"=>15, "field_size"=>4, "endian_ability"=>1, "base_type_number"=>6}, {"field_definition_number"=>16, "field_size"=>4, "endian_ability"=>1, "base_type_number"=>6}, {"field_definition_number"=>2, "field_size"=>2, "endian_ability"=>1, "base_type_number"=>4}, {"field_definition_number"=>4, "field_size"=>2, "endian_ability"=>1, "base_type_number"=>4}, {"field_definition_number"=>5, "field_size"=>2, "endian_ability"=>1, "base_type_number"=>4}, {"field_definition_number"=>10, "field_size"=>2, "endian_ability"=>1, "base_type_number"=>4}, {"field_definition_number"=>0, "field_size"=>1, "endian_ability"=>0, "base_type_number"=>2}, {"field_definition_number"=>1, "field_size"=>1, "endian_ability"=>0, "base_type_number"=>2}, {"field_definition_number"=>6, "field_size"=>1, "endian_ability"=>0, "base_type_number"=>2}, {"field_definition_number"=>9, "field_size"=>1, "endian_ability"=>0, "base_type_number"=>2}, {"field_definition_number"=>11, "field_size"=>1, "endian_ability"=>0, "base_type_number"=>2}]}>
|
10
|
+
#<Fit::File::Record:0x007ff0e0729588 @header={"header_type"=>0, "message_type"=>0, "local_message_type"=>3}, @content={"raw_timestamp"=>720864437, "raw_serial_number"=>3801962338, "raw_cum_operating_time"=>4294967295, "raw_field_8"=>4294967295, "raw_field_15"=>4294967295, "raw_field_16"=>4294967295, "raw_manufacturer"=>1, "raw_product"=>1036, "raw_software_version"=>300, "raw_battery_voltage"=>65535, "raw_device_index"=>0, "raw_device_type"=>1, "raw_hardware_version"=>255, "raw_field_9"=>255, "raw_battery_status"=>255}>
|
11
|
+
#<Fit::File::Record:0x007ff0e0133d18 @header={"header_type"=>0, "message_type"=>0, "local_message_type"=>3}, @content={"raw_timestamp"=>720864437, "raw_serial_number"=>0, "raw_cum_operating_time"=>4294967295, "raw_field_8"=>4294967295, "raw_field_15"=>4294967295, "raw_field_16"=>4294967295, "raw_manufacturer"=>65535, "raw_product"=>65535, "raw_software_version"=>65535, "raw_battery_voltage"=>65535, "raw_device_index"=>1, "raw_device_type"=>12, "raw_hardware_version"=>255, "raw_field_9"=>255, "raw_battery_status"=>255}>
|
12
|
+
#<Fit::File::Record:0x007ff0e013be78 @header={"header_type"=>0, "message_type"=>0, "local_message_type"=>3}, @content={"raw_timestamp"=>720864437, "raw_serial_number"=>0, "raw_cum_operating_time"=>4294967295, "raw_field_8"=>4294967295, "raw_field_15"=>4294967295, "raw_field_16"=>4294967295, "raw_manufacturer"=>1, "raw_product"=>979, "raw_software_version"=>230, "raw_battery_voltage"=>65535, "raw_device_index"=>2, "raw_device_type"=>12, "raw_hardware_version"=>255, "raw_field_9"=>255, "raw_battery_status"=>255}>
|
13
|
+
#<Fit::File::Record:0x007ff0e0148588 @header={"header_type"=>0, "message_type"=>0, "local_message_type"=>3}, @content={"raw_timestamp"=>720864437, "raw_serial_number"=>24650322, "raw_cum_operating_time"=>4294967295, "raw_field_8"=>4294967295, "raw_field_15"=>557, "raw_field_16"=>4294967295, "raw_manufacturer"=>65535, "raw_product"=>65535, "raw_software_version"=>65535, "raw_battery_voltage"=>65535, "raw_device_index"=>3, "raw_device_type"=>120, "raw_hardware_version"=>255, "raw_field_9"=>255, "raw_battery_status"=>255}>
|
14
|
+
#<Fit::File::Record:0x007ff0e014e0f0 @header={"header_type"=>0, "message_type"=>0, "local_message_type"=>3}, @content={"raw_timestamp"=>720864437, "raw_serial_number"=>84654400, "raw_cum_operating_time"=>4294967295, "raw_field_8"=>4294967295, "raw_field_15"=>539, "raw_field_16"=>9, "raw_manufacturer"=>65535, "raw_product"=>65535, "raw_software_version"=>65535, "raw_battery_voltage"=>65535, "raw_device_index"=>4, "raw_device_type"=>11, "raw_hardware_version"=>255, "raw_field_9"=>98, "raw_battery_status"=>255}>
|
15
|
+
#<Fit::File::Record:0x007ff0e0158a78 @header={"header_type"=>0, "message_type"=>1, "local_message_type"=>4}, @content={"architecture"=>0, "global_message_number"=>22, "field_count"=>10, "fields"=>[{"field_definition_number"=>253, "field_size"=>4, "endian_ability"=>1, "base_type_number"=>6}, {"field_definition_number"=>0, "field_size"=>1, "endian_ability"=>0, "base_type_number"=>2}, {"field_definition_number"=>1, "field_size"=>1, "endian_ability"=>0, "base_type_number"=>2}, {"field_definition_number"=>2, "field_size"=>1, "endian_ability"=>0, "base_type_number"=>2}, {"field_definition_number"=>3, "field_size"=>1, "endian_ability"=>0, "base_type_number"=>2}, {"field_definition_number"=>4, "field_size"=>1, "endian_ability"=>0, "base_type_number"=>2}, {"field_definition_number"=>5, "field_size"=>1, "endian_ability"=>0, "base_type_number"=>0}, {"field_definition_number"=>6, "field_size"=>1, "endian_ability"=>0, "base_type_number"=>2}, {"field_definition_number"=>7, "field_size"=>1, "endian_ability"=>0, "base_type_number"=>2}, {"field_definition_number"=>8, "field_size"=>1, "endian_ability"=>0, "base_type_number"=>2}]}>
|
16
|
+
#<Fit::File::Record:0x007ff0e1b52cd0 @header={"header_type"=>0, "message_type"=>0, "local_message_type"=>4}, @content={"raw_field_253"=>720864437, "raw_field_0"=>4, "raw_field_1"=>4, "raw_field_2"=>4, "raw_field_3"=>1, "raw_field_4"=>3, "raw_field_5"=>3, "raw_field_6"=>4, "raw_field_7"=>255, "raw_field_8"=>255}>
|
17
|
+
#<Fit::File::Record:0x007ff0e1ed3cd8 @header={"header_type"=>0, "message_type"=>1, "local_message_type"=>5}, @content={"architecture"=>0, "global_message_number"=>20, "field_count"=>10, "fields"=>[{"field_definition_number"=>253, "field_size"=>4, "endian_ability"=>1, "base_type_number"=>6}, {"field_definition_number"=>0, "field_size"=>4, "endian_ability"=>1, "base_type_number"=>5}, {"field_definition_number"=>1, "field_size"=>4, "endian_ability"=>1, "base_type_number"=>5}, {"field_definition_number"=>5, "field_size"=>4, "endian_ability"=>1, "base_type_number"=>6}, {"field_definition_number"=>2, "field_size"=>2, "endian_ability"=>1, "base_type_number"=>4}, {"field_definition_number"=>6, "field_size"=>2, "endian_ability"=>1, "base_type_number"=>4}, {"field_definition_number"=>7, "field_size"=>2, "endian_ability"=>1, "base_type_number"=>4}, {"field_definition_number"=>3, "field_size"=>1, "endian_ability"=>0, "base_type_number"=>2}, {"field_definition_number"=>4, "field_size"=>1, "endian_ability"=>0, "base_type_number"=>2}, {"field_definition_number"=>13, "field_size"=>1, "endian_ability"=>0, "base_type_number"=>1}]}>
|
18
|
+
#<Fit::File::Record:0x007ff0d9459c38 @header={"header_type"=>0, "message_type"=>0, "local_message_type"=>5}, @content={"raw_timestamp"=>720864437, "raw_position_lat"=>631481078, "raw_position_long"=>-14594771, "raw_distance"=>461, "raw_altitude"=>3156, "raw_speed"=>4611, "raw_power"=>76, "raw_heart_rate"=>73, "raw_cadence"=>53, "raw_temperature"=>10}>
|
Binary file
|