{"action":"created","issue":{"url":"https://api.github.com/repos/hovren/crisp/issues/2","labels_url":"https://api.github.com/repos/hovren/crisp/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/hovren/crisp/issues/2/comments","events_url":"https://api.github.com/repos/hovren/crisp/issues/2/events","html_url":"https://github.com/hovren/crisp/issues/2","id":102838204,"number":2,"title":"AssertionError in calibration.py","user":{"login":"sergiud","id":2170034,"avatar_url":"https://avatars.githubusercontent.com/u/2170034?v=3","gravatar_id":"","url":"https://api.github.com/users/sergiud","html_url":"https://github.com/sergiud","followers_url":"https://api.github.com/users/sergiud/followers","following_url":"https://api.github.com/users/sergiud/following{/other_user}","gists_url":"https://api.github.com/users/sergiud/gists{/gist_id}","starred_url":"https://api.github.com/users/sergiud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergiud/subscriptions","organizations_url":"https://api.github.com/users/sergiud/orgs","repos_url":"https://api.github.com/users/sergiud/repos","events_url":"https://api.github.com/users/sergiud/events{/privacy}","received_events_url":"https://api.github.com/users/sergiud/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-08-24T16:35:13Z","updated_at":"2015-08-26T13:53:55Z","closed_at":null,"body":"I'm using the OpenCV camera model. After fixing several code issues and running crisp, I get the following error:\r\n\r\n```\r\nCreating video stream from /home/sergiu/Projects/test_sequences/building1.mp4\r\nCreating gyro stream from /home/sergiu/Projects/test_sequences/building1_gyro.csv\r\nCreating calibrator\r\nEstimating time offset and camera to gyroscope rotation. Guessing gyro rate = 200.00\r\nTraceback (most recent call last):\r\n  File \"parrot_ardrone_dataset.py\", line 70, in <module>\r\n    calibrator.initialize(gyro_rate=GYRO_RATE_GUESS)\r\n  File \"/home/sergiu/Projects/crisp/crisp/calibration.py\", line 125, in initialize\r\n    R = self.find_initial_rotation()\r\n  File \"/home/sergiu/Projects/crisp/crisp/calibration.py\", line 290, in find_initial_rotation\r\n    assert data.shape == (6, len(gyro_axes))\r\nAssertionError\r\n```\r\n\r\n`gyro_axes` remains empty. I assume that estimating the initial rotation fails resulting in the error. Is this correct?"},"comment":{"url":"https://api.github.com/repos/hovren/crisp/issues/comments/135027956","html_url":"https://github.com/hovren/crisp/issues/2#issuecomment-135027956","issue_url":"https://api.github.com/repos/hovren/crisp/issues/2","id":135027956,"user":{"login":"hovren","id":311535,"avatar_url":"https://avatars.githubusercontent.com/u/311535?v=3","gravatar_id":"","url":"https://api.github.com/users/hovren","html_url":"https://github.com/hovren","followers_url":"https://api.github.com/users/hovren/followers","following_url":"https://api.github.com/users/hovren/following{/other_user}","gists_url":"https://api.github.com/users/hovren/gists{/gist_id}","starred_url":"https://api.github.com/users/hovren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hovren/subscriptions","organizations_url":"https://api.github.com/users/hovren/orgs","repos_url":"https://api.github.com/users/hovren/repos","events_url":"https://api.github.com/users/hovren/events{/privacy}","received_events_url":"https://api.github.com/users/hovren/received_events","type":"User","site_admin":false},"created_at":"2015-08-26T13:53:55Z","updated_at":"2015-08-26T13:53:55Z","body":"I found another error in `OpenCVCameraModel.unproject` that is now committed.\r\nWith the current master branch I could run the calibration on the data you provided me with.\r\nPlease let me know if this fixed the problem."}}