{"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":115,"created_at":"2018-08-12T09:42:20Z","updated_at":"2018-09-12T08:53:44Z","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/420567056","html_url":"https://github.com/wernerdaehn/CC3D-CableCam-Controller/issues/30#issuecomment-420567056","issue_url":"https://api.github.com/repos/wernerdaehn/CC3D-CableCam-Controller/issues/30","id":420567056,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDU2NzA1Ng==","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-09-12T08:53:44Z","updated_at":"2018-09-12T08:53:44Z","author_association":"OWNER","body":"I uploaded a new version. I finally understand what was going on with the VESC or the communication in general. As soon as there is just a little problem, e.g. one bit wrong in the UART line and hence noise error, the receive was interrupted. So I have to restart it. This does not happen in operations but for example when you boot the board via USB and the VESC is not powered. Then the cables might receive noise, receive stops with error, you plugin the VESC but nobody is listening.\r\n\r\nI have not tested it on the rope, so be very careful. Will continue testing tonight."}}
{"actor":{"display_login":"wernerdaehn"}}