{"action":"created","issue":{"url":"https://api.github.com/repos/wernerdaehn/CC3D-CableCam-Controller/issues/30","repository_url":"https://api.github.com/repos/wernerdaehn/CC3D-CableCam-Controller","labels_url":"https://api.github.com/repos/wernerdaehn/CC3D-CableCam-Controller/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/wernerdaehn/CC3D-CableCam-Controller/issues/30/comments","events_url":"https://api.github.com/repos/wernerdaehn/CC3D-CableCam-Controller/issues/30/events","html_url":"https://github.com/wernerdaehn/CC3D-CableCam-Controller/issues/30","id":349799005,"node_id":"MDU6SXNzdWUzNDk3OTkwMDU=","number":30,"title":"Deceleration problem","user":{"login":"Willyfan","id":36896839,"node_id":"MDQ6VXNlcjM2ODk2ODM5","avatar_url":"https://avatars3.githubusercontent.com/u/36896839?v=4","gravatar_id":"","url":"https://api.github.com/users/Willyfan","html_url":"https://github.com/Willyfan","followers_url":"https://api.github.com/users/Willyfan/followers","following_url":"https://api.github.com/users/Willyfan/following{/other_user}","gists_url":"https://api.github.com/users/Willyfan/gists{/gist_id}","starred_url":"https://api.github.com/users/Willyfan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Willyfan/subscriptions","organizations_url":"https://api.github.com/users/Willyfan/orgs","repos_url":"https://api.github.com/users/Willyfan/repos","events_url":"https://api.github.com/users/Willyfan/events{/privacy}","received_events_url":"https://api.github.com/users/Willyfan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":66,"created_at":"2018-08-12T09:42:20Z","updated_at":"2018-08-23T15:12:47Z","closed_at":null,"author_association":"NONE","body":"During some test on the rope, I found a little problem with deceleration near to the end points. I see this in autoplay, but it is the same if you drive the cablecam to end points at max speed.\r\nThe problem is that the deceleration is not smooth, but a bit \"choppy\".\r\nI solved the problem rising the max allowed error parameters from 100 (default) to 300.\r\nNow the deceleration is smooth, but when the cablecam arrive to the end point speed is not zero (anyway is NEAR to zero) and it stop abruptly.\r\nMy mind is that the calculation for deceleration have some kind of error, so, if allowed error is low the board try to adjust speed creating the \"choppy\" deceleration. When max error is higher, The deceleration go until the cablecam don't is on the end point, but because this error speed is not zero, so the board brake in order to don't go over the end point.\r\nMy guess is that deceleration start too late, Or is less that we need. Maybe also cablecam inertia do something, anyway, is not possible to have a parameter for \"anticipate\" a bit the deceleration? Just for debug... "},"comment":{"url":"https://api.github.com/repos/wernerdaehn/CC3D-CableCam-Controller/issues/comments/415454384","html_url":"https://github.com/wernerdaehn/CC3D-CableCam-Controller/issues/30#issuecomment-415454384","issue_url":"https://api.github.com/repos/wernerdaehn/CC3D-CableCam-Controller/issues/30","id":415454384,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTQ1NDM4NA==","user":{"login":"wernerdaehn","id":13607767,"node_id":"MDQ6VXNlcjEzNjA3NzY3","avatar_url":"https://avatars3.githubusercontent.com/u/13607767?v=4","gravatar_id":"","url":"https://api.github.com/users/wernerdaehn","html_url":"https://github.com/wernerdaehn","followers_url":"https://api.github.com/users/wernerdaehn/followers","following_url":"https://api.github.com/users/wernerdaehn/following{/other_user}","gists_url":"https://api.github.com/users/wernerdaehn/gists{/gist_id}","starred_url":"https://api.github.com/users/wernerdaehn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wernerdaehn/subscriptions","organizations_url":"https://api.github.com/users/wernerdaehn/orgs","repos_url":"https://api.github.com/users/wernerdaehn/repos","events_url":"https://api.github.com/users/wernerdaehn/events{/privacy}","received_events_url":"https://api.github.com/users/wernerdaehn/received_events","type":"User","site_admin":false},"created_at":"2018-08-23T15:12:47Z","updated_at":"2018-08-23T15:12:47Z","author_association":"OWNER","body":"I can't find the error because there is none. I just ran a test where I output every single position information and the speed is correct. So yes, please try with the currently available firmware, the one that is using the pos difference only.\r\n\r\nMeanwhile I will make code changes to reduce the variability in the speed measurements. The root cause of that is due to the fact we do not run the code at 50Hz but less."}}
{"actor":{"display_login":"wernerdaehn"}}