{"action":"created","comment":{"url":"https://api.github.com/repos/ros/diagnostics/pulls/comments/123499305","pull_request_review_id":45707371,"id":123499305,"diff_hunk":"@@ -10,6 +10,15 @@ catkin_package()\n \n catkin_python_setup()\n \n+if(CATKIN_ENABLE_TESTING)\n+  find_package(rostest REQUIRED)\n+\n+  # Test CPU Monitor\n+  add_rostest(test/launch/test_cpu_monitor.launch)\n+  add_rostest(test/launch/test_cpu_monitor_level_ok.launch)\n+  add_rostest(test/launch/test_cpu_monitor_level_warn.launch)\n+endif()\n+\n install(PROGRAMS","path":"diagnostic_common_diagnostics/CMakeLists.txt","position":13,"original_position":13,"commit_id":"9a830b3647b6ae84e6590fe5270e513f920a20c1","original_commit_id":"ee5c2ffc803b0a9614a09cef9339fb8ec518593e","user":{"login":"reinzor","id":4176023,"avatar_url":"https://avatars1.githubusercontent.com/u/4176023?v=3","gravatar_id":"","url":"https://api.github.com/users/reinzor","html_url":"https://github.com/reinzor","followers_url":"https://api.github.com/users/reinzor/followers","following_url":"https://api.github.com/users/reinzor/following{/other_user}","gists_url":"https://api.github.com/users/reinzor/gists{/gist_id}","starred_url":"https://api.github.com/users/reinzor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reinzor/subscriptions","organizations_url":"https://api.github.com/users/reinzor/orgs","repos_url":"https://api.github.com/users/reinzor/repos","events_url":"https://api.github.com/users/reinzor/events{/privacy}","received_events_url":"https://api.github.com/users/reinzor/received_events","type":"User","site_admin":false},"body":"Added","created_at":"2017-06-22T12:45:04Z","updated_at":"2017-06-22T12:45:04Z","html_url":"https://github.com/ros/diagnostics/pull/63#discussion_r123499305","pull_request_url":"https://api.github.com/repos/ros/diagnostics/pulls/63","_links":{"self":{"href":"https://api.github.com/repos/ros/diagnostics/pulls/comments/123499305"},"html":{"href":"https://github.com/ros/diagnostics/pull/63#discussion_r123499305"},"pull_request":{"href":"https://api.github.com/repos/ros/diagnostics/pulls/63"}}},"pull_request":{"url":"https://api.github.com/repos/ros/diagnostics/pulls/63","id":115278444,"html_url":"https://github.com/ros/diagnostics/pull/63","diff_url":"https://github.com/ros/diagnostics/pull/63.diff","patch_url":"https://github.com/ros/diagnostics/pull/63.patch","issue_url":"https://api.github.com/repos/ros/diagnostics/issues/63","number":63,"state":"open","locked":false,"title":"feat(common_diagnostics): Added CPU percentage monitor","user":{"login":"reinzor","id":4176023,"avatar_url":"https://avatars1.githubusercontent.com/u/4176023?v=3","gravatar_id":"","url":"https://api.github.com/users/reinzor","html_url":"https://github.com/reinzor","followers_url":"https://api.github.com/users/reinzor/followers","following_url":"https://api.github.com/users/reinzor/following{/other_user}","gists_url":"https://api.github.com/users/reinzor/gists{/gist_id}","starred_url":"https://api.github.com/users/reinzor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reinzor/subscriptions","organizations_url":"https://api.github.com/users/reinzor/orgs","repos_url":"https://api.github.com/users/reinzor/repos","events_url":"https://api.github.com/users/reinzor/events{/privacy}","received_events_url":"https://api.github.com/users/reinzor/received_events","type":"User","site_admin":false},"body":"CPU monitor that outputs the average CPU percentage and a percentage per\r\nCPU. The user can specify the warning CPU percentage. When one CPU exceeds\r\nthis percentage, the diagnostics status is set to WARN.","created_at":"2017-04-11T09:35:40Z","updated_at":"2017-06-22T12:45:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"62cd2f0ca9e7f6ca9a3498739e8011736e790f54","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/ros/diagnostics/pulls/63/commits","review_comments_url":"https://api.github.com/repos/ros/diagnostics/pulls/63/comments","review_comment_url":"https://api.github.com/repos/ros/diagnostics/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ros/diagnostics/issues/63/comments","statuses_url":"https://api.github.com/repos/ros/diagnostics/statuses/9a830b3647b6ae84e6590fe5270e513f920a20c1","head":{"label":"tno-ivs:indigo-devel","ref":"indigo-devel","sha":"9a830b3647b6ae84e6590fe5270e513f920a20c1","user":{"login":"tno-ivs","id":17641665,"avatar_url":"https://avatars1.githubusercontent.com/u/17641665?v=3","gravatar_id":"","url":"https://api.github.com/users/tno-ivs","html_url":"https://github.com/tno-ivs","followers_url":"https://api.github.com/users/tno-ivs/followers","following_url":"https://api.github.com/users/tno-ivs/following{/other_user}","gists_url":"https://api.github.com/users/tno-ivs/gists{/gist_id}","starred_url":"https://api.github.com/users/tno-ivs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tno-ivs/subscriptions","organizations_url":"https://api.github.com/users/tno-ivs/orgs","repos_url":"https://api.github.com/users/tno-ivs/repos","events_url":"https://api.github.com/users/tno-ivs/events{/privacy}","received_events_url":"https://api.github.com/users/tno-ivs/received_events","type":"Organization","site_admin":false},"repo":{"id":87911686,"name":"diagnostics","full_name":"tno-ivs/diagnostics","owner":{"login":"tno-ivs","id":17641665,"avatar_url":"https://avatars1.githubusercontent.com/u/17641665?v=3","gravatar_id":"","url":"https://api.github.com/users/tno-ivs","html_url":"https://github.com/tno-ivs","followers_url":"https://api.github.com/users/tno-ivs/followers","following_url":"https://api.github.com/users/tno-ivs/following{/other_user}","gists_url":"https://api.github.com/users/tno-ivs/gists{/gist_id}","starred_url":"https://api.github.com/users/tno-ivs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tno-ivs/subscriptions","organizations_url":"https://api.github.com/users/tno-ivs/orgs","repos_url":"https://api.github.com/users/tno-ivs/repos","events_url":"https://api.github.com/users/tno-ivs/events{/privacy}","received_events_url":"https://api.github.com/users/tno-ivs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tno-ivs/diagnostics","description":"Packages related to gathering, viewing, and analyzing diagnostics data from robots.","fork":true,"url":"https://api.github.com/repos/tno-ivs/diagnostics","forks_url":"https://api.github.com/repos/tno-ivs/diagnostics/forks","keys_url":"https://api.github.com/repos/tno-ivs/diagnostics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tno-ivs/diagnostics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tno-ivs/diagnostics/teams","hooks_url":"https://api.github.com/repos/tno-ivs/diagnostics/hooks","issue_events_url":"https://api.github.com/repos/tno-ivs/diagnostics/issues/events{/number}","events_url":"https://api.github.com/repos/tno-ivs/diagnostics/events","assignees_url":"https://api.github.com/repos/tno-ivs/diagnostics/assignees{/user}","branches_url":"https://api.github.com/repos/tno-ivs/diagnostics/branches{/branch}","tags_url":"https://api.github.com/repos/tno-ivs/diagnostics/tags","blobs_url":"https://api.github.com/repos/tno-ivs/diagnostics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tno-ivs/diagnostics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tno-ivs/diagnostics/git/refs{/sha}","trees_url":"https://api.github.com/repos/tno-ivs/diagnostics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tno-ivs/diagnostics/statuses/{sha}","languages_url":"https://api.github.com/repos/tno-ivs/diagnostics/languages","stargazers_url":"https://api.github.com/repos/tno-ivs/diagnostics/stargazers","contributors_url":"https://api.github.com/repos/tno-ivs/diagnostics/contributors","subscribers_url":"https://api.github.com/repos/tno-ivs/diagnostics/subscribers","subscription_url":"https://api.github.com/repos/tno-ivs/diagnostics/subscription","commits_url":"https://api.github.com/repos/tno-ivs/diagnostics/commits{/sha}","git_commits_url":"https://api.github.com/repos/tno-ivs/diagnostics/git/commits{/sha}","comments_url":"https://api.github.com/repos/tno-ivs/diagnostics/comments{/number}","issue_comment_url":"https://api.github.com/repos/tno-ivs/diagnostics/issues/comments{/number}","contents_url":"https://api.github.com/repos/tno-ivs/diagnostics/contents/{+path}","compare_url":"https://api.github.com/repos/tno-ivs/diagnostics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tno-ivs/diagnostics/merges","archive_url":"https://api.github.com/repos/tno-ivs/diagnostics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tno-ivs/diagnostics/downloads","issues_url":"https://api.github.com/repos/tno-ivs/diagnostics/issues{/number}","pulls_url":"https://api.github.com/repos/tno-ivs/diagnostics/pulls{/number}","milestones_url":"https://api.github.com/repos/tno-ivs/diagnostics/milestones{/number}","notifications_url":"https://api.github.com/repos/tno-ivs/diagnostics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tno-ivs/diagnostics/labels{/name}","releases_url":"https://api.github.com/repos/tno-ivs/diagnostics/releases{/id}","deployments_url":"https://api.github.com/repos/tno-ivs/diagnostics/deployments","created_at":"2017-04-11T08:50:51Z","updated_at":"2017-04-11T08:50:53Z","pushed_at":"2017-06-22T12:43:22Z","git_url":"git://github.com/tno-ivs/diagnostics.git","ssh_url":"git@github.com:tno-ivs/diagnostics.git","clone_url":"https://github.com/tno-ivs/diagnostics.git","svn_url":"https://github.com/tno-ivs/diagnostics","homepage":"http://www.ros.org/wiki/diagnostics","size":8249,"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,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"indigo-devel"}},"base":{"label":"ros:indigo-devel","ref":"indigo-devel","sha":"c217226df31ebb70fe44cdae940c725bd16d10e3","user":{"login":"ros","id":547448,"avatar_url":"https://avatars1.githubusercontent.com/u/547448?v=3","gravatar_id":"","url":"https://api.github.com/users/ros","html_url":"https://github.com/ros","followers_url":"https://api.github.com/users/ros/followers","following_url":"https://api.github.com/users/ros/following{/other_user}","gists_url":"https://api.github.com/users/ros/gists{/gist_id}","starred_url":"https://api.github.com/users/ros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ros/subscriptions","organizations_url":"https://api.github.com/users/ros/orgs","repos_url":"https://api.github.com/users/ros/repos","events_url":"https://api.github.com/users/ros/events{/privacy}","received_events_url":"https://api.github.com/users/ros/received_events","type":"Organization","site_admin":false},"repo":{"id":6450644,"name":"diagnostics","full_name":"ros/diagnostics","owner":{"login":"ros","id":547448,"avatar_url":"https://avatars1.githubusercontent.com/u/547448?v=3","gravatar_id":"","url":"https://api.github.com/users/ros","html_url":"https://github.com/ros","followers_url":"https://api.github.com/users/ros/followers","following_url":"https://api.github.com/users/ros/following{/other_user}","gists_url":"https://api.github.com/users/ros/gists{/gist_id}","starred_url":"https://api.github.com/users/ros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ros/subscriptions","organizations_url":"https://api.github.com/users/ros/orgs","repos_url":"https://api.github.com/users/ros/repos","events_url":"https://api.github.com/users/ros/events{/privacy}","received_events_url":"https://api.github.com/users/ros/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ros/diagnostics","description":"Packages related to gathering, viewing, and analyzing diagnostics data from robots.","fork":false,"url":"https://api.github.com/repos/ros/diagnostics","forks_url":"https://api.github.com/repos/ros/diagnostics/forks","keys_url":"https://api.github.com/repos/ros/diagnostics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ros/diagnostics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ros/diagnostics/teams","hooks_url":"https://api.github.com/repos/ros/diagnostics/hooks","issue_events_url":"https://api.github.com/repos/ros/diagnostics/issues/events{/number}","events_url":"https://api.github.com/repos/ros/diagnostics/events","assignees_url":"https://api.github.com/repos/ros/diagnostics/assignees{/user}","branches_url":"https://api.github.com/repos/ros/diagnostics/branches{/branch}","tags_url":"https://api.github.com/repos/ros/diagnostics/tags","blobs_url":"https://api.github.com/repos/ros/diagnostics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ros/diagnostics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ros/diagnostics/git/refs{/sha}","trees_url":"https://api.github.com/repos/ros/diagnostics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ros/diagnostics/statuses/{sha}","languages_url":"https://api.github.com/repos/ros/diagnostics/languages","stargazers_url":"https://api.github.com/repos/ros/diagnostics/stargazers","contributors_url":"https://api.github.com/repos/ros/diagnostics/contributors","subscribers_url":"https://api.github.com/repos/ros/diagnostics/subscribers","subscription_url":"https://api.github.com/repos/ros/diagnostics/subscription","commits_url":"https://api.github.com/repos/ros/diagnostics/commits{/sha}","git_commits_url":"https://api.github.com/repos/ros/diagnostics/git/commits{/sha}","comments_url":"https://api.github.com/repos/ros/diagnostics/comments{/number}","issue_comment_url":"https://api.github.com/repos/ros/diagnostics/issues/comments{/number}","contents_url":"https://api.github.com/repos/ros/diagnostics/contents/{+path}","compare_url":"https://api.github.com/repos/ros/diagnostics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ros/diagnostics/merges","archive_url":"https://api.github.com/repos/ros/diagnostics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ros/diagnostics/downloads","issues_url":"https://api.github.com/repos/ros/diagnostics/issues{/number}","pulls_url":"https://api.github.com/repos/ros/diagnostics/pulls{/number}","milestones_url":"https://api.github.com/repos/ros/diagnostics/milestones{/number}","notifications_url":"https://api.github.com/repos/ros/diagnostics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ros/diagnostics/labels{/name}","releases_url":"https://api.github.com/repos/ros/diagnostics/releases{/id}","deployments_url":"https://api.github.com/repos/ros/diagnostics/deployments","created_at":"2012-10-30T01:54:09Z","updated_at":"2017-03-02T10:26:12Z","pushed_at":"2017-06-22T12:43:05Z","git_url":"git://github.com/ros/diagnostics.git","ssh_url":"git@github.com:ros/diagnostics.git","clone_url":"https://github.com/ros/diagnostics.git","svn_url":"https://github.com/ros/diagnostics","homepage":"http://www.ros.org/wiki/diagnostics","size":8251,"stargazers_count":9,"watchers_count":9,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":39,"mirror_url":null,"open_issues_count":8,"forks":39,"open_issues":8,"watchers":9,"default_branch":"indigo-devel"}},"_links":{"self":{"href":"https://api.github.com/repos/ros/diagnostics/pulls/63"},"html":{"href":"https://github.com/ros/diagnostics/pull/63"},"issue":{"href":"https://api.github.com/repos/ros/diagnostics/issues/63"},"comments":{"href":"https://api.github.com/repos/ros/diagnostics/issues/63/comments"},"review_comments":{"href":"https://api.github.com/repos/ros/diagnostics/pulls/63/comments"},"review_comment":{"href":"https://api.github.com/repos/ros/diagnostics/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ros/diagnostics/pulls/63/commits"},"statuses":{"href":"https://api.github.com/repos/ros/diagnostics/statuses/9a830b3647b6ae84e6590fe5270e513f920a20c1"}}}}
{"actor":{"display_login":"reinzor"}}