{"action":"opened","number":11,"pull_request":{"url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/pulls/11","id":48158866,"html_url":"https://github.com/diydrones/MinimOSD-Extra/pull/11","diff_url":"https://github.com/diydrones/MinimOSD-Extra/pull/11.diff","patch_url":"https://github.com/diydrones/MinimOSD-Extra/pull/11.patch","issue_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/issues/11","number":11,"state":"open","locked":false,"title":"arm-status and flight-mode flicker","user":{"login":"rentt","id":2141741,"avatar_url":"https://avatars.githubusercontent.com/u/2141741?v=3","gravatar_id":"","url":"https://api.github.com/users/rentt","html_url":"https://github.com/rentt","followers_url":"https://api.github.com/users/rentt/followers","following_url":"https://api.github.com/users/rentt/following{/other_user}","gists_url":"https://api.github.com/users/rentt/gists{/gist_id}","starred_url":"https://api.github.com/users/rentt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rentt/subscriptions","organizations_url":"https://api.github.com/users/rentt/orgs","repos_url":"https://api.github.com/users/rentt/repos","events_url":"https://api.github.com/users/rentt/events{/privacy}","received_events_url":"https://api.github.com/users/rentt/received_events","type":"User","site_admin":false},"body":"With the latest Ardupilot firmware(Copter3.3 and Plane3.4) running on Flight Control. If we Connect the FC to GCS, and FC with OSD plug on. The arm-status and flight-mode will flicker from the output of OSD. Randy(developer of Ardupilot) explains that \"in Copter-3.3 we do mavlink forwarding across the telemetry ports meaning messages from the GCS are probably reaching the OSD\". I made a pitch for PlayUAVOSD. This issue also should happen on MinimOSD board, because most codes of PlayUAVOSD are borrowed from MinimOSD.\r\n\r\n\r\nThe modifications base on the suggestion of Randy:\r\nI think the OSD is getting confused by the heartbeat being received from the ground station (aka GCS). In Copter-3.3 we do mavlink forwarding across the telemetry ports meaning messages from the GCS are probably reaching the OSD. The way to resolve it is for the OSD to filter out the messages that are not coming from the vehicle. I think for the heartbeat that could be done using the MAV_TYPE. You'll probably find the mission planner sets the MAV_TYPE to \"6\" (MAV_TYPE_GCS)\r\nAnother option would be to filter by SYSID. Each MAVLink message will have a SYSID and a component ID. The vehicle is normally \"1\" while the GCSs are high numbers (like 255). The SYSID can be set by the user though so the perfectly correct way to do it would be for the OSD to maintain a little map of SYSID to MAV_TYPE using data collected from the heartbeats and then each time a message arrives, check if the SYSID maps to a vehicle or a GCS and throw away all the GCS ones.","created_at":"2015-10-20T05:39:47Z","updated_at":"2015-10-20T05:39:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/pulls/11/commits","review_comments_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/pulls/11/comments","review_comment_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/pulls/comments{/number}","comments_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/issues/11/comments","statuses_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/statuses/974e8362ae1134811c221ecd20b7f556662af22c","head":{"label":"rentt:master","ref":"master","sha":"974e8362ae1134811c221ecd20b7f556662af22c","user":{"login":"rentt","id":2141741,"avatar_url":"https://avatars.githubusercontent.com/u/2141741?v=3","gravatar_id":"","url":"https://api.github.com/users/rentt","html_url":"https://github.com/rentt","followers_url":"https://api.github.com/users/rentt/followers","following_url":"https://api.github.com/users/rentt/following{/other_user}","gists_url":"https://api.github.com/users/rentt/gists{/gist_id}","starred_url":"https://api.github.com/users/rentt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rentt/subscriptions","organizations_url":"https://api.github.com/users/rentt/orgs","repos_url":"https://api.github.com/users/rentt/repos","events_url":"https://api.github.com/users/rentt/events{/privacy}","received_events_url":"https://api.github.com/users/rentt/received_events","type":"User","site_admin":false},"repo":{"id":44575764,"name":"MinimOSD-Extra","full_name":"rentt/MinimOSD-Extra","owner":{"login":"rentt","id":2141741,"avatar_url":"https://avatars.githubusercontent.com/u/2141741?v=3","gravatar_id":"","url":"https://api.github.com/users/rentt","html_url":"https://github.com/rentt","followers_url":"https://api.github.com/users/rentt/followers","following_url":"https://api.github.com/users/rentt/following{/other_user}","gists_url":"https://api.github.com/users/rentt/gists{/gist_id}","starred_url":"https://api.github.com/users/rentt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rentt/subscriptions","organizations_url":"https://api.github.com/users/rentt/orgs","repos_url":"https://api.github.com/users/rentt/repos","events_url":"https://api.github.com/users/rentt/events{/privacy}","received_events_url":"https://api.github.com/users/rentt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rentt/MinimOSD-Extra","description":"MinimOSD-Extra","fork":true,"url":"https://api.github.com/repos/rentt/MinimOSD-Extra","forks_url":"https://api.github.com/repos/rentt/MinimOSD-Extra/forks","keys_url":"https://api.github.com/repos/rentt/MinimOSD-Extra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rentt/MinimOSD-Extra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rentt/MinimOSD-Extra/teams","hooks_url":"https://api.github.com/repos/rentt/MinimOSD-Extra/hooks","issue_events_url":"https://api.github.com/repos/rentt/MinimOSD-Extra/issues/events{/number}","events_url":"https://api.github.com/repos/rentt/MinimOSD-Extra/events","assignees_url":"https://api.github.com/repos/rentt/MinimOSD-Extra/assignees{/user}","branches_url":"https://api.github.com/repos/rentt/MinimOSD-Extra/branches{/branch}","tags_url":"https://api.github.com/repos/rentt/MinimOSD-Extra/tags","blobs_url":"https://api.github.com/repos/rentt/MinimOSD-Extra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rentt/MinimOSD-Extra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rentt/MinimOSD-Extra/git/refs{/sha}","trees_url":"https://api.github.com/repos/rentt/MinimOSD-Extra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rentt/MinimOSD-Extra/statuses/{sha}","languages_url":"https://api.github.com/repos/rentt/MinimOSD-Extra/languages","stargazers_url":"https://api.github.com/repos/rentt/MinimOSD-Extra/stargazers","contributors_url":"https://api.github.com/repos/rentt/MinimOSD-Extra/contributors","subscribers_url":"https://api.github.com/repos/rentt/MinimOSD-Extra/subscribers","subscription_url":"https://api.github.com/repos/rentt/MinimOSD-Extra/subscription","commits_url":"https://api.github.com/repos/rentt/MinimOSD-Extra/commits{/sha}","git_commits_url":"https://api.github.com/repos/rentt/MinimOSD-Extra/git/commits{/sha}","comments_url":"https://api.github.com/repos/rentt/MinimOSD-Extra/comments{/number}","issue_comment_url":"https://api.github.com/repos/rentt/MinimOSD-Extra/issues/comments{/number}","contents_url":"https://api.github.com/repos/rentt/MinimOSD-Extra/contents/{+path}","compare_url":"https://api.github.com/repos/rentt/MinimOSD-Extra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rentt/MinimOSD-Extra/merges","archive_url":"https://api.github.com/repos/rentt/MinimOSD-Extra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rentt/MinimOSD-Extra/downloads","issues_url":"https://api.github.com/repos/rentt/MinimOSD-Extra/issues{/number}","pulls_url":"https://api.github.com/repos/rentt/MinimOSD-Extra/pulls{/number}","milestones_url":"https://api.github.com/repos/rentt/MinimOSD-Extra/milestones{/number}","notifications_url":"https://api.github.com/repos/rentt/MinimOSD-Extra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rentt/MinimOSD-Extra/labels{/name}","releases_url":"https://api.github.com/repos/rentt/MinimOSD-Extra/releases{/id}","created_at":"2015-10-20T01:57:42Z","updated_at":"2015-10-20T01:57:57Z","pushed_at":"2015-10-20T05:28:28Z","git_url":"git://github.com/rentt/MinimOSD-Extra.git","ssh_url":"git@github.com:rentt/MinimOSD-Extra.git","clone_url":"https://github.com/rentt/MinimOSD-Extra.git","svn_url":"https://github.com/rentt/MinimOSD-Extra","homepage":"","size":13364,"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":"diydrones:master","ref":"master","sha":"64704bde2a68e99b2ac5382a20ed2d51d75af900","user":{"login":"diydrones","id":3189387,"avatar_url":"https://avatars.githubusercontent.com/u/3189387?v=3","gravatar_id":"","url":"https://api.github.com/users/diydrones","html_url":"https://github.com/diydrones","followers_url":"https://api.github.com/users/diydrones/followers","following_url":"https://api.github.com/users/diydrones/following{/other_user}","gists_url":"https://api.github.com/users/diydrones/gists{/gist_id}","starred_url":"https://api.github.com/users/diydrones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diydrones/subscriptions","organizations_url":"https://api.github.com/users/diydrones/orgs","repos_url":"https://api.github.com/users/diydrones/repos","events_url":"https://api.github.com/users/diydrones/events{/privacy}","received_events_url":"https://api.github.com/users/diydrones/received_events","type":"Organization","site_admin":false},"repo":{"id":27604276,"name":"MinimOSD-Extra","full_name":"diydrones/MinimOSD-Extra","owner":{"login":"diydrones","id":3189387,"avatar_url":"https://avatars.githubusercontent.com/u/3189387?v=3","gravatar_id":"","url":"https://api.github.com/users/diydrones","html_url":"https://github.com/diydrones","followers_url":"https://api.github.com/users/diydrones/followers","following_url":"https://api.github.com/users/diydrones/following{/other_user}","gists_url":"https://api.github.com/users/diydrones/gists{/gist_id}","starred_url":"https://api.github.com/users/diydrones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diydrones/subscriptions","organizations_url":"https://api.github.com/users/diydrones/orgs","repos_url":"https://api.github.com/users/diydrones/repos","events_url":"https://api.github.com/users/diydrones/events{/privacy}","received_events_url":"https://api.github.com/users/diydrones/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/diydrones/MinimOSD-Extra","description":"MinimOSD-Extra","fork":false,"url":"https://api.github.com/repos/diydrones/MinimOSD-Extra","forks_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/forks","keys_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/teams","hooks_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/hooks","issue_events_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/issues/events{/number}","events_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/events","assignees_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/assignees{/user}","branches_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/branches{/branch}","tags_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/tags","blobs_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/git/refs{/sha}","trees_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/statuses/{sha}","languages_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/languages","stargazers_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/stargazers","contributors_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/contributors","subscribers_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/subscribers","subscription_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/subscription","commits_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/commits{/sha}","git_commits_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/git/commits{/sha}","comments_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/comments{/number}","issue_comment_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/issues/comments{/number}","contents_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/contents/{+path}","compare_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/merges","archive_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/downloads","issues_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/issues{/number}","pulls_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/pulls{/number}","milestones_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/milestones{/number}","notifications_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/labels{/name}","releases_url":"https://api.github.com/repos/diydrones/MinimOSD-Extra/releases{/id}","created_at":"2014-12-05T18:22:14Z","updated_at":"2015-10-04T05:29:03Z","pushed_at":"2015-02-03T23:22:15Z","git_url":"git://github.com/diydrones/MinimOSD-Extra.git","ssh_url":"git@github.com:diydrones/MinimOSD-Extra.git","clone_url":"https://github.com/diydrones/MinimOSD-Extra.git","svn_url":"https://github.com/diydrones/MinimOSD-Extra","homepage":"","size":14859,"stargazers_count":20,"watchers_count":20,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":10,"forks":27,"open_issues":10,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/diydrones/MinimOSD-Extra/pulls/11"},"html":{"href":"https://github.com/diydrones/MinimOSD-Extra/pull/11"},"issue":{"href":"https://api.github.com/repos/diydrones/MinimOSD-Extra/issues/11"},"comments":{"href":"https://api.github.com/repos/diydrones/MinimOSD-Extra/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/diydrones/MinimOSD-Extra/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/diydrones/MinimOSD-Extra/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/diydrones/MinimOSD-Extra/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/diydrones/MinimOSD-Extra/statuses/974e8362ae1134811c221ecd20b7f556662af22c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":20,"deletions":0,"changed_files":2}}