{"action":"created","comment":{"url":"https://api.github.com/repos/mavlink/mavros/pulls/comments/30135648","id":30135648,"diff_hunk":"@@ -0,0 +1,14 @@\n+# DISTANCE_SENSOR message data\n+\n+Header header\n+\n+sensor_msgs/Range range\n+\n+uint8 type\t\t\t# see MAV_DISTANCE_SENSOR enum\n+uint8 MAV_DISTANCE_SENSOR_LASER = 0\n+uint8 MAV_DISTANCE_SENSOR_ULTRASOUND = 1\n+\n+uint8 id \t\t\t# XXX FIXME enum ??\n+\n+uint8 orientation \t# rad\n+uint8 covariance\t# 1E-2 meters; 0 for unknown/invalid readings","path":"mavros_extras/msg/DistanceSensor.msg","position":14,"original_position":14,"commit_id":"d5bd2c8e07ce3870edcdc6369c6175b5c5d00682","original_commit_id":"d5bd2c8e07ce3870edcdc6369c6175b5c5d00682","user":{"login":"vooon","id":1023568,"avatar_url":"https://avatars.githubusercontent.com/u/1023568?v=3","gravatar_id":"","url":"https://api.github.com/users/vooon","html_url":"https://github.com/vooon","followers_url":"https://api.github.com/users/vooon/followers","following_url":"https://api.github.com/users/vooon/following{/other_user}","gists_url":"https://api.github.com/users/vooon/gists{/gist_id}","starred_url":"https://api.github.com/users/vooon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vooon/subscriptions","organizations_url":"https://api.github.com/users/vooon/orgs","repos_url":"https://api.github.com/users/vooon/repos","events_url":"https://api.github.com/users/vooon/events{/privacy}","received_events_url":"https://api.github.com/users/vooon/received_events","type":"User","site_admin":false},"body":"`variance`, and better use float32 + convert to Si.","created_at":"2015-05-12T13:57:14Z","updated_at":"2015-05-12T13:57:14Z","html_url":"https://github.com/mavlink/mavros/pull/292#discussion_r30135648","pull_request_url":"https://api.github.com/repos/mavlink/mavros/pulls/292","_links":{"self":{"href":"https://api.github.com/repos/mavlink/mavros/pulls/comments/30135648"},"html":{"href":"https://github.com/mavlink/mavros/pull/292#discussion_r30135648"},"pull_request":{"href":"https://api.github.com/repos/mavlink/mavros/pulls/292"}}},"pull_request":{"url":"https://api.github.com/repos/mavlink/mavros/pulls/292","id":35154248,"html_url":"https://github.com/mavlink/mavros/pull/292","diff_url":"https://github.com/mavlink/mavros/pull/292.diff","patch_url":"https://github.com/mavlink/mavros/pull/292.patch","issue_url":"https://api.github.com/repos/mavlink/mavros/issues/292","number":292,"state":"open","locked":false,"title":"DISTANCE_SENSOR support","user":{"login":"TSC21","id":5048656,"avatar_url":"https://avatars.githubusercontent.com/u/5048656?v=3","gravatar_id":"","url":"https://api.github.com/users/TSC21","html_url":"https://github.com/TSC21","followers_url":"https://api.github.com/users/TSC21/followers","following_url":"https://api.github.com/users/TSC21/following{/other_user}","gists_url":"https://api.github.com/users/TSC21/gists{/gist_id}","starred_url":"https://api.github.com/users/TSC21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TSC21/subscriptions","organizations_url":"https://api.github.com/users/TSC21/orgs","repos_url":"https://api.github.com/users/TSC21/repos","events_url":"https://api.github.com/users/TSC21/events{/privacy}","received_events_url":"https://api.github.com/users/TSC21/received_events","type":"User","site_admin":false},"body":"Code is done! Tested the readings with a `rosserial_python` node which was retrieving data from an Arduino into a Range type of message, which is read by the plugin usage. So now this only lacks implementation on the FCU side, which includes receive and send and publish/advertise it a DISTANCE_SENSOR uOrb topic.","created_at":"2015-05-11T18:22:34Z","updated_at":"2015-05-12T13:57:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3ef12c64362db8045f004c80ce6296f47be8d7d7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mavlink/mavros/pulls/292/commits","review_comments_url":"https://api.github.com/repos/mavlink/mavros/pulls/292/comments","review_comment_url":"https://api.github.com/repos/mavlink/mavros/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mavlink/mavros/issues/292/comments","statuses_url":"https://api.github.com/repos/mavlink/mavros/statuses/d5bd2c8e07ce3870edcdc6369c6175b5c5d00682","head":{"label":"TSC21:external_sensors_connect","ref":"external_sensors_connect","sha":"d5bd2c8e07ce3870edcdc6369c6175b5c5d00682","user":{"login":"TSC21","id":5048656,"avatar_url":"https://avatars.githubusercontent.com/u/5048656?v=3","gravatar_id":"","url":"https://api.github.com/users/TSC21","html_url":"https://github.com/TSC21","followers_url":"https://api.github.com/users/TSC21/followers","following_url":"https://api.github.com/users/TSC21/following{/other_user}","gists_url":"https://api.github.com/users/TSC21/gists{/gist_id}","starred_url":"https://api.github.com/users/TSC21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TSC21/subscriptions","organizations_url":"https://api.github.com/users/TSC21/orgs","repos_url":"https://api.github.com/users/TSC21/repos","events_url":"https://api.github.com/users/TSC21/events{/privacy}","received_events_url":"https://api.github.com/users/TSC21/received_events","type":"User","site_admin":false},"repo":{"id":22961222,"name":"mavros","full_name":"TSC21/mavros","owner":{"login":"TSC21","id":5048656,"avatar_url":"https://avatars.githubusercontent.com/u/5048656?v=3","gravatar_id":"","url":"https://api.github.com/users/TSC21","html_url":"https://github.com/TSC21","followers_url":"https://api.github.com/users/TSC21/followers","following_url":"https://api.github.com/users/TSC21/following{/other_user}","gists_url":"https://api.github.com/users/TSC21/gists{/gist_id}","starred_url":"https://api.github.com/users/TSC21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TSC21/subscriptions","organizations_url":"https://api.github.com/users/TSC21/orgs","repos_url":"https://api.github.com/users/TSC21/repos","events_url":"https://api.github.com/users/TSC21/events{/privacy}","received_events_url":"https://api.github.com/users/TSC21/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TSC21/mavros","description":"MAVLink to ROS gateway with UDP proxy for Ground Control Station","fork":true,"url":"https://api.github.com/repos/TSC21/mavros","forks_url":"https://api.github.com/repos/TSC21/mavros/forks","keys_url":"https://api.github.com/repos/TSC21/mavros/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TSC21/mavros/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TSC21/mavros/teams","hooks_url":"https://api.github.com/repos/TSC21/mavros/hooks","issue_events_url":"https://api.github.com/repos/TSC21/mavros/issues/events{/number}","events_url":"https://api.github.com/repos/TSC21/mavros/events","assignees_url":"https://api.github.com/repos/TSC21/mavros/assignees{/user}","branches_url":"https://api.github.com/repos/TSC21/mavros/branches{/branch}","tags_url":"https://api.github.com/repos/TSC21/mavros/tags","blobs_url":"https://api.github.com/repos/TSC21/mavros/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TSC21/mavros/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TSC21/mavros/git/refs{/sha}","trees_url":"https://api.github.com/repos/TSC21/mavros/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TSC21/mavros/statuses/{sha}","languages_url":"https://api.github.com/repos/TSC21/mavros/languages","stargazers_url":"https://api.github.com/repos/TSC21/mavros/stargazers","contributors_url":"https://api.github.com/repos/TSC21/mavros/contributors","subscribers_url":"https://api.github.com/repos/TSC21/mavros/subscribers","subscription_url":"https://api.github.com/repos/TSC21/mavros/subscription","commits_url":"https://api.github.com/repos/TSC21/mavros/commits{/sha}","git_commits_url":"https://api.github.com/repos/TSC21/mavros/git/commits{/sha}","comments_url":"https://api.github.com/repos/TSC21/mavros/comments{/number}","issue_comment_url":"https://api.github.com/repos/TSC21/mavros/issues/comments{/number}","contents_url":"https://api.github.com/repos/TSC21/mavros/contents/{+path}","compare_url":"https://api.github.com/repos/TSC21/mavros/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TSC21/mavros/merges","archive_url":"https://api.github.com/repos/TSC21/mavros/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TSC21/mavros/downloads","issues_url":"https://api.github.com/repos/TSC21/mavros/issues{/number}","pulls_url":"https://api.github.com/repos/TSC21/mavros/pulls{/number}","milestones_url":"https://api.github.com/repos/TSC21/mavros/milestones{/number}","notifications_url":"https://api.github.com/repos/TSC21/mavros/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TSC21/mavros/labels{/name}","releases_url":"https://api.github.com/repos/TSC21/mavros/releases{/id}","created_at":"2014-08-14T16:45:10Z","updated_at":"2014-08-14T17:53:12Z","pushed_at":"2015-05-12T13:36:37Z","git_url":"git://github.com/TSC21/mavros.git","ssh_url":"git@github.com:TSC21/mavros.git","clone_url":"https://github.com/TSC21/mavros.git","svn_url":"https://github.com/TSC21/mavros","homepage":null,"size":1306,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"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":"master"}},"base":{"label":"mavlink:master","ref":"master","sha":"d05028f3fefee550714d3001bcb5974e884a5e94","user":{"login":"mavlink","id":961247,"avatar_url":"https://avatars.githubusercontent.com/u/961247?v=3","gravatar_id":"","url":"https://api.github.com/users/mavlink","html_url":"https://github.com/mavlink","followers_url":"https://api.github.com/users/mavlink/followers","following_url":"https://api.github.com/users/mavlink/following{/other_user}","gists_url":"https://api.github.com/users/mavlink/gists{/gist_id}","starred_url":"https://api.github.com/users/mavlink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mavlink/subscriptions","organizations_url":"https://api.github.com/users/mavlink/orgs","repos_url":"https://api.github.com/users/mavlink/repos","events_url":"https://api.github.com/users/mavlink/events{/privacy}","received_events_url":"https://api.github.com/users/mavlink/received_events","type":"Organization","site_admin":false},"repo":{"id":15189073,"name":"mavros","full_name":"mavlink/mavros","owner":{"login":"mavlink","id":961247,"avatar_url":"https://avatars.githubusercontent.com/u/961247?v=3","gravatar_id":"","url":"https://api.github.com/users/mavlink","html_url":"https://github.com/mavlink","followers_url":"https://api.github.com/users/mavlink/followers","following_url":"https://api.github.com/users/mavlink/following{/other_user}","gists_url":"https://api.github.com/users/mavlink/gists{/gist_id}","starred_url":"https://api.github.com/users/mavlink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mavlink/subscriptions","organizations_url":"https://api.github.com/users/mavlink/orgs","repos_url":"https://api.github.com/users/mavlink/repos","events_url":"https://api.github.com/users/mavlink/events{/privacy}","received_events_url":"https://api.github.com/users/mavlink/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mavlink/mavros","description":"MAVLink to ROS gateway with UDP proxy for Ground Control Station","fork":false,"url":"https://api.github.com/repos/mavlink/mavros","forks_url":"https://api.github.com/repos/mavlink/mavros/forks","keys_url":"https://api.github.com/repos/mavlink/mavros/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mavlink/mavros/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mavlink/mavros/teams","hooks_url":"https://api.github.com/repos/mavlink/mavros/hooks","issue_events_url":"https://api.github.com/repos/mavlink/mavros/issues/events{/number}","events_url":"https://api.github.com/repos/mavlink/mavros/events","assignees_url":"https://api.github.com/repos/mavlink/mavros/assignees{/user}","branches_url":"https://api.github.com/repos/mavlink/mavros/branches{/branch}","tags_url":"https://api.github.com/repos/mavlink/mavros/tags","blobs_url":"https://api.github.com/repos/mavlink/mavros/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mavlink/mavros/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mavlink/mavros/git/refs{/sha}","trees_url":"https://api.github.com/repos/mavlink/mavros/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mavlink/mavros/statuses/{sha}","languages_url":"https://api.github.com/repos/mavlink/mavros/languages","stargazers_url":"https://api.github.com/repos/mavlink/mavros/stargazers","contributors_url":"https://api.github.com/repos/mavlink/mavros/contributors","subscribers_url":"https://api.github.com/repos/mavlink/mavros/subscribers","subscription_url":"https://api.github.com/repos/mavlink/mavros/subscription","commits_url":"https://api.github.com/repos/mavlink/mavros/commits{/sha}","git_commits_url":"https://api.github.com/repos/mavlink/mavros/git/commits{/sha}","comments_url":"https://api.github.com/repos/mavlink/mavros/comments{/number}","issue_comment_url":"https://api.github.com/repos/mavlink/mavros/issues/comments{/number}","contents_url":"https://api.github.com/repos/mavlink/mavros/contents/{+path}","compare_url":"https://api.github.com/repos/mavlink/mavros/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mavlink/mavros/merges","archive_url":"https://api.github.com/repos/mavlink/mavros/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mavlink/mavros/downloads","issues_url":"https://api.github.com/repos/mavlink/mavros/issues{/number}","pulls_url":"https://api.github.com/repos/mavlink/mavros/pulls{/number}","milestones_url":"https://api.github.com/repos/mavlink/mavros/milestones{/number}","notifications_url":"https://api.github.com/repos/mavlink/mavros/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mavlink/mavros/labels{/name}","releases_url":"https://api.github.com/repos/mavlink/mavros/releases{/id}","created_at":"2013-12-14T16:58:11Z","updated_at":"2015-05-12T09:01:16Z","pushed_at":"2015-05-12T13:36:38Z","git_url":"git://github.com/mavlink/mavros.git","ssh_url":"git@github.com:mavlink/mavros.git","clone_url":"https://github.com/mavlink/mavros.git","svn_url":"https://github.com/mavlink/mavros","homepage":null,"size":3487,"stargazers_count":25,"watchers_count":25,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":44,"mirror_url":null,"open_issues_count":29,"forks":44,"open_issues":29,"watchers":25,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mavlink/mavros/pulls/292"},"html":{"href":"https://github.com/mavlink/mavros/pull/292"},"issue":{"href":"https://api.github.com/repos/mavlink/mavros/issues/292"},"comments":{"href":"https://api.github.com/repos/mavlink/mavros/issues/292/comments"},"review_comments":{"href":"https://api.github.com/repos/mavlink/mavros/pulls/292/comments"},"review_comment":{"href":"https://api.github.com/repos/mavlink/mavros/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mavlink/mavros/pulls/292/commits"},"statuses":{"href":"https://api.github.com/repos/mavlink/mavros/statuses/d5bd2c8e07ce3870edcdc6369c6175b5c5d00682"}}}}