{"action":"created","issue":{"url":"https://api.github.com/repos/diydrones/ardupilot/issues/2721","labels_url":"https://api.github.com/repos/diydrones/ardupilot/issues/2721/labels{/name}","comments_url":"https://api.github.com/repos/diydrones/ardupilot/issues/2721/comments","events_url":"https://api.github.com/repos/diydrones/ardupilot/issues/2721/events","html_url":"https://github.com/diydrones/ardupilot/issues/2721","id":102086000,"number":2721,"title":"SBUS receiver signal quality by FrameLost status","user":{"login":"nicbk117","id":13883059,"avatar_url":"https://avatars.githubusercontent.com/u/13883059?v=3","gravatar_id":"","url":"https://api.github.com/users/nicbk117","html_url":"https://github.com/nicbk117","followers_url":"https://api.github.com/users/nicbk117/followers","following_url":"https://api.github.com/users/nicbk117/following{/other_user}","gists_url":"https://api.github.com/users/nicbk117/gists{/gist_id}","starred_url":"https://api.github.com/users/nicbk117/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicbk117/subscriptions","organizations_url":"https://api.github.com/users/nicbk117/orgs","repos_url":"https://api.github.com/users/nicbk117/repos","events_url":"https://api.github.com/users/nicbk117/events{/privacy}","received_events_url":"https://api.github.com/users/nicbk117/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-08-20T08:09:54Z","updated_at":"2015-09-03T14:23:11Z","closed_at":null,"body":"Hello,\r\n\r\nThe idea here is to use the FrameLost status contained in the SBUS protocol to give an indication of the signal quality of the RC receiver, and use it instead of the analog based RSSI in all the APM system (telemetry, auto RTL,...).\r\n\r\nI'm thinking about a sliding average of the last received FrameLost statuses. The length of the average could be 1 second or something, so 70 samples. This will give an indication of the signal quality for the last second.\r\n\r\nBest,\r\n\r\nNicolas"},"comment":{"url":"https://api.github.com/repos/diydrones/ardupilot/issues/comments/137464776","html_url":"https://github.com/diydrones/ardupilot/issues/2721#issuecomment-137464776","issue_url":"https://api.github.com/repos/diydrones/ardupilot/issues/2721","id":137464776,"user":{"login":"StewLG","id":7128339,"avatar_url":"https://avatars.githubusercontent.com/u/7128339?v=3","gravatar_id":"","url":"https://api.github.com/users/StewLG","html_url":"https://github.com/StewLG","followers_url":"https://api.github.com/users/StewLG/followers","following_url":"https://api.github.com/users/StewLG/following{/other_user}","gists_url":"https://api.github.com/users/StewLG/gists{/gist_id}","starred_url":"https://api.github.com/users/StewLG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StewLG/subscriptions","organizations_url":"https://api.github.com/users/StewLG/orgs","repos_url":"https://api.github.com/users/StewLG/repos","events_url":"https://api.github.com/users/StewLG/events{/privacy}","received_events_url":"https://api.github.com/users/StewLG/received_events","type":"User","site_admin":false},"created_at":"2015-09-03T14:23:11Z","updated_at":"2015-09-03T14:23:11Z","body":"Beta firmwares here:\r\n\r\nhttps://github.com/StewLG/catfood/raw/master/SbusDemoFirmwares/ArduCopter-sbus-link-quality-demo-v2.px4\r\nhttps://github.com/StewLG/catfood/raw/master/SbusDemoFirmwares/ArduPlane-sbus-link-quality-demo-v2.px4\r\n\r\nMission Planner won't give you any help for the new RSSI variables, so here's what to set:\r\n\r\nRSSI_TYPE: 3\r\n\r\nThen run it. If it's working, you'll see some value for rxrssi, although it may not be 100% at close range. Adjust RSSI_SBUS_HIGH to match what you see for a close-range maximum value, and after that it should be scaled appropriately. For example with RSSI_SBUS_HIGH at 100, if you see a maximum value of 74, set RSSI_SBUS_HIGH to 74. Then you'll have a clean 0-100 rssi % range. \r\n\r\nI'm hoping to hear from people running SBUS hardware about their results. If you do run these, let me know what model of radio receiver you tested with."}}