{"action":"closed","issue":{"url":"https://api.github.com/repos/wowczarek/ptpd/issues/12","repository_url":"https://api.github.com/repos/wowczarek/ptpd","labels_url":"https://api.github.com/repos/wowczarek/ptpd/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/wowczarek/ptpd/issues/12/comments","events_url":"https://api.github.com/repos/wowczarek/ptpd/issues/12/events","html_url":"https://github.com/wowczarek/ptpd/issues/12","id":285392776,"number":12,"title":"cannot understand piservo.c","user":{"login":"linchen1981","id":34709410,"avatar_url":"https://avatars2.githubusercontent.com/u/34709410?v=4","gravatar_id":"","url":"https://api.github.com/users/linchen1981","html_url":"https://github.com/linchen1981","followers_url":"https://api.github.com/users/linchen1981/followers","following_url":"https://api.github.com/users/linchen1981/following{/other_user}","gists_url":"https://api.github.com/users/linchen1981/gists{/gist_id}","starred_url":"https://api.github.com/users/linchen1981/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linchen1981/subscriptions","organizations_url":"https://api.github.com/users/linchen1981/orgs","repos_url":"https://api.github.com/users/linchen1981/repos","events_url":"https://api.github.com/users/linchen1981/events{/privacy}","received_events_url":"https://api.github.com/users/linchen1981/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-01-02T10:06:03Z","updated_at":"2018-02-12T10:03:32Z","closed_at":"2018-02-12T10:03:32Z","author_association":"NONE","body":"Hi All,\r\nI am working to bringup ptpd application with my hardware PTP feature, I am confused about the PI calculation in the source codes, \r\nthere is calculation in the source file as blow,\r\n    self->integral += (self->tau / self->delayFactor) * ((input + 0.0 ) * self->kI);\r\n    self->output = (self->kP * (input + 0.0) ) + self->integral;\r\n\r\nbut what are kP and kI and what should be the value? "}}
{"actor":{"display_login":"linchen1981"}}