{"action":"created","issue":{"url":"https://api.github.com/repos/PX4/Firmware/issues/1281","labels_url":"https://api.github.com/repos/PX4/Firmware/issues/1281/labels{/name}","comments_url":"https://api.github.com/repos/PX4/Firmware/issues/1281/comments","events_url":"https://api.github.com/repos/PX4/Firmware/issues/1281/events","html_url":"https://github.com/PX4/Firmware/issues/1281","id":40420994,"number":1281,"title":"Implement support to MAV_CMD commands #21 and #22","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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2014-08-16T21:31:17Z","updated_at":"2015-06-23T14:00:42Z","closed_at":null,"body":"Hi,\r\n\r\nRight now it's allowed to send, by `mavros` (here: https://github.com/vooon/mavros/blob/master/mavros/src/plugins/command.cpp#L269 and here: https://github.com/vooon/mavros/blob/master/mavros/scripts/mavcmd#L80), commands that use `MAV_CMD_NAV_LAND` and \t`MAV_CMD_NAV_TAKEOFF` to respectively land and take-off. Soon, it will also allow to land and take-off on the current GPS position (already working to get take-off/land in local position).\r\n\r\nThey are both working but always get `FCU: command unsupported: 21` or `FCU: command unsupported: 22`, since they are not supported in the firmware side.\r\n\r\nI ask if someone can add support for this commands in the PX4 side or, at least, give some guidance on how to implement them. I'm not really used to the PX4 code structure/API.\r\n\r\nThanks in advance!"},"comment":{"url":"https://api.github.com/repos/PX4/Firmware/issues/comments/114516333","html_url":"https://github.com/PX4/Firmware/issues/1281#issuecomment-114516333","issue_url":"https://api.github.com/repos/PX4/Firmware/issues/1281","id":114516333,"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},"created_at":"2015-06-23T14:00:42Z","updated_at":"2015-06-23T14:00:42Z","body":"This is just to be aware of how I'm going to implement https://github.com/mavlink/mavlink/pull/401 in the loop."}}