{"action":"closed","number":941,"pull_request":{"url":"https://api.github.com/repos/CPFL/Autoware/pulls/941","id":155898837,"html_url":"https://github.com/CPFL/Autoware/pull/941","diff_url":"https://github.com/CPFL/Autoware/pull/941.diff","patch_url":"https://github.com/CPFL/Autoware/pull/941.patch","issue_url":"https://api.github.com/repos/CPFL/Autoware/issues/941","number":941,"state":"closed","locked":false,"title":"iodevice error fix for xsens","user":{"login":"christopherho-ApexAI","id":34043332,"avatar_url":"https://avatars2.githubusercontent.com/u/34043332?v=4","gravatar_id":"","url":"https://api.github.com/users/christopherho-ApexAI","html_url":"https://github.com/christopherho-ApexAI","followers_url":"https://api.github.com/users/christopherho-ApexAI/followers","following_url":"https://api.github.com/users/christopherho-ApexAI/following{/other_user}","gists_url":"https://api.github.com/users/christopherho-ApexAI/gists{/gist_id}","starred_url":"https://api.github.com/users/christopherho-ApexAI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christopherho-ApexAI/subscriptions","organizations_url":"https://api.github.com/users/christopherho-ApexAI/orgs","repos_url":"https://api.github.com/users/christopherho-ApexAI/repos","events_url":"https://api.github.com/users/christopherho-ApexAI/events{/privacy}","received_events_url":"https://api.github.com/users/christopherho-ApexAI/received_events","type":"User","site_admin":false},"body":"## Status\r\n**PRODUCTION / DEVELOPMENT**\r\n\r\n## Description\r\n\r\nThis PR fixes the xsens iodevice error. https://github.com/CPFL/Autoware/issues/940\r\n\r\n## Related PRs\r\nList related PRs against other branches:\r\n\r\n## Steps to Test or Reproduce\r\nOn develop: \r\n\r\n\r\n  1. Check out autoware\r\n  1. Go to `Autoware/ros/src/sensing/drivers/imu/packages/xsens/src/xsens_driver/src`\r\n  1. Run: `./mtdevice.py`. You should see an error similar to below:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"./mtdevice.py\", line 1024, in <module>\r\n    main()\r\n  File \"./mtdevice.py\", line 979, in main\r\n    mt = MTDevice(device, baudrate)\r\n  File \"./mtdevice.py\", line 23, in __init__\r\n    writeTimeout=timeout)\r\n  File \"/usr/lib/python2.7/dist-packages/serial/serialutil.py\", line 180, in __init__\r\n    self.open()\r\n  File \"/usr/lib/python2.7/dist-packages/serial/serialposix.py\", line 311, in open\r\n    self._update_dtr_state()\r\n  File \"/usr/lib/python2.7/dist-packages/serial/serialposix.py\", line 605, in _update_dtr_state\r\n    fcntl.ioctl(self.fd, TIOCMBIS, TIOCM_DTR_str)\r\nIOError: [Errno 22] Invalid argument\r\n\r\n```\r\n\r\nTo test fix: check out this branch and follow the same instructions. No error should be thrown, instead verbose output should be printed.\r\n\r\n@amc-nu @dejanpan FYI","created_at":"2017-12-01T16:12:42Z","updated_at":"2017-12-02T04:09:25Z","closed_at":"2017-12-02T04:09:25Z","merged_at":"2017-12-02T04:09:25Z","merge_commit_sha":"c7933ea17fec2e2c0df1d752ded303259b12de8f","assignee":null,"assignees":[],"requested_reviewers":[{"login":"kitsukawa","id":4318153,"avatar_url":"https://avatars3.githubusercontent.com/u/4318153?v=4","gravatar_id":"","url":"https://api.github.com/users/kitsukawa","html_url":"https://github.com/kitsukawa","followers_url":"https://api.github.com/users/kitsukawa/followers","following_url":"https://api.github.com/users/kitsukawa/following{/other_user}","gists_url":"https://api.github.com/users/kitsukawa/gists{/gist_id}","starred_url":"https://api.github.com/users/kitsukawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kitsukawa/subscriptions","organizations_url":"https://api.github.com/users/kitsukawa/orgs","repos_url":"https://api.github.com/users/kitsukawa/repos","events_url":"https://api.github.com/users/kitsukawa/events{/privacy}","received_events_url":"https://api.github.com/users/kitsukawa/received_events","type":"User","site_admin":false},{"login":"amc-nu","id":7009053,"avatar_url":"https://avatars0.githubusercontent.com/u/7009053?v=4","gravatar_id":"","url":"https://api.github.com/users/amc-nu","html_url":"https://github.com/amc-nu","followers_url":"https://api.github.com/users/amc-nu/followers","following_url":"https://api.github.com/users/amc-nu/following{/other_user}","gists_url":"https://api.github.com/users/amc-nu/gists{/gist_id}","starred_url":"https://api.github.com/users/amc-nu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amc-nu/subscriptions","organizations_url":"https://api.github.com/users/amc-nu/orgs","repos_url":"https://api.github.com/users/amc-nu/repos","events_url":"https://api.github.com/users/amc-nu/events{/privacy}","received_events_url":"https://api.github.com/users/amc-nu/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/CPFL/Autoware/pulls/941/commits","review_comments_url":"https://api.github.com/repos/CPFL/Autoware/pulls/941/comments","review_comment_url":"https://api.github.com/repos/CPFL/Autoware/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CPFL/Autoware/issues/941/comments","statuses_url":"https://api.github.com/repos/CPFL/Autoware/statuses/8902ba55db7a18e9a1a72ce3d689d3fe103771e1","head":{"label":"ApexAI:bug940-xsens","ref":"bug940-xsens","sha":"8902ba55db7a18e9a1a72ce3d689d3fe103771e1","user":{"login":"ApexAI","id":30701160,"avatar_url":"https://avatars2.githubusercontent.com/u/30701160?v=4","gravatar_id":"","url":"https://api.github.com/users/ApexAI","html_url":"https://github.com/ApexAI","followers_url":"https://api.github.com/users/ApexAI/followers","following_url":"https://api.github.com/users/ApexAI/following{/other_user}","gists_url":"https://api.github.com/users/ApexAI/gists{/gist_id}","starred_url":"https://api.github.com/users/ApexAI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ApexAI/subscriptions","organizations_url":"https://api.github.com/users/ApexAI/orgs","repos_url":"https://api.github.com/users/ApexAI/repos","events_url":"https://api.github.com/users/ApexAI/events{/privacy}","received_events_url":"https://api.github.com/users/ApexAI/received_events","type":"Organization","site_admin":false},"repo":{"id":112252114,"name":"Autoware","full_name":"ApexAI/Autoware","owner":{"login":"ApexAI","id":30701160,"avatar_url":"https://avatars2.githubusercontent.com/u/30701160?v=4","gravatar_id":"","url":"https://api.github.com/users/ApexAI","html_url":"https://github.com/ApexAI","followers_url":"https://api.github.com/users/ApexAI/followers","following_url":"https://api.github.com/users/ApexAI/following{/other_user}","gists_url":"https://api.github.com/users/ApexAI/gists{/gist_id}","starred_url":"https://api.github.com/users/ApexAI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ApexAI/subscriptions","organizations_url":"https://api.github.com/users/ApexAI/orgs","repos_url":"https://api.github.com/users/ApexAI/repos","events_url":"https://api.github.com/users/ApexAI/events{/privacy}","received_events_url":"https://api.github.com/users/ApexAI/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ApexAI/Autoware","description":"Open-source software for urban self-driving mobility","fork":true,"url":"https://api.github.com/repos/ApexAI/Autoware","forks_url":"https://api.github.com/repos/ApexAI/Autoware/forks","keys_url":"https://api.github.com/repos/ApexAI/Autoware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ApexAI/Autoware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ApexAI/Autoware/teams","hooks_url":"https://api.github.com/repos/ApexAI/Autoware/hooks","issue_events_url":"https://api.github.com/repos/ApexAI/Autoware/issues/events{/number}","events_url":"https://api.github.com/repos/ApexAI/Autoware/events","assignees_url":"https://api.github.com/repos/ApexAI/Autoware/assignees{/user}","branches_url":"https://api.github.com/repos/ApexAI/Autoware/branches{/branch}","tags_url":"https://api.github.com/repos/ApexAI/Autoware/tags","blobs_url":"https://api.github.com/repos/ApexAI/Autoware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ApexAI/Autoware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ApexAI/Autoware/git/refs{/sha}","trees_url":"https://api.github.com/repos/ApexAI/Autoware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ApexAI/Autoware/statuses/{sha}","languages_url":"https://api.github.com/repos/ApexAI/Autoware/languages","stargazers_url":"https://api.github.com/repos/ApexAI/Autoware/stargazers","contributors_url":"https://api.github.com/repos/ApexAI/Autoware/contributors","subscribers_url":"https://api.github.com/repos/ApexAI/Autoware/subscribers","subscription_url":"https://api.github.com/repos/ApexAI/Autoware/subscription","commits_url":"https://api.github.com/repos/ApexAI/Autoware/commits{/sha}","git_commits_url":"https://api.github.com/repos/ApexAI/Autoware/git/commits{/sha}","comments_url":"https://api.github.com/repos/ApexAI/Autoware/comments{/number}","issue_comment_url":"https://api.github.com/repos/ApexAI/Autoware/issues/comments{/number}","contents_url":"https://api.github.com/repos/ApexAI/Autoware/contents/{+path}","compare_url":"https://api.github.com/repos/ApexAI/Autoware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ApexAI/Autoware/merges","archive_url":"https://api.github.com/repos/ApexAI/Autoware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ApexAI/Autoware/downloads","issues_url":"https://api.github.com/repos/ApexAI/Autoware/issues{/number}","pulls_url":"https://api.github.com/repos/ApexAI/Autoware/pulls{/number}","milestones_url":"https://api.github.com/repos/ApexAI/Autoware/milestones{/number}","notifications_url":"https://api.github.com/repos/ApexAI/Autoware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ApexAI/Autoware/labels{/name}","releases_url":"https://api.github.com/repos/ApexAI/Autoware/releases{/id}","deployments_url":"https://api.github.com/repos/ApexAI/Autoware/deployments","created_at":"2017-11-27T21:44:02Z","updated_at":"2017-11-27T21:44:10Z","pushed_at":"2017-12-01T16:59:35Z","git_url":"git://github.com/ApexAI/Autoware.git","ssh_url":"git@github.com:ApexAI/Autoware.git","clone_url":"https://github.com/ApexAI/Autoware.git","svn_url":"https://github.com/ApexAI/Autoware","homepage":"","size":237637,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"CPFL:develop","ref":"develop","sha":"605352c36c1565afafc7e475f3be6ea6ccd8c590","user":{"login":"CPFL","id":2747893,"avatar_url":"https://avatars1.githubusercontent.com/u/2747893?v=4","gravatar_id":"","url":"https://api.github.com/users/CPFL","html_url":"https://github.com/CPFL","followers_url":"https://api.github.com/users/CPFL/followers","following_url":"https://api.github.com/users/CPFL/following{/other_user}","gists_url":"https://api.github.com/users/CPFL/gists{/gist_id}","starred_url":"https://api.github.com/users/CPFL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CPFL/subscriptions","organizations_url":"https://api.github.com/users/CPFL/orgs","repos_url":"https://api.github.com/users/CPFL/repos","events_url":"https://api.github.com/users/CPFL/events{/privacy}","received_events_url":"https://api.github.com/users/CPFL/received_events","type":"Organization","site_admin":false},"repo":{"id":41331761,"name":"Autoware","full_name":"CPFL/Autoware","owner":{"login":"CPFL","id":2747893,"avatar_url":"https://avatars1.githubusercontent.com/u/2747893?v=4","gravatar_id":"","url":"https://api.github.com/users/CPFL","html_url":"https://github.com/CPFL","followers_url":"https://api.github.com/users/CPFL/followers","following_url":"https://api.github.com/users/CPFL/following{/other_user}","gists_url":"https://api.github.com/users/CPFL/gists{/gist_id}","starred_url":"https://api.github.com/users/CPFL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CPFL/subscriptions","organizations_url":"https://api.github.com/users/CPFL/orgs","repos_url":"https://api.github.com/users/CPFL/repos","events_url":"https://api.github.com/users/CPFL/events{/privacy}","received_events_url":"https://api.github.com/users/CPFL/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CPFL/Autoware","description":"Open-source software for urban self-driving mobility","fork":false,"url":"https://api.github.com/repos/CPFL/Autoware","forks_url":"https://api.github.com/repos/CPFL/Autoware/forks","keys_url":"https://api.github.com/repos/CPFL/Autoware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CPFL/Autoware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CPFL/Autoware/teams","hooks_url":"https://api.github.com/repos/CPFL/Autoware/hooks","issue_events_url":"https://api.github.com/repos/CPFL/Autoware/issues/events{/number}","events_url":"https://api.github.com/repos/CPFL/Autoware/events","assignees_url":"https://api.github.com/repos/CPFL/Autoware/assignees{/user}","branches_url":"https://api.github.com/repos/CPFL/Autoware/branches{/branch}","tags_url":"https://api.github.com/repos/CPFL/Autoware/tags","blobs_url":"https://api.github.com/repos/CPFL/Autoware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CPFL/Autoware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CPFL/Autoware/git/refs{/sha}","trees_url":"https://api.github.com/repos/CPFL/Autoware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CPFL/Autoware/statuses/{sha}","languages_url":"https://api.github.com/repos/CPFL/Autoware/languages","stargazers_url":"https://api.github.com/repos/CPFL/Autoware/stargazers","contributors_url":"https://api.github.com/repos/CPFL/Autoware/contributors","subscribers_url":"https://api.github.com/repos/CPFL/Autoware/subscribers","subscription_url":"https://api.github.com/repos/CPFL/Autoware/subscription","commits_url":"https://api.github.com/repos/CPFL/Autoware/commits{/sha}","git_commits_url":"https://api.github.com/repos/CPFL/Autoware/git/commits{/sha}","comments_url":"https://api.github.com/repos/CPFL/Autoware/comments{/number}","issue_comment_url":"https://api.github.com/repos/CPFL/Autoware/issues/comments{/number}","contents_url":"https://api.github.com/repos/CPFL/Autoware/contents/{+path}","compare_url":"https://api.github.com/repos/CPFL/Autoware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CPFL/Autoware/merges","archive_url":"https://api.github.com/repos/CPFL/Autoware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CPFL/Autoware/downloads","issues_url":"https://api.github.com/repos/CPFL/Autoware/issues{/number}","pulls_url":"https://api.github.com/repos/CPFL/Autoware/pulls{/number}","milestones_url":"https://api.github.com/repos/CPFL/Autoware/milestones{/number}","notifications_url":"https://api.github.com/repos/CPFL/Autoware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CPFL/Autoware/labels{/name}","releases_url":"https://api.github.com/repos/CPFL/Autoware/releases{/id}","deployments_url":"https://api.github.com/repos/CPFL/Autoware/deployments","created_at":"2015-08-24T23:17:57Z","updated_at":"2017-12-01T11:16:50Z","pushed_at":"2017-12-02T04:09:25Z","git_url":"git://github.com/CPFL/Autoware.git","ssh_url":"git@github.com:CPFL/Autoware.git","clone_url":"https://github.com/CPFL/Autoware.git","svn_url":"https://github.com/CPFL/Autoware","homepage":"","size":249350,"stargazers_count":1357,"watchers_count":1357,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":652,"mirror_url":null,"archived":false,"open_issues_count":85,"license":{"key":"bsd-3-clause","name":"BSD 3-clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause"},"forks":652,"open_issues":85,"watchers":1357,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CPFL/Autoware/pulls/941"},"html":{"href":"https://github.com/CPFL/Autoware/pull/941"},"issue":{"href":"https://api.github.com/repos/CPFL/Autoware/issues/941"},"comments":{"href":"https://api.github.com/repos/CPFL/Autoware/issues/941/comments"},"review_comments":{"href":"https://api.github.com/repos/CPFL/Autoware/pulls/941/comments"},"review_comment":{"href":"https://api.github.com/repos/CPFL/Autoware/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CPFL/Autoware/pulls/941/commits"},"statuses":{"href":"https://api.github.com/repos/CPFL/Autoware/statuses/8902ba55db7a18e9a1a72ce3d689d3fe103771e1"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"amc-nu","id":7009053,"avatar_url":"https://avatars0.githubusercontent.com/u/7009053?v=4","gravatar_id":"","url":"https://api.github.com/users/amc-nu","html_url":"https://github.com/amc-nu","followers_url":"https://api.github.com/users/amc-nu/followers","following_url":"https://api.github.com/users/amc-nu/following{/other_user}","gists_url":"https://api.github.com/users/amc-nu/gists{/gist_id}","starred_url":"https://api.github.com/users/amc-nu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amc-nu/subscriptions","organizations_url":"https://api.github.com/users/amc-nu/orgs","repos_url":"https://api.github.com/users/amc-nu/repos","events_url":"https://api.github.com/users/amc-nu/events{/privacy}","received_events_url":"https://api.github.com/users/amc-nu/received_events","type":"User","site_admin":false},"comments":8,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":4,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"amc-nu"}}