{"action":"created","issue":{"url":"https://api.github.com/repos/balandinodidonato/MyoMapper/issues/54","repository_url":"https://api.github.com/repos/balandinodidonato/MyoMapper","labels_url":"https://api.github.com/repos/balandinodidonato/MyoMapper/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/balandinodidonato/MyoMapper/issues/54/comments","events_url":"https://api.github.com/repos/balandinodidonato/MyoMapper/issues/54/events","html_url":"https://github.com/balandinodidonato/MyoMapper/issues/54","id":379572182,"node_id":"MDU6SXNzdWUzNzk1NzIxODI=","number":54,"title":"Difference between Wiki, Feature Window and actual data","user":{"login":"thebbg","id":17935464,"node_id":"MDQ6VXNlcjE3OTM1NDY0","avatar_url":"https://avatars1.githubusercontent.com/u/17935464?v=4","gravatar_id":"","url":"https://api.github.com/users/thebbg","html_url":"https://github.com/thebbg","followers_url":"https://api.github.com/users/thebbg/followers","following_url":"https://api.github.com/users/thebbg/following{/other_user}","gists_url":"https://api.github.com/users/thebbg/gists{/gist_id}","starred_url":"https://api.github.com/users/thebbg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thebbg/subscriptions","organizations_url":"https://api.github.com/users/thebbg/orgs","repos_url":"https://api.github.com/users/thebbg/repos","events_url":"https://api.github.com/users/thebbg/events{/privacy}","received_events_url":"https://api.github.com/users/thebbg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-11T22:46:02Z","updated_at":"2018-11-13T18:32:07Z","closed_at":null,"author_association":"NONE","body":"Hey Balandino,\r\n\r\nI've started reusing the mapper a few months ago. I couldn't help but notice there are a few disparities between the information from the different platforms. I just tested everything out, basing my test on the Features window in the Myo Mapper V3. Everything was runned on macOS High Sierra, with updated myo's and the Myo Mapper V3.1.6.\r\n\r\nThe followings show up in the Features window but are absent from the wiki :\r\n-emg/raw/mavg\r\n-emg/scaled/abs/fod\r\n-emg/scaled/fod/mavg\r\n-emg/scaled/abs/mavg\r\n-emg/scaled/abs/mav/mavg\r\n-emg/scaled/abs/mav/fod/mavg\r\n\r\nThe following send no data to the specified address:\r\n-emg/scaled/abs/mav\r\n\r\nThe followings have data formated then what's specified on the wiki:\r\n-acceleration/raw/fod : from -128 to 127 instead of -16 to 16. Also wrong address in the wiki\r\n-acceleration/scaled/fod : range from -4 to 4 instead of 0 to 1\r\n-acceleration/scaled/fod/mavg : the lowest value actually goes a bit lower than 0\r\n-gyro/raw : maximums reach a bit higher than 2000\r\n-gyro/scaled : maximums reach a bit higher than 2000\r\n-gyro/scaled/abs : maximums reach a bit higher than 2000\r\n-gyro/scaled/fod : range from -2.xx to 1.xx instead of 0 to 1\r\n-gyro/scaled/mavg : the address is wrong on the wiki (aavg instead of mavg)\r\n-emg/raw/zcr : data is always positive\r\n-emg/raw/zcr/mavg : data is always positive\r\n-emg/scaled : some data reach a bit lower than 0\r\n-emg/scaled/abs : some data reach a bit higher than 1\r\n-emg/scaled/abs/max : some data reach a bit higher than 1\r\n-emg/scaled/abs/fod : range is from -4 to 4 (might be good but it's not in the wiki so can't say for sure)\r\n-emg/scaled/abs/mav/fod : range from -2 to 2 instead of 0 to 1\r\n\r\nThere you have it. It's a bunch of small issues, but until there resolved, I hope this list will reduce the number of people trying to understand what is going on.\r\nAt least all the raw data's work fine so that's a good start.\r\n\r\nAlso, I only tested with 1 myo connected as I saw there were issues with the data control if 2 myos were plugged (so other thread).\r\n\r\nFinally, it could be interesting to add a formula or something of the kind in the wiki showing how each set of data is extracted. It could help using the said data. Just a suggestion though.\r\n\r\nCheers, thank for the app again. Despite the problems, it is a very useful tool!"},"comment":{"url":"https://api.github.com/repos/balandinodidonato/MyoMapper/issues/comments/438385200","html_url":"https://github.com/balandinodidonato/MyoMapper/issues/54#issuecomment-438385200","issue_url":"https://api.github.com/repos/balandinodidonato/MyoMapper/issues/54","id":438385200,"node_id":"MDEyOklzc3VlQ29tbWVudDQzODM4NTIwMA==","user":{"login":"thebbg","id":17935464,"node_id":"MDQ6VXNlcjE3OTM1NDY0","avatar_url":"https://avatars1.githubusercontent.com/u/17935464?v=4","gravatar_id":"","url":"https://api.github.com/users/thebbg","html_url":"https://github.com/thebbg","followers_url":"https://api.github.com/users/thebbg/followers","following_url":"https://api.github.com/users/thebbg/following{/other_user}","gists_url":"https://api.github.com/users/thebbg/gists{/gist_id}","starred_url":"https://api.github.com/users/thebbg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thebbg/subscriptions","organizations_url":"https://api.github.com/users/thebbg/orgs","repos_url":"https://api.github.com/users/thebbg/repos","events_url":"https://api.github.com/users/thebbg/events{/privacy}","received_events_url":"https://api.github.com/users/thebbg/received_events","type":"User","site_admin":false},"created_at":"2018-11-13T18:32:07Z","updated_at":"2018-11-13T18:32:07Z","author_association":"NONE","body":"Wow, that's quick!\r\n\r\nFor the test, I use the same procedure for all addresses. Started with an array of arrays that looked like this ( [3000, -3000], [3000, -3000], [3000, -3000], [3000, -3000], [3000, -3000], [3000, -3000], [3000, -3000],[3000, -3000] ).\r\n\r\nThen I had a function scanning the data coming in and looking for minimums and maximum. Every new mins and max were recorded in the corresponding index in the original arrays. Then I dummy proofed every data, making all kind of gesture, from slow to fast and small to big. Don't think I would do gesture that big in performances, but it helps to know what the limits of the system were. The data I used in the previous post came from the results of those test. So for positions, only the first 3 arrays were changed, emgs used all of them and mavg's only the first one. I only reported the data collected from the array. So modification to it or anything.\r\n\r\nI don't have much time today to check it out, but I can redo the test and send some screenshots. I'm working with Python 3.6 using the Pyo audio library, I can send you the patch with the results if you want to, or only screenshots.\r\n\r\nFor the values that went a bit higher than the supposed maximums, it never reach 2001 if we use the gyro for example, but it reached a bit higher than 2000, something like 2000,000234543524144, so it wasn't that much higher, but still was a bit. It was the same for pretty much the same for all of those I didn't give specific numbers, be it maximums or mimimums.\r\n\r\nI can see you release v3.1.9 for macOS. I'll download it and run the test again tomorrow, will be back with the results, screenshot and I'll keep in memory all the data so you can have a look for yourself.\r\n\r\nAs for the formulas, I would be mostly curious about the way you calculate the velocity. I'm using it to detect movement and its working great, just sad that it stops working well with 2 myo's. Until the problem can be solved, I'm gonna try to implement it directly in my patch using raw datas, so if I had the same formula than you have that would be great, wouldn't need to recalibrate all of it :)\r\n\r\nThanks for you quick work. That is amazing! =D\r\n"}}
{"actor":{"display_login":"thebbg"}}