{"action":"created","issue":{"url":"https://api.github.com/repos/PX4/Firmware/issues/6189","repository_url":"https://api.github.com/repos/PX4/Firmware","labels_url":"https://api.github.com/repos/PX4/Firmware/issues/6189/labels{/name}","comments_url":"https://api.github.com/repos/PX4/Firmware/issues/6189/comments","events_url":"https://api.github.com/repos/PX4/Firmware/issues/6189/events","html_url":"https://github.com/PX4/Firmware/issues/6189","id":197702214,"number":6189,"title":"Crawl PX4 codebase and generate pub/sub graph","user":{"login":"LorenzMeier","id":1208119,"avatar_url":"https://avatars.githubusercontent.com/u/1208119?v=3","gravatar_id":"","url":"https://api.github.com/users/LorenzMeier","html_url":"https://github.com/LorenzMeier","followers_url":"https://api.github.com/users/LorenzMeier/followers","following_url":"https://api.github.com/users/LorenzMeier/following{/other_user}","gists_url":"https://api.github.com/users/LorenzMeier/gists{/gist_id}","starred_url":"https://api.github.com/users/LorenzMeier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LorenzMeier/subscriptions","organizations_url":"https://api.github.com/users/LorenzMeier/orgs","repos_url":"https://api.github.com/users/LorenzMeier/repos","events_url":"https://api.github.com/users/LorenzMeier/events{/privacy}","received_events_url":"https://api.github.com/users/LorenzMeier/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/PX4/Firmware/milestones/22","html_url":"https://github.com/PX4/Firmware/milestone/22","labels_url":"https://api.github.com/repos/PX4/Firmware/milestones/22/labels","id":1812723,"number":22,"title":"Release v2.0.0","description":"The main novelty of this release is a massive NuttX update adding support for STM32F7 and fault logging.","creator":{"login":"LorenzMeier","id":1208119,"avatar_url":"https://avatars.githubusercontent.com/u/1208119?v=3","gravatar_id":"","url":"https://api.github.com/users/LorenzMeier","html_url":"https://github.com/LorenzMeier","followers_url":"https://api.github.com/users/LorenzMeier/followers","following_url":"https://api.github.com/users/LorenzMeier/following{/other_user}","gists_url":"https://api.github.com/users/LorenzMeier/gists{/gist_id}","starred_url":"https://api.github.com/users/LorenzMeier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LorenzMeier/subscriptions","organizations_url":"https://api.github.com/users/LorenzMeier/orgs","repos_url":"https://api.github.com/users/LorenzMeier/repos","events_url":"https://api.github.com/users/LorenzMeier/events{/privacy}","received_events_url":"https://api.github.com/users/LorenzMeier/received_events","type":"User","site_admin":false},"open_issues":52,"closed_issues":41,"state":"open","created_at":"2016-06-07T06:51:16Z","updated_at":"2017-01-14T10:30:48Z","due_on":"2017-02-15T08:00:00Z","closed_at":null},"comments":13,"created_at":"2016-12-27T13:19:52Z","updated_at":"2017-01-19T20:32:08Z","closed_at":null,"body":"@CarloWood Would you be interested in helping us out with a Python script (there are a few like the px_generate_params.py and px_generate_airframes.py) that:\r\n\r\n  - Parses the complete src directory\r\n  - Identifies modules by their CMakeLists.txt file (see px_generate_params.py for an example)\r\n  - Looks for calls to `orb_advertise()`, `orb_advertise_multi()`, `orb_publish_auto()` and the topic names\r\n  - Looks for calls to `orb_subscribe()`, `orb_subscribe_multi()`\r\n  - Draws a graph that links publishers and subscribers\r\n  - Bonus: Checks a specific config. We can start with SITL configs where all apps that are started are in one file\r\n\r\nThis would be extremely helpful as it would show developers how the system relates. Eventually I'd like to grow this into a website that links to Doxygen for each module."},"comment":{"url":"https://api.github.com/repos/PX4/Firmware/issues/comments/273890039","html_url":"https://github.com/PX4/Firmware/issues/6189#issuecomment-273890039","issue_url":"https://api.github.com/repos/PX4/Firmware/issues/6189","id":273890039,"user":{"login":"stephanbro","id":5546127,"avatar_url":"https://avatars.githubusercontent.com/u/5546127?v=3","gravatar_id":"","url":"https://api.github.com/users/stephanbro","html_url":"https://github.com/stephanbro","followers_url":"https://api.github.com/users/stephanbro/followers","following_url":"https://api.github.com/users/stephanbro/following{/other_user}","gists_url":"https://api.github.com/users/stephanbro/gists{/gist_id}","starred_url":"https://api.github.com/users/stephanbro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephanbro/subscriptions","organizations_url":"https://api.github.com/users/stephanbro/orgs","repos_url":"https://api.github.com/users/stephanbro/repos","events_url":"https://api.github.com/users/stephanbro/events{/privacy}","received_events_url":"https://api.github.com/users/stephanbro/received_events","type":"User","site_admin":false},"created_at":"2017-01-19T20:32:08Z","updated_at":"2017-01-19T20:32:08Z","body":"I think that it still looks a bit spaghetti-like, but it's thinned out enough that I think it could be understood without too much effort. I've updated the PR with the things we've talked about in this issue so we can start looking at the other builds and types if you want to add it to the CI like you suggested.\r\n\r\nI like the idea you have of changing the node positions to have a better flow. Graphviz seems like it has a fair bit of customization as well as the ability to do sub-graphs that could probably organize things like the plot above. I will try to look in to it more to see what can be done."}}
{"actor":{"display_login":"stephanbro"}}