{"action":"created","issue":{"url":"https://api.github.com/repos/br3ttb/Arduino-PID-Library/issues/69","repository_url":"https://api.github.com/repos/br3ttb/Arduino-PID-Library","labels_url":"https://api.github.com/repos/br3ttb/Arduino-PID-Library/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/br3ttb/Arduino-PID-Library/issues/69/comments","events_url":"https://api.github.com/repos/br3ttb/Arduino-PID-Library/issues/69/events","html_url":"https://github.com/br3ttb/Arduino-PID-Library/issues/69","id":293694900,"number":69,"title":"Can't use two instances of PID at once?","user":{"login":"xoxota99","id":3106132,"avatar_url":"https://avatars1.githubusercontent.com/u/3106132?v=4","gravatar_id":"","url":"https://api.github.com/users/xoxota99","html_url":"https://github.com/xoxota99","followers_url":"https://api.github.com/users/xoxota99/followers","following_url":"https://api.github.com/users/xoxota99/following{/other_user}","gists_url":"https://api.github.com/users/xoxota99/gists{/gist_id}","starred_url":"https://api.github.com/users/xoxota99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xoxota99/subscriptions","organizations_url":"https://api.github.com/users/xoxota99/orgs","repos_url":"https://api.github.com/users/xoxota99/repos","events_url":"https://api.github.com/users/xoxota99/events{/privacy}","received_events_url":"https://api.github.com/users/xoxota99/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-01T21:46:09Z","updated_at":"2018-03-26T21:40:24Z","closed_at":"2018-03-26T21:40:24Z","author_association":"NONE","body":"I'm trying to use two independent instances of the PID controller (one for X axis, and one for Y axis) to control a ball-on-plate system (similar to https://www.youtube.com/watch?v=K-F_T59ZDPw&t=74s ). I've found that I can get the X-axis working, or the Y axis, but whenever I enable both controllers, only the first one that has it's Compute() method called will actually return an output. The second will always return a zero value for output. I have no idea why this is."},"comment":{"url":"https://api.github.com/repos/br3ttb/Arduino-PID-Library/issues/comments/376321212","html_url":"https://github.com/br3ttb/Arduino-PID-Library/issues/69#issuecomment-376321212","issue_url":"https://api.github.com/repos/br3ttb/Arduino-PID-Library/issues/69","id":376321212,"user":{"login":"xoxota99","id":3106132,"avatar_url":"https://avatars1.githubusercontent.com/u/3106132?v=4","gravatar_id":"","url":"https://api.github.com/users/xoxota99","html_url":"https://github.com/xoxota99","followers_url":"https://api.github.com/users/xoxota99/followers","following_url":"https://api.github.com/users/xoxota99/following{/other_user}","gists_url":"https://api.github.com/users/xoxota99/gists{/gist_id}","starred_url":"https://api.github.com/users/xoxota99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xoxota99/subscriptions","organizations_url":"https://api.github.com/users/xoxota99/orgs","repos_url":"https://api.github.com/users/xoxota99/repos","events_url":"https://api.github.com/users/xoxota99/events{/privacy}","received_events_url":"https://api.github.com/users/xoxota99/received_events","type":"User","site_admin":false},"created_at":"2018-03-26T21:40:24Z","updated_at":"2018-03-26T21:40:24Z","author_association":"NONE","body":"YES! That is the answer! Would love a note in the README about this easy-to-overlook behavior. (lazy eval / conditional shortcutting). Thanks so much!"}}
{"actor":{"display_login":"xoxota99"}}