{"action":"created","comment":{"url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/pulls/comments/22516608","id":22516608,"diff_hunk":"@@ -59,6 +60,15 @@ class QuickGraspNode(object):\n         else:\n             rospy.logerr(\"Fail!\")\n \n+    def new_grasp(self, name):\n+        grasp = Grasp()\n+        grasp.id = name\n+        positions = self.hand.read_all_current_positions()\n+        for k, v in positions.iteritems():\n+            positions[k] = radians(v)","path":"sr_grasp/scripts/quick_grasp","position":17,"original_position":17,"commit_id":"3cc0a56e7054903d95e5170bf76a9fef129a3e19","original_commit_id":"3cc0a56e7054903d95e5170bf76a9fef129a3e19","user":{"login":"markpitchless","id":193641,"avatar_url":"https://avatars.githubusercontent.com/u/193641?v=3","gravatar_id":"","url":"https://api.github.com/users/markpitchless","html_url":"https://github.com/markpitchless","followers_url":"https://api.github.com/users/markpitchless/followers","following_url":"https://api.github.com/users/markpitchless/following{/other_user}","gists_url":"https://api.github.com/users/markpitchless/gists{/gist_id}","starred_url":"https://api.github.com/users/markpitchless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markpitchless/subscriptions","organizations_url":"https://api.github.com/users/markpitchless/orgs","repos_url":"https://api.github.com/users/markpitchless/repos","events_url":"https://api.github.com/users/markpitchless/events{/privacy}","received_events_url":"https://api.github.com/users/markpitchless/received_events","type":"User","site_admin":false},"body":"It is all in radians in the yaml! The shadow hand lib does degrees but that is a bad habit ;-)","created_at":"2015-01-06T10:15:00Z","updated_at":"2015-01-06T10:15:00Z","html_url":"https://github.com/shadow-robot/sr-ros-interface/pull/190#discussion_r22516608","pull_request_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/pulls/190","_links":{"self":{"href":"https://api.github.com/repos/shadow-robot/sr-ros-interface/pulls/comments/22516608"},"html":{"href":"https://github.com/shadow-robot/sr-ros-interface/pull/190#discussion_r22516608"},"pull_request":{"href":"https://api.github.com/repos/shadow-robot/sr-ros-interface/pulls/190"}}},"pull_request":{"url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/pulls/190","id":26872625,"html_url":"https://github.com/shadow-robot/sr-ros-interface/pull/190","diff_url":"https://github.com/shadow-robot/sr-ros-interface/pull/190.diff","patch_url":"https://github.com/shadow-robot/sr-ros-interface/pull/190.patch","issue_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/issues/190","number":190,"state":"open","locked":false,"title":"F indigo devel port grasps 4","user":{"login":"ugocupcic","id":557182,"avatar_url":"https://avatars.githubusercontent.com/u/557182?v=3","gravatar_id":"","url":"https://api.github.com/users/ugocupcic","html_url":"https://github.com/ugocupcic","followers_url":"https://api.github.com/users/ugocupcic/followers","following_url":"https://api.github.com/users/ugocupcic/following{/other_user}","gists_url":"https://api.github.com/users/ugocupcic/gists{/gist_id}","starred_url":"https://api.github.com/users/ugocupcic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ugocupcic/subscriptions","organizations_url":"https://api.github.com/users/ugocupcic/orgs","repos_url":"https://api.github.com/users/ugocupcic/repos","events_url":"https://api.github.com/users/ugocupcic/events{/privacy}","received_events_url":"https://api.github.com/users/ugocupcic/received_events","type":"User","site_admin":false},"body":"Adds sr_robot_msgs/GraspArray as it makes serialising lists of grasps much easier.\r\nquick grasp takes a param for the file of grasps to use.\r\nAdds a converter for the sr_hand style xml files.\r\nFixes a radians bug in new grasp ;-)\r\n@ugo this now runs all the grasps from the interpolater but with the tactile stuff :)","created_at":"2015-01-06T06:44:47Z","updated_at":"2015-01-06T10:15:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1f7223675ef9ffe96df5a370416911f4c12160bb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/pulls/190/commits","review_comments_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/pulls/190/comments","review_comment_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/pulls/comments/{number}","comments_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/issues/190/comments","statuses_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/statuses/3cc0a56e7054903d95e5170bf76a9fef129a3e19","head":{"label":"shadow-robot:f-indigo-devel-port_grasps-4","ref":"f-indigo-devel-port_grasps-4","sha":"3cc0a56e7054903d95e5170bf76a9fef129a3e19","user":{"login":"shadow-robot","id":3306493,"avatar_url":"https://avatars.githubusercontent.com/u/3306493?v=3","gravatar_id":"","url":"https://api.github.com/users/shadow-robot","html_url":"https://github.com/shadow-robot","followers_url":"https://api.github.com/users/shadow-robot/followers","following_url":"https://api.github.com/users/shadow-robot/following{/other_user}","gists_url":"https://api.github.com/users/shadow-robot/gists{/gist_id}","starred_url":"https://api.github.com/users/shadow-robot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadow-robot/subscriptions","organizations_url":"https://api.github.com/users/shadow-robot/orgs","repos_url":"https://api.github.com/users/shadow-robot/repos","events_url":"https://api.github.com/users/shadow-robot/events{/privacy}","received_events_url":"https://api.github.com/users/shadow-robot/received_events","type":"Organization","site_admin":false},"repo":{"id":7687003,"name":"sr-ros-interface","full_name":"shadow-robot/sr-ros-interface","owner":{"login":"shadow-robot","id":3306493,"avatar_url":"https://avatars.githubusercontent.com/u/3306493?v=3","gravatar_id":"","url":"https://api.github.com/users/shadow-robot","html_url":"https://github.com/shadow-robot","followers_url":"https://api.github.com/users/shadow-robot/followers","following_url":"https://api.github.com/users/shadow-robot/following{/other_user}","gists_url":"https://api.github.com/users/shadow-robot/gists{/gist_id}","starred_url":"https://api.github.com/users/shadow-robot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadow-robot/subscriptions","organizations_url":"https://api.github.com/users/shadow-robot/orgs","repos_url":"https://api.github.com/users/shadow-robot/repos","events_url":"https://api.github.com/users/shadow-robot/events{/privacy}","received_events_url":"https://api.github.com/users/shadow-robot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/shadow-robot/sr-ros-interface","description":"A ROS interface for Shadow Robot's hand.","fork":false,"url":"https://api.github.com/repos/shadow-robot/sr-ros-interface","forks_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/forks","keys_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/teams","hooks_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/hooks","issue_events_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/issues/events{/number}","events_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/events","assignees_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/assignees{/user}","branches_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/branches{/branch}","tags_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/tags","blobs_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/git/refs{/sha}","trees_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/statuses/{sha}","languages_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/languages","stargazers_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/stargazers","contributors_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/contributors","subscribers_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/subscribers","subscription_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/subscription","commits_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/commits{/sha}","git_commits_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/git/commits{/sha}","comments_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/comments{/number}","issue_comment_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/issues/comments/{number}","contents_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/contents/{+path}","compare_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/merges","archive_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/downloads","issues_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/issues{/number}","pulls_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/pulls{/number}","milestones_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/milestones{/number}","notifications_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/labels{/name}","releases_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/releases{/id}","created_at":"2013-01-18T13:26:50Z","updated_at":"2015-01-06T06:33:31Z","pushed_at":"2015-01-06T09:24:44Z","git_url":"git://github.com/shadow-robot/sr-ros-interface.git","ssh_url":"git@github.com:shadow-robot/sr-ros-interface.git","clone_url":"https://github.com/shadow-robot/sr-ros-interface.git","svn_url":"https://github.com/shadow-robot/sr-ros-interface","homepage":null,"size":79708,"stargazers_count":4,"watchers_count":4,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":20,"forks":6,"open_issues":20,"watchers":4,"default_branch":"indigo-devel"}},"base":{"label":"shadow-robot:indigo-devel","ref":"indigo-devel","sha":"89016c0e5cac93fa1ed0e27d142192f51cd5eb08","user":{"login":"shadow-robot","id":3306493,"avatar_url":"https://avatars.githubusercontent.com/u/3306493?v=3","gravatar_id":"","url":"https://api.github.com/users/shadow-robot","html_url":"https://github.com/shadow-robot","followers_url":"https://api.github.com/users/shadow-robot/followers","following_url":"https://api.github.com/users/shadow-robot/following{/other_user}","gists_url":"https://api.github.com/users/shadow-robot/gists{/gist_id}","starred_url":"https://api.github.com/users/shadow-robot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadow-robot/subscriptions","organizations_url":"https://api.github.com/users/shadow-robot/orgs","repos_url":"https://api.github.com/users/shadow-robot/repos","events_url":"https://api.github.com/users/shadow-robot/events{/privacy}","received_events_url":"https://api.github.com/users/shadow-robot/received_events","type":"Organization","site_admin":false},"repo":{"id":7687003,"name":"sr-ros-interface","full_name":"shadow-robot/sr-ros-interface","owner":{"login":"shadow-robot","id":3306493,"avatar_url":"https://avatars.githubusercontent.com/u/3306493?v=3","gravatar_id":"","url":"https://api.github.com/users/shadow-robot","html_url":"https://github.com/shadow-robot","followers_url":"https://api.github.com/users/shadow-robot/followers","following_url":"https://api.github.com/users/shadow-robot/following{/other_user}","gists_url":"https://api.github.com/users/shadow-robot/gists{/gist_id}","starred_url":"https://api.github.com/users/shadow-robot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadow-robot/subscriptions","organizations_url":"https://api.github.com/users/shadow-robot/orgs","repos_url":"https://api.github.com/users/shadow-robot/repos","events_url":"https://api.github.com/users/shadow-robot/events{/privacy}","received_events_url":"https://api.github.com/users/shadow-robot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/shadow-robot/sr-ros-interface","description":"A ROS interface for Shadow Robot's hand.","fork":false,"url":"https://api.github.com/repos/shadow-robot/sr-ros-interface","forks_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/forks","keys_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/teams","hooks_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/hooks","issue_events_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/issues/events{/number}","events_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/events","assignees_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/assignees{/user}","branches_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/branches{/branch}","tags_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/tags","blobs_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/git/refs{/sha}","trees_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/statuses/{sha}","languages_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/languages","stargazers_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/stargazers","contributors_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/contributors","subscribers_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/subscribers","subscription_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/subscription","commits_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/commits{/sha}","git_commits_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/git/commits{/sha}","comments_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/comments{/number}","issue_comment_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/issues/comments/{number}","contents_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/contents/{+path}","compare_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/merges","archive_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/downloads","issues_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/issues{/number}","pulls_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/pulls{/number}","milestones_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/milestones{/number}","notifications_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/labels{/name}","releases_url":"https://api.github.com/repos/shadow-robot/sr-ros-interface/releases{/id}","created_at":"2013-01-18T13:26:50Z","updated_at":"2015-01-06T06:33:31Z","pushed_at":"2015-01-06T09:24:44Z","git_url":"git://github.com/shadow-robot/sr-ros-interface.git","ssh_url":"git@github.com:shadow-robot/sr-ros-interface.git","clone_url":"https://github.com/shadow-robot/sr-ros-interface.git","svn_url":"https://github.com/shadow-robot/sr-ros-interface","homepage":null,"size":79708,"stargazers_count":4,"watchers_count":4,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":20,"forks":6,"open_issues":20,"watchers":4,"default_branch":"indigo-devel"}},"_links":{"self":{"href":"https://api.github.com/repos/shadow-robot/sr-ros-interface/pulls/190"},"html":{"href":"https://github.com/shadow-robot/sr-ros-interface/pull/190"},"issue":{"href":"https://api.github.com/repos/shadow-robot/sr-ros-interface/issues/190"},"comments":{"href":"https://api.github.com/repos/shadow-robot/sr-ros-interface/issues/190/comments"},"review_comments":{"href":"https://api.github.com/repos/shadow-robot/sr-ros-interface/pulls/190/comments"},"review_comment":{"href":"https://api.github.com/repos/shadow-robot/sr-ros-interface/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/shadow-robot/sr-ros-interface/pulls/190/commits"},"statuses":{"href":"https://api.github.com/repos/shadow-robot/sr-ros-interface/statuses/3cc0a56e7054903d95e5170bf76a9fef129a3e19"}}}}