{"action":"closed","issue":{"url":"https://api.github.com/repos/bmwcarit/barefoot/issues/25","repository_url":"https://api.github.com/repos/bmwcarit/barefoot","labels_url":"https://api.github.com/repos/bmwcarit/barefoot/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/bmwcarit/barefoot/issues/25/comments","events_url":"https://api.github.com/repos/bmwcarit/barefoot/issues/25/events","html_url":"https://github.com/bmwcarit/barefoot/issues/25","id":174554263,"number":25,"title":"Should direction of vehicle be passed as heading or azimuth.","user":{"login":"mmunko","id":16341245,"avatar_url":"https://avatars.githubusercontent.com/u/16341245?v=3","gravatar_id":"","url":"https://api.github.com/users/mmunko","html_url":"https://github.com/mmunko","followers_url":"https://api.github.com/users/mmunko/followers","following_url":"https://api.github.com/users/mmunko/following{/other_user}","gists_url":"https://api.github.com/users/mmunko/gists{/gist_id}","starred_url":"https://api.github.com/users/mmunko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmunko/subscriptions","organizations_url":"https://api.github.com/users/mmunko/orgs","repos_url":"https://api.github.com/users/mmunko/repos","events_url":"https://api.github.com/users/mmunko/events{/privacy}","received_events_url":"https://api.github.com/users/mmunko/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-01T15:28:41Z","updated_at":"2016-09-04T09:20:04Z","closed_at":"2016-09-04T09:20:04Z","body":"In the docs, under the tracker section, there is a list of parameters in the request listed.\r\nOne of the params is ```heading```, but in the source code in the https://github.com/bmwcarit/barefoot/blob/master/src/main/java/com/bmwcarit/barefoot/matcher/MatcherSample.java, in the lines  91-102 there is:\r\n```\r\n    public MatcherSample(JSONObject json) throws JSONException {\r\n        super(json);\r\n        id = json.getString(\"id\");\r\n        String wkt = json.getString(\"point\");\r\n        point = (Point) GeometryEngine.geometryFromWkt(wkt, WktImportFlags.wktImportDefaults,\r\n                Type.Point);\r\n        if (json.has(\"azimuth\")) {\r\n            azimuth = norm(json.getDouble(\"azimuth\"));\r\n        } else {\r\n            azimuth = Double.NaN;\r\n        }\r\n}\r\n```\r\nConstructor checks for \"azimuth\" in the json."}}
{"actor":{"display_login":"smattheis"}}