{"action":"reopened","issue":{"url":"https://api.github.com/repos/schwehr/libais/issues/36","labels_url":"https://api.github.com/repos/schwehr/libais/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/schwehr/libais/issues/36/comments","events_url":"https://api.github.com/repos/schwehr/libais/issues/36/events","html_url":"https://github.com/schwehr/libais/issues/36","id":49264683,"number":36,"title":"msg 27 conversion issue","user":{"login":"schwehr","id":389869,"avatar_url":"https://avatars.githubusercontent.com/u/389869?v=3","gravatar_id":"","url":"https://api.github.com/users/schwehr","html_url":"https://github.com/schwehr","followers_url":"https://api.github.com/users/schwehr/followers","following_url":"https://api.github.com/users/schwehr/following{/other_user}","gists_url":"https://api.github.com/users/schwehr/gists{/gist_id}","starred_url":"https://api.github.com/users/schwehr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schwehr/subscriptions","organizations_url":"https://api.github.com/users/schwehr/orgs","repos_url":"https://api.github.com/users/schwehr/repos","events_url":"https://api.github.com/users/schwehr/events{/privacy}","received_events_url":"https://api.github.com/users/schwehr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2014-11-18T17:23:03Z","updated_at":"2015-01-21T00:22:31Z","closed_at":null,"body":"I need to go through the code and write up the policy for how to handle things and then comment on the reason why when it deviates or fix it to comply.\r\n\r\nReported:\r\n\r\nAis27.cpp, the sog and cog parameters are not turned into real measurements in terms of knots and degrees as is the case with the other ais messages. Thus, unlike in the other files, the sog and coq parameters for message 27 are integers and not floats.\r\n\r\nwith AIS27, your use of sog and coq is fine after all, though you are not using the same type as in the other messages. I don't have the standard, but it looks like in that message, there is, for some inexplicable reason, an extra bit in each field and the values broadcast should just never use that bit. Thus, 63 and 511 are the maximum values. I have no idea why the message would be designed with an extra bit. It is not as if negative values are allowed. "}}