{"action":"created","issue":{"url":"https://api.github.com/repos/ros-perception/vision_opencv/issues/117","repository_url":"https://api.github.com/repos/ros-perception/vision_opencv","labels_url":"https://api.github.com/repos/ros-perception/vision_opencv/issues/117/labels{/name}","comments_url":"https://api.github.com/repos/ros-perception/vision_opencv/issues/117/comments","events_url":"https://api.github.com/repos/ros-perception/vision_opencv/issues/117/events","html_url":"https://github.com/ros-perception/vision_opencv/issues/117","id":137581608,"number":117,"title":"Need to check if all distortion coefficients are zero, not just first one","user":{"login":"lucasw","id":1334122,"avatar_url":"https://avatars.githubusercontent.com/u/1334122?v=3","gravatar_id":"","url":"https://api.github.com/users/lucasw","html_url":"https://github.com/lucasw","followers_url":"https://api.github.com/users/lucasw/followers","following_url":"https://api.github.com/users/lucasw/following{/other_user}","gists_url":"https://api.github.com/users/lucasw/gists{/gist_id}","starred_url":"https://api.github.com/users/lucasw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucasw/subscriptions","organizations_url":"https://api.github.com/users/lucasw/orgs","repos_url":"https://api.github.com/users/lucasw/repos","events_url":"https://api.github.com/users/lucasw/events{/privacy}","received_events_url":"https://api.github.com/users/lucasw/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-01T14:02:31Z","updated_at":"2016-03-04T17:21:04Z","closed_at":"2016-03-04T17:21:04Z","body":"To support https://github.com/ros-perception/image_pipeline/issues/180 PinholeCameraModel::fromCameraInfo() needs to check if any of the distortion coefficients are non-zero, not just the first one.\r\n\r\nhttps://github.com/ros-perception/vision_opencv/blob/indigo/image_geometry/src/pinhole_camera_model.cpp#L130\r\n\r\n    cache_->distortion_state = (cam_info_.D.size() == 0 || (cam_info_.D[0] == 0.0)) ? NONE : CALIBRATED;"},"comment":{"url":"https://api.github.com/repos/ros-perception/vision_opencv/issues/comments/192366876","html_url":"https://github.com/ros-perception/vision_opencv/issues/117#issuecomment-192366876","issue_url":"https://api.github.com/repos/ros-perception/vision_opencv/issues/117","id":192366876,"user":{"login":"vrabaud","id":700766,"avatar_url":"https://avatars.githubusercontent.com/u/700766?v=3","gravatar_id":"","url":"https://api.github.com/users/vrabaud","html_url":"https://github.com/vrabaud","followers_url":"https://api.github.com/users/vrabaud/followers","following_url":"https://api.github.com/users/vrabaud/following{/other_user}","gists_url":"https://api.github.com/users/vrabaud/gists{/gist_id}","starred_url":"https://api.github.com/users/vrabaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vrabaud/subscriptions","organizations_url":"https://api.github.com/users/vrabaud/orgs","repos_url":"https://api.github.com/users/vrabaud/repos","events_url":"https://api.github.com/users/vrabaud/events{/privacy}","received_events_url":"https://api.github.com/users/vrabaud/received_events","type":"User","site_admin":false},"created_at":"2016-03-04T17:21:04Z","updated_at":"2016-03-04T17:21:04Z","body":"Close by #118 "}}