You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During parsing of a specific TCX file (3065.tcx, attached below, taken from Sport5, folder 1 I got a weird value for average speed. I've attached screenshots and code for my comparison between average speeds from TCXReader library and sport-activities-features library.
As you can see the marked values for total distance and average speed are different between both approaches. Other values seem fine.
However, if it is relevant here, both differ from the average and maximum speeds in the file.
Description
During parsing of a specific TCX file (3065.tcx, attached below, taken from Sport5, folder 1 I got a weird value for average speed. I've attached screenshots and code for my comparison between average speeds from TCXReader library and sport-activities-features library.
As you can see the marked values for total distance and average speed are different between both approaches. Other values seem fine.
However, if it is relevant here, both differ from the average and maximum speeds in the file.
![image](https://private-user-images.githubusercontent.com/82605811/393044880-fb9b2256-27b0-4c03-9532-b978f029b184.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMTgwNTIsIm5iZiI6MTczOTMxNzc1MiwicGF0aCI6Ii84MjYwNTgxMS8zOTMwNDQ4ODAtZmI5YjIyNTYtMjdiMC00YzAzLTk1MzItYjk3OGYwMjliMTg0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDIzNDkxMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTAxYmQzOTJjMDgxYTk5MWZlZTczNzg2Njg2ZmFjMzk5ZGM3OTEzNzIwZWRkZDc0NTRhODNiMmYwY2YxMWY1YzkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.k0attUi1B45yKIIaF2kIUyzBd5D156SYFFqIM_k6Ew4)
File
3065.tcx.zip
Code
Code I've used for testing:
The text was updated successfully, but these errors were encountered: