{"action":"created","comment":{"url":"https://api.github.com/repos/anki/cozmo-python-sdk/pulls/comments/89942510","pull_request_review_id":10469850,"id":89942510,"diff_hunk":"@@ -750,7 +765,9 @@ def _recv_msg_robot_state(self, evt, *, msg):\n         self.left_wheel_speed  = util.speed_mmps(msg.leftWheelSpeed_mmps)\n         self.right_wheel_speed = util.speed_mmps(msg.rightWheelSpeed_mmps)\n         self.lift_height       = util.distance_mm(msg.liftHeight_mm)\n-        self.battery_voltage           = msg.batteryVoltage\n+        self.battery_voltage = msg.batteryVoltage\n+        self.accelerometer = util.Vector3(msg.accel.x, msg.accel.y, msg.accel.z)\n+        self.gyro = util.Vector3(msg.gyro.x, msg.gyro.y, msg.gyro.z)","path":"src/cozmo/robot.py","position":38,"original_position":38,"commit_id":"1cec807cec991f6d91cb26ea3597af52eb7ca881","original_commit_id":"1cec807cec991f6d91cb26ea3597af52eb7ca881","user":{"login":"gwatts","id":334535,"avatar_url":"https://avatars.githubusercontent.com/u/334535?v=3","gravatar_id":"","url":"https://api.github.com/users/gwatts","html_url":"https://github.com/gwatts","followers_url":"https://api.github.com/users/gwatts/followers","following_url":"https://api.github.com/users/gwatts/following{/other_user}","gists_url":"https://api.github.com/users/gwatts/gists{/gist_id}","starred_url":"https://api.github.com/users/gwatts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gwatts/subscriptions","organizations_url":"https://api.github.com/users/gwatts/orgs","repos_url":"https://api.github.com/users/gwatts/repos","events_url":"https://api.github.com/users/gwatts/events{/privacy}","received_events_url":"https://api.github.com/users/gwatts/received_events","type":"User","site_admin":false},"body":"we should either align all these `=` symbols or none of them (either is fine with me)","created_at":"2016-11-29T05:15:27Z","updated_at":"2016-11-29T05:15:27Z","html_url":"https://github.com/anki/cozmo-python-sdk/pull/37#discussion_r89942510","pull_request_url":"https://api.github.com/repos/anki/cozmo-python-sdk/pulls/37","_links":{"self":{"href":"https://api.github.com/repos/anki/cozmo-python-sdk/pulls/comments/89942510"},"html":{"href":"https://github.com/anki/cozmo-python-sdk/pull/37#discussion_r89942510"},"pull_request":{"href":"https://api.github.com/repos/anki/cozmo-python-sdk/pulls/37"}}},"pull_request":{"url":"https://api.github.com/repos/anki/cozmo-python-sdk/pulls/37","id":95620656,"html_url":"https://github.com/anki/cozmo-python-sdk/pull/37","diff_url":"https://github.com/anki/cozmo-python-sdk/pull/37.diff","patch_url":"https://github.com/anki/cozmo-python-sdk/pull/37.patch","issue_url":"https://api.github.com/repos/anki/cozmo-python-sdk/issues/37","number":37,"state":"open","locked":false,"title":"COZMO-4894 Expose Robot IMU data","user":{"login":"MarkWesleyAtAnki","id":8702077,"avatar_url":"https://avatars.githubusercontent.com/u/8702077?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkWesleyAtAnki","html_url":"https://github.com/MarkWesleyAtAnki","followers_url":"https://api.github.com/users/MarkWesleyAtAnki/followers","following_url":"https://api.github.com/users/MarkWesleyAtAnki/following{/other_user}","gists_url":"https://api.github.com/users/MarkWesleyAtAnki/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkWesleyAtAnki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkWesleyAtAnki/subscriptions","organizations_url":"https://api.github.com/users/MarkWesleyAtAnki/orgs","repos_url":"https://api.github.com/users/MarkWesleyAtAnki/repos","events_url":"https://api.github.com/users/MarkWesleyAtAnki/events{/privacy}","received_events_url":"https://api.github.com/users/MarkWesleyAtAnki/received_events","type":"User","site_admin":false},"body":"Pull gyro and accelerometer IMU data out of RobotState message and store\r\nAdded Vector3 class for storing the above (basically renamed util.Position class, and made Position just a subclass of that)\r\nSlightly more info in robot.pose property docstring\r\nAdded (optional) RobotState display annotation to remote_control example for verifying the IMU data\r\nFixed a couple of small bugs in remote control - updated default animations (2 were removed from 1.1.0), and removed the wait_for_completed on the drive_off_charger_contacts action (it isn't required, and would freeze the camera feed for a second)\r\nReordered display of remote control key mappings from 0..9 to 1..9,0 to match the layout of the keys on a keyboard.","created_at":"2016-11-29T03:32:14Z","updated_at":"2016-11-29T05:31:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8e27e9afc349bc8914b58d87a4751d61b838556f","assignee":{"login":"gwatts","id":334535,"avatar_url":"https://avatars.githubusercontent.com/u/334535?v=3","gravatar_id":"","url":"https://api.github.com/users/gwatts","html_url":"https://github.com/gwatts","followers_url":"https://api.github.com/users/gwatts/followers","following_url":"https://api.github.com/users/gwatts/following{/other_user}","gists_url":"https://api.github.com/users/gwatts/gists{/gist_id}","starred_url":"https://api.github.com/users/gwatts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gwatts/subscriptions","organizations_url":"https://api.github.com/users/gwatts/orgs","repos_url":"https://api.github.com/users/gwatts/repos","events_url":"https://api.github.com/users/gwatts/events{/privacy}","received_events_url":"https://api.github.com/users/gwatts/received_events","type":"User","site_admin":false},"assignees":[{"login":"gwatts","id":334535,"avatar_url":"https://avatars.githubusercontent.com/u/334535?v=3","gravatar_id":"","url":"https://api.github.com/users/gwatts","html_url":"https://github.com/gwatts","followers_url":"https://api.github.com/users/gwatts/followers","following_url":"https://api.github.com/users/gwatts/following{/other_user}","gists_url":"https://api.github.com/users/gwatts/gists{/gist_id}","starred_url":"https://api.github.com/users/gwatts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gwatts/subscriptions","organizations_url":"https://api.github.com/users/gwatts/orgs","repos_url":"https://api.github.com/users/gwatts/repos","events_url":"https://api.github.com/users/gwatts/events{/privacy}","received_events_url":"https://api.github.com/users/gwatts/received_events","type":"User","site_admin":false},{"login":"msintov","id":1221526,"avatar_url":"https://avatars.githubusercontent.com/u/1221526?v=3","gravatar_id":"","url":"https://api.github.com/users/msintov","html_url":"https://github.com/msintov","followers_url":"https://api.github.com/users/msintov/followers","following_url":"https://api.github.com/users/msintov/following{/other_user}","gists_url":"https://api.github.com/users/msintov/gists{/gist_id}","starred_url":"https://api.github.com/users/msintov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msintov/subscriptions","organizations_url":"https://api.github.com/users/msintov/orgs","repos_url":"https://api.github.com/users/msintov/repos","events_url":"https://api.github.com/users/msintov/events{/privacy}","received_events_url":"https://api.github.com/users/msintov/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/anki/cozmo-python-sdk/pulls/37/commits","review_comments_url":"https://api.github.com/repos/anki/cozmo-python-sdk/pulls/37/comments","review_comment_url":"https://api.github.com/repos/anki/cozmo-python-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/anki/cozmo-python-sdk/issues/37/comments","statuses_url":"https://api.github.com/repos/anki/cozmo-python-sdk/statuses/1cec807cec991f6d91cb26ea3597af52eb7ca881","head":{"label":"anki:wip/mwesley/COZMO-4894-ExposeImuData","ref":"wip/mwesley/COZMO-4894-ExposeImuData","sha":"1cec807cec991f6d91cb26ea3597af52eb7ca881","user":{"login":"anki","id":5098386,"avatar_url":"https://avatars.githubusercontent.com/u/5098386?v=3","gravatar_id":"","url":"https://api.github.com/users/anki","html_url":"https://github.com/anki","followers_url":"https://api.github.com/users/anki/followers","following_url":"https://api.github.com/users/anki/following{/other_user}","gists_url":"https://api.github.com/users/anki/gists{/gist_id}","starred_url":"https://api.github.com/users/anki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anki/subscriptions","organizations_url":"https://api.github.com/users/anki/orgs","repos_url":"https://api.github.com/users/anki/repos","events_url":"https://api.github.com/users/anki/events{/privacy}","received_events_url":"https://api.github.com/users/anki/received_events","type":"Organization","site_admin":false},"repo":{"id":70877464,"name":"cozmo-python-sdk","full_name":"anki/cozmo-python-sdk","owner":{"login":"anki","id":5098386,"avatar_url":"https://avatars.githubusercontent.com/u/5098386?v=3","gravatar_id":"","url":"https://api.github.com/users/anki","html_url":"https://github.com/anki","followers_url":"https://api.github.com/users/anki/followers","following_url":"https://api.github.com/users/anki/following{/other_user}","gists_url":"https://api.github.com/users/anki/gists{/gist_id}","starred_url":"https://api.github.com/users/anki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anki/subscriptions","organizations_url":"https://api.github.com/users/anki/orgs","repos_url":"https://api.github.com/users/anki/repos","events_url":"https://api.github.com/users/anki/events{/privacy}","received_events_url":"https://api.github.com/users/anki/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/anki/cozmo-python-sdk","description":"Anki Cozmo Python SDK","fork":false,"url":"https://api.github.com/repos/anki/cozmo-python-sdk","forks_url":"https://api.github.com/repos/anki/cozmo-python-sdk/forks","keys_url":"https://api.github.com/repos/anki/cozmo-python-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anki/cozmo-python-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anki/cozmo-python-sdk/teams","hooks_url":"https://api.github.com/repos/anki/cozmo-python-sdk/hooks","issue_events_url":"https://api.github.com/repos/anki/cozmo-python-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/anki/cozmo-python-sdk/events","assignees_url":"https://api.github.com/repos/anki/cozmo-python-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/anki/cozmo-python-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/anki/cozmo-python-sdk/tags","blobs_url":"https://api.github.com/repos/anki/cozmo-python-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anki/cozmo-python-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anki/cozmo-python-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/anki/cozmo-python-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anki/cozmo-python-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/anki/cozmo-python-sdk/languages","stargazers_url":"https://api.github.com/repos/anki/cozmo-python-sdk/stargazers","contributors_url":"https://api.github.com/repos/anki/cozmo-python-sdk/contributors","subscribers_url":"https://api.github.com/repos/anki/cozmo-python-sdk/subscribers","subscription_url":"https://api.github.com/repos/anki/cozmo-python-sdk/subscription","commits_url":"https://api.github.com/repos/anki/cozmo-python-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/anki/cozmo-python-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/anki/cozmo-python-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/anki/cozmo-python-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/anki/cozmo-python-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/anki/cozmo-python-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anki/cozmo-python-sdk/merges","archive_url":"https://api.github.com/repos/anki/cozmo-python-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anki/cozmo-python-sdk/downloads","issues_url":"https://api.github.com/repos/anki/cozmo-python-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/anki/cozmo-python-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/anki/cozmo-python-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/anki/cozmo-python-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anki/cozmo-python-sdk/labels{/name}","releases_url":"https://api.github.com/repos/anki/cozmo-python-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/anki/cozmo-python-sdk/deployments","created_at":"2016-10-14T05:38:02Z","updated_at":"2016-11-28T13:45:28Z","pushed_at":"2016-11-29T04:28:49Z","git_url":"git://github.com/anki/cozmo-python-sdk.git","ssh_url":"git@github.com:anki/cozmo-python-sdk.git","clone_url":"https://github.com/anki/cozmo-python-sdk.git","svn_url":"https://github.com/anki/cozmo-python-sdk","homepage":null,"size":495,"stargazers_count":60,"watchers_count":60,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":7,"forks":25,"open_issues":7,"watchers":60,"default_branch":"master"}},"base":{"label":"anki:nextclad","ref":"nextclad","sha":"ded0eaf2d6b6645976814f530f8f994bac159c73","user":{"login":"anki","id":5098386,"avatar_url":"https://avatars.githubusercontent.com/u/5098386?v=3","gravatar_id":"","url":"https://api.github.com/users/anki","html_url":"https://github.com/anki","followers_url":"https://api.github.com/users/anki/followers","following_url":"https://api.github.com/users/anki/following{/other_user}","gists_url":"https://api.github.com/users/anki/gists{/gist_id}","starred_url":"https://api.github.com/users/anki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anki/subscriptions","organizations_url":"https://api.github.com/users/anki/orgs","repos_url":"https://api.github.com/users/anki/repos","events_url":"https://api.github.com/users/anki/events{/privacy}","received_events_url":"https://api.github.com/users/anki/received_events","type":"Organization","site_admin":false},"repo":{"id":70877464,"name":"cozmo-python-sdk","full_name":"anki/cozmo-python-sdk","owner":{"login":"anki","id":5098386,"avatar_url":"https://avatars.githubusercontent.com/u/5098386?v=3","gravatar_id":"","url":"https://api.github.com/users/anki","html_url":"https://github.com/anki","followers_url":"https://api.github.com/users/anki/followers","following_url":"https://api.github.com/users/anki/following{/other_user}","gists_url":"https://api.github.com/users/anki/gists{/gist_id}","starred_url":"https://api.github.com/users/anki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anki/subscriptions","organizations_url":"https://api.github.com/users/anki/orgs","repos_url":"https://api.github.com/users/anki/repos","events_url":"https://api.github.com/users/anki/events{/privacy}","received_events_url":"https://api.github.com/users/anki/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/anki/cozmo-python-sdk","description":"Anki Cozmo Python SDK","fork":false,"url":"https://api.github.com/repos/anki/cozmo-python-sdk","forks_url":"https://api.github.com/repos/anki/cozmo-python-sdk/forks","keys_url":"https://api.github.com/repos/anki/cozmo-python-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anki/cozmo-python-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anki/cozmo-python-sdk/teams","hooks_url":"https://api.github.com/repos/anki/cozmo-python-sdk/hooks","issue_events_url":"https://api.github.com/repos/anki/cozmo-python-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/anki/cozmo-python-sdk/events","assignees_url":"https://api.github.com/repos/anki/cozmo-python-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/anki/cozmo-python-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/anki/cozmo-python-sdk/tags","blobs_url":"https://api.github.com/repos/anki/cozmo-python-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anki/cozmo-python-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anki/cozmo-python-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/anki/cozmo-python-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anki/cozmo-python-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/anki/cozmo-python-sdk/languages","stargazers_url":"https://api.github.com/repos/anki/cozmo-python-sdk/stargazers","contributors_url":"https://api.github.com/repos/anki/cozmo-python-sdk/contributors","subscribers_url":"https://api.github.com/repos/anki/cozmo-python-sdk/subscribers","subscription_url":"https://api.github.com/repos/anki/cozmo-python-sdk/subscription","commits_url":"https://api.github.com/repos/anki/cozmo-python-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/anki/cozmo-python-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/anki/cozmo-python-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/anki/cozmo-python-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/anki/cozmo-python-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/anki/cozmo-python-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anki/cozmo-python-sdk/merges","archive_url":"https://api.github.com/repos/anki/cozmo-python-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anki/cozmo-python-sdk/downloads","issues_url":"https://api.github.com/repos/anki/cozmo-python-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/anki/cozmo-python-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/anki/cozmo-python-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/anki/cozmo-python-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anki/cozmo-python-sdk/labels{/name}","releases_url":"https://api.github.com/repos/anki/cozmo-python-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/anki/cozmo-python-sdk/deployments","created_at":"2016-10-14T05:38:02Z","updated_at":"2016-11-28T13:45:28Z","pushed_at":"2016-11-29T04:28:49Z","git_url":"git://github.com/anki/cozmo-python-sdk.git","ssh_url":"git@github.com:anki/cozmo-python-sdk.git","clone_url":"https://github.com/anki/cozmo-python-sdk.git","svn_url":"https://github.com/anki/cozmo-python-sdk","homepage":null,"size":495,"stargazers_count":60,"watchers_count":60,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":7,"forks":25,"open_issues":7,"watchers":60,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/anki/cozmo-python-sdk/pulls/37"},"html":{"href":"https://github.com/anki/cozmo-python-sdk/pull/37"},"issue":{"href":"https://api.github.com/repos/anki/cozmo-python-sdk/issues/37"},"comments":{"href":"https://api.github.com/repos/anki/cozmo-python-sdk/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/anki/cozmo-python-sdk/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/anki/cozmo-python-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/anki/cozmo-python-sdk/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/anki/cozmo-python-sdk/statuses/1cec807cec991f6d91cb26ea3597af52eb7ca881"}}}}
{"actor":{"display_login":"gwatts"}}