{"action":"created","comment":{"url":"https://api.github.com/repos/rgerganov/rf-car/pulls/comments/79286243","id":79286243,"diff_hunk":"@@ -8,12 +8,15 @@\n int main(int argc, char *argv[])\n {\n     char optc;\n+    bool invert_steering = false;\n+    bool invert_throttle = false;\n+    bool invert_axis = false;\n \n     rf_global_args.FREQ = DEFAULT_FREQ;\n     rf_global_args.SAMPLE_RATE = DEFAULT_SAMPLE_RATE;\n     rf_global_args.SYMBOL_RATE = DEFAULT_SYMBOL_RATE;\n \n-    while ((optc = getopt(argc, argv, \"f:s:b:\")) > 0) {\n+    while ((optc = getopt(argc, argv, \"f:s:b:STA\")) > 0) {","path":"main.cpp","position":null,"original_position":13,"commit_id":"46f0f23f0ae8f6241142e1ea27813bcf4dd8a5ba","original_commit_id":"46f0f23f0ae8f6241142e1ea27813bcf4dd8a5ba","user":{"login":"ekoyle","id":1048398,"avatar_url":"https://avatars.githubusercontent.com/u/1048398?v=3","gravatar_id":"","url":"https://api.github.com/users/ekoyle","html_url":"https://github.com/ekoyle","followers_url":"https://api.github.com/users/ekoyle/followers","following_url":"https://api.github.com/users/ekoyle/following{/other_user}","gists_url":"https://api.github.com/users/ekoyle/gists{/gist_id}","starred_url":"https://api.github.com/users/ekoyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekoyle/subscriptions","organizations_url":"https://api.github.com/users/ekoyle/orgs","repos_url":"https://api.github.com/users/ekoyle/repos","events_url":"https://api.github.com/users/ekoyle/events{/privacy}","received_events_url":"https://api.github.com/users/ekoyle/received_events","type":"User","site_admin":false},"body":"The rc car I was testing on has the steering backwards (so left in your program turned the car right and right turned it left).  I figured that since the first device I tried had a problem, it wasn't too much of a leap to assume there are other improperly designed devices out there.","created_at":"2016-09-17T15:24:00Z","updated_at":"2016-09-17T15:24:00Z","html_url":"https://github.com/rgerganov/rf-car/pull/1#discussion_r79286243","pull_request_url":"https://api.github.com/repos/rgerganov/rf-car/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/rgerganov/rf-car/pulls/comments/79286243"},"html":{"href":"https://github.com/rgerganov/rf-car/pull/1#discussion_r79286243"},"pull_request":{"href":"https://api.github.com/repos/rgerganov/rf-car/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/rgerganov/rf-car/pulls/1","id":85604237,"html_url":"https://github.com/rgerganov/rf-car/pull/1","diff_url":"https://github.com/rgerganov/rf-car/pull/1.diff","patch_url":"https://github.com/rgerganov/rf-car/pull/1.patch","issue_url":"https://api.github.com/repos/rgerganov/rf-car/issues/1","number":1,"state":"open","locked":false,"title":"Add CLI args","user":{"login":"ekoyle","id":1048398,"avatar_url":"https://avatars.githubusercontent.com/u/1048398?v=3","gravatar_id":"","url":"https://api.github.com/users/ekoyle","html_url":"https://github.com/ekoyle","followers_url":"https://api.github.com/users/ekoyle/followers","following_url":"https://api.github.com/users/ekoyle/following{/other_user}","gists_url":"https://api.github.com/users/ekoyle/gists{/gist_id}","starred_url":"https://api.github.com/users/ekoyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekoyle/subscriptions","organizations_url":"https://api.github.com/users/ekoyle/orgs","repos_url":"https://api.github.com/users/ekoyle/repos","events_url":"https://api.github.com/users/ekoyle/events{/privacy}","received_events_url":"https://api.github.com/users/ekoyle/received_events","type":"User","site_admin":false},"body":"Add some args for frequency, sample rate, and symbol rate instead of editing the code and rebuilding.  If I were really ambitious, I would add it to the GUI.","created_at":"2016-09-16T16:42:20Z","updated_at":"2016-09-17T15:24:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6e1d47d53dc25d69b83e3c8f33c5aeb515caeeaa","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/rgerganov/rf-car/pulls/1/commits","review_comments_url":"https://api.github.com/repos/rgerganov/rf-car/pulls/1/comments","review_comment_url":"https://api.github.com/repos/rgerganov/rf-car/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rgerganov/rf-car/issues/1/comments","statuses_url":"https://api.github.com/repos/rgerganov/rf-car/statuses/46f0f23f0ae8f6241142e1ea27813bcf4dd8a5ba","head":{"label":"ekoyle:add_cli_args","ref":"add_cli_args","sha":"46f0f23f0ae8f6241142e1ea27813bcf4dd8a5ba","user":{"login":"ekoyle","id":1048398,"avatar_url":"https://avatars.githubusercontent.com/u/1048398?v=3","gravatar_id":"","url":"https://api.github.com/users/ekoyle","html_url":"https://github.com/ekoyle","followers_url":"https://api.github.com/users/ekoyle/followers","following_url":"https://api.github.com/users/ekoyle/following{/other_user}","gists_url":"https://api.github.com/users/ekoyle/gists{/gist_id}","starred_url":"https://api.github.com/users/ekoyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekoyle/subscriptions","organizations_url":"https://api.github.com/users/ekoyle/orgs","repos_url":"https://api.github.com/users/ekoyle/repos","events_url":"https://api.github.com/users/ekoyle/events{/privacy}","received_events_url":"https://api.github.com/users/ekoyle/received_events","type":"User","site_admin":false},"repo":{"id":68349046,"name":"rf-car","full_name":"ekoyle/rf-car","owner":{"login":"ekoyle","id":1048398,"avatar_url":"https://avatars.githubusercontent.com/u/1048398?v=3","gravatar_id":"","url":"https://api.github.com/users/ekoyle","html_url":"https://github.com/ekoyle","followers_url":"https://api.github.com/users/ekoyle/followers","following_url":"https://api.github.com/users/ekoyle/following{/other_user}","gists_url":"https://api.github.com/users/ekoyle/gists{/gist_id}","starred_url":"https://api.github.com/users/ekoyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekoyle/subscriptions","organizations_url":"https://api.github.com/users/ekoyle/orgs","repos_url":"https://api.github.com/users/ekoyle/repos","events_url":"https://api.github.com/users/ekoyle/events{/privacy}","received_events_url":"https://api.github.com/users/ekoyle/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ekoyle/rf-car","description":"Controlling an RC car with HackRF","fork":true,"url":"https://api.github.com/repos/ekoyle/rf-car","forks_url":"https://api.github.com/repos/ekoyle/rf-car/forks","keys_url":"https://api.github.com/repos/ekoyle/rf-car/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ekoyle/rf-car/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ekoyle/rf-car/teams","hooks_url":"https://api.github.com/repos/ekoyle/rf-car/hooks","issue_events_url":"https://api.github.com/repos/ekoyle/rf-car/issues/events{/number}","events_url":"https://api.github.com/repos/ekoyle/rf-car/events","assignees_url":"https://api.github.com/repos/ekoyle/rf-car/assignees{/user}","branches_url":"https://api.github.com/repos/ekoyle/rf-car/branches{/branch}","tags_url":"https://api.github.com/repos/ekoyle/rf-car/tags","blobs_url":"https://api.github.com/repos/ekoyle/rf-car/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ekoyle/rf-car/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ekoyle/rf-car/git/refs{/sha}","trees_url":"https://api.github.com/repos/ekoyle/rf-car/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ekoyle/rf-car/statuses/{sha}","languages_url":"https://api.github.com/repos/ekoyle/rf-car/languages","stargazers_url":"https://api.github.com/repos/ekoyle/rf-car/stargazers","contributors_url":"https://api.github.com/repos/ekoyle/rf-car/contributors","subscribers_url":"https://api.github.com/repos/ekoyle/rf-car/subscribers","subscription_url":"https://api.github.com/repos/ekoyle/rf-car/subscription","commits_url":"https://api.github.com/repos/ekoyle/rf-car/commits{/sha}","git_commits_url":"https://api.github.com/repos/ekoyle/rf-car/git/commits{/sha}","comments_url":"https://api.github.com/repos/ekoyle/rf-car/comments{/number}","issue_comment_url":"https://api.github.com/repos/ekoyle/rf-car/issues/comments{/number}","contents_url":"https://api.github.com/repos/ekoyle/rf-car/contents/{+path}","compare_url":"https://api.github.com/repos/ekoyle/rf-car/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ekoyle/rf-car/merges","archive_url":"https://api.github.com/repos/ekoyle/rf-car/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ekoyle/rf-car/downloads","issues_url":"https://api.github.com/repos/ekoyle/rf-car/issues{/number}","pulls_url":"https://api.github.com/repos/ekoyle/rf-car/pulls{/number}","milestones_url":"https://api.github.com/repos/ekoyle/rf-car/milestones{/number}","notifications_url":"https://api.github.com/repos/ekoyle/rf-car/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ekoyle/rf-car/labels{/name}","releases_url":"https://api.github.com/repos/ekoyle/rf-car/releases{/id}","deployments_url":"https://api.github.com/repos/ekoyle/rf-car/deployments","created_at":"2016-09-16T03:08:12Z","updated_at":"2016-09-16T03:08:14Z","pushed_at":"2016-09-16T17:27:14Z","git_url":"git://github.com/ekoyle/rf-car.git","ssh_url":"git@github.com:ekoyle/rf-car.git","clone_url":"https://github.com/ekoyle/rf-car.git","svn_url":"https://github.com/ekoyle/rf-car","homepage":null,"size":833,"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":"rgerganov:master","ref":"master","sha":"7aa1680f76fac5da8747f96ae973114778de86b3","user":{"login":"rgerganov","id":271616,"avatar_url":"https://avatars.githubusercontent.com/u/271616?v=3","gravatar_id":"","url":"https://api.github.com/users/rgerganov","html_url":"https://github.com/rgerganov","followers_url":"https://api.github.com/users/rgerganov/followers","following_url":"https://api.github.com/users/rgerganov/following{/other_user}","gists_url":"https://api.github.com/users/rgerganov/gists{/gist_id}","starred_url":"https://api.github.com/users/rgerganov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgerganov/subscriptions","organizations_url":"https://api.github.com/users/rgerganov/orgs","repos_url":"https://api.github.com/users/rgerganov/repos","events_url":"https://api.github.com/users/rgerganov/events{/privacy}","received_events_url":"https://api.github.com/users/rgerganov/received_events","type":"User","site_admin":false},"repo":{"id":65551175,"name":"rf-car","full_name":"rgerganov/rf-car","owner":{"login":"rgerganov","id":271616,"avatar_url":"https://avatars.githubusercontent.com/u/271616?v=3","gravatar_id":"","url":"https://api.github.com/users/rgerganov","html_url":"https://github.com/rgerganov","followers_url":"https://api.github.com/users/rgerganov/followers","following_url":"https://api.github.com/users/rgerganov/following{/other_user}","gists_url":"https://api.github.com/users/rgerganov/gists{/gist_id}","starred_url":"https://api.github.com/users/rgerganov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgerganov/subscriptions","organizations_url":"https://api.github.com/users/rgerganov/orgs","repos_url":"https://api.github.com/users/rgerganov/repos","events_url":"https://api.github.com/users/rgerganov/events{/privacy}","received_events_url":"https://api.github.com/users/rgerganov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rgerganov/rf-car","description":"Controlling an RC car with HackRF","fork":false,"url":"https://api.github.com/repos/rgerganov/rf-car","forks_url":"https://api.github.com/repos/rgerganov/rf-car/forks","keys_url":"https://api.github.com/repos/rgerganov/rf-car/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rgerganov/rf-car/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rgerganov/rf-car/teams","hooks_url":"https://api.github.com/repos/rgerganov/rf-car/hooks","issue_events_url":"https://api.github.com/repos/rgerganov/rf-car/issues/events{/number}","events_url":"https://api.github.com/repos/rgerganov/rf-car/events","assignees_url":"https://api.github.com/repos/rgerganov/rf-car/assignees{/user}","branches_url":"https://api.github.com/repos/rgerganov/rf-car/branches{/branch}","tags_url":"https://api.github.com/repos/rgerganov/rf-car/tags","blobs_url":"https://api.github.com/repos/rgerganov/rf-car/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rgerganov/rf-car/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rgerganov/rf-car/git/refs{/sha}","trees_url":"https://api.github.com/repos/rgerganov/rf-car/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rgerganov/rf-car/statuses/{sha}","languages_url":"https://api.github.com/repos/rgerganov/rf-car/languages","stargazers_url":"https://api.github.com/repos/rgerganov/rf-car/stargazers","contributors_url":"https://api.github.com/repos/rgerganov/rf-car/contributors","subscribers_url":"https://api.github.com/repos/rgerganov/rf-car/subscribers","subscription_url":"https://api.github.com/repos/rgerganov/rf-car/subscription","commits_url":"https://api.github.com/repos/rgerganov/rf-car/commits{/sha}","git_commits_url":"https://api.github.com/repos/rgerganov/rf-car/git/commits{/sha}","comments_url":"https://api.github.com/repos/rgerganov/rf-car/comments{/number}","issue_comment_url":"https://api.github.com/repos/rgerganov/rf-car/issues/comments{/number}","contents_url":"https://api.github.com/repos/rgerganov/rf-car/contents/{+path}","compare_url":"https://api.github.com/repos/rgerganov/rf-car/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rgerganov/rf-car/merges","archive_url":"https://api.github.com/repos/rgerganov/rf-car/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rgerganov/rf-car/downloads","issues_url":"https://api.github.com/repos/rgerganov/rf-car/issues{/number}","pulls_url":"https://api.github.com/repos/rgerganov/rf-car/pulls{/number}","milestones_url":"https://api.github.com/repos/rgerganov/rf-car/milestones{/number}","notifications_url":"https://api.github.com/repos/rgerganov/rf-car/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rgerganov/rf-car/labels{/name}","releases_url":"https://api.github.com/repos/rgerganov/rf-car/releases{/id}","deployments_url":"https://api.github.com/repos/rgerganov/rf-car/deployments","created_at":"2016-08-12T12:20:20Z","updated_at":"2016-09-01T20:42:43Z","pushed_at":"2016-09-16T17:27:15Z","git_url":"git://github.com/rgerganov/rf-car.git","ssh_url":"git@github.com:rgerganov/rf-car.git","clone_url":"https://github.com/rgerganov/rf-car.git","svn_url":"https://github.com/rgerganov/rf-car","homepage":null,"size":829,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rgerganov/rf-car/pulls/1"},"html":{"href":"https://github.com/rgerganov/rf-car/pull/1"},"issue":{"href":"https://api.github.com/repos/rgerganov/rf-car/issues/1"},"comments":{"href":"https://api.github.com/repos/rgerganov/rf-car/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/rgerganov/rf-car/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/rgerganov/rf-car/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rgerganov/rf-car/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/rgerganov/rf-car/statuses/46f0f23f0ae8f6241142e1ea27813bcf4dd8a5ba"}}}}
{"actor":{"display_login":"ekoyle"}}