{"action":"closed","issue":{"url":"https://api.github.com/repos/AlexisTM/Indoor_Position_lasers/issues/1","repository_url":"https://api.github.com/repos/AlexisTM/Indoor_Position_lasers","labels_url":"https://api.github.com/repos/AlexisTM/Indoor_Position_lasers/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/AlexisTM/Indoor_Position_lasers/issues/1/comments","events_url":"https://api.github.com/repos/AlexisTM/Indoor_Position_lasers/issues/1/events","html_url":"https://github.com/AlexisTM/Indoor_Position_lasers/issues/1","id":174700335,"number":1,"title":"Connect the Arduino directly to the PixHawk","user":{"login":"AlexisTM","id":6976744,"avatar_url":"https://avatars.githubusercontent.com/u/6976744?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexisTM","html_url":"https://github.com/AlexisTM","followers_url":"https://api.github.com/users/AlexisTM/followers","following_url":"https://api.github.com/users/AlexisTM/following{/other_user}","gists_url":"https://api.github.com/users/AlexisTM/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexisTM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexisTM/subscriptions","organizations_url":"https://api.github.com/users/AlexisTM/orgs","repos_url":"https://api.github.com/users/AlexisTM/repos","events_url":"https://api.github.com/users/AlexisTM/events{/privacy}","received_events_url":"https://api.github.com/users/AlexisTM/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AlexisTM/Indoor_Position_lasers/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"closed","locked":false,"assignee":{"login":"AlexisTM","id":6976744,"avatar_url":"https://avatars.githubusercontent.com/u/6976744?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexisTM","html_url":"https://github.com/AlexisTM","followers_url":"https://api.github.com/users/AlexisTM/followers","following_url":"https://api.github.com/users/AlexisTM/following{/other_user}","gists_url":"https://api.github.com/users/AlexisTM/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexisTM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexisTM/subscriptions","organizations_url":"https://api.github.com/users/AlexisTM/orgs","repos_url":"https://api.github.com/users/AlexisTM/repos","events_url":"https://api.github.com/users/AlexisTM/events{/privacy}","received_events_url":"https://api.github.com/users/AlexisTM/received_events","type":"User","site_admin":false},"assignees":[{"login":"AlexisTM","id":6976744,"avatar_url":"https://avatars.githubusercontent.com/u/6976744?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexisTM","html_url":"https://github.com/AlexisTM","followers_url":"https://api.github.com/users/AlexisTM/followers","following_url":"https://api.github.com/users/AlexisTM/following{/other_user}","gists_url":"https://api.github.com/users/AlexisTM/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexisTM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexisTM/subscriptions","organizations_url":"https://api.github.com/users/AlexisTM/orgs","repos_url":"https://api.github.com/users/AlexisTM/repos","events_url":"https://api.github.com/users/AlexisTM/events{/privacy}","received_events_url":"https://api.github.com/users/AlexisTM/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-09-02T07:47:16Z","updated_at":"2016-09-12T16:42:33Z","closed_at":"2016-09-12T16:42:33Z","body":"@ajaybhatt003 Refering to :  https://github.com/AlexisTM/Indoor_Position_lasers/commit/5a654492d9ed4f3c446e3a4e7029cab70af3cda6#commitcomment-18876297\r\n\r\nHello @ajaybhatt003, the Arduino script you see here is a ROS connection. It means the PixHawk and the Arduino are connected to an onboard computer (Odroid XU4, could be a RPi3). The Arduino sends the data to the onboard computer via a ROS library (rosserial), the computer compute (in this case : the position of the multicopter) and then, the onboard computer sends the data to the Pixhawk (the position). \r\n\r\nAt first we tried to connect directly the Arduino to the PixHawk, which is possible in different ways. \r\n- MAVLink : Send a [MAVLink](https://github.com/mavlink/mavlink) compatible message on the serial port, eventually create a new message if you need to send custom data, on port TELEM 1. (connect the RX of the Arduino to the TX of the Pixhawk and the opposite) \r\n\r\n> This require a lot of memory on the Arduino (I don't remember the exact amount)\r\n\r\n- Serialize and Send custom frames to the Pixhawk and deserialize on the PixHawk. \r\n\r\n> You will have to find a library or create a frame, like \"0xFF, N bytes of data, CRC\" and create a PixHawk script to handle it."}}
{"actor":{"display_login":"AlexisTM"}}