{"action":"opened","issue":{"url":"https://api.github.com/repos/ethz-ait/duo_vio/issues/7","repository_url":"https://api.github.com/repos/ethz-ait/duo_vio","labels_url":"https://api.github.com/repos/ethz-ait/duo_vio/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/ethz-ait/duo_vio/issues/7/comments","events_url":"https://api.github.com/repos/ethz-ait/duo_vio/issues/7/events","html_url":"https://github.com/ethz-ait/duo_vio/issues/7","id":218438214,"number":7,"title":"Camera and IMU sampling rates","user":{"login":"sljheng","id":26811523,"avatar_url":"https://avatars2.githubusercontent.com/u/26811523?v=3","gravatar_id":"","url":"https://api.github.com/users/sljheng","html_url":"https://github.com/sljheng","followers_url":"https://api.github.com/users/sljheng/followers","following_url":"https://api.github.com/users/sljheng/following{/other_user}","gists_url":"https://api.github.com/users/sljheng/gists{/gist_id}","starred_url":"https://api.github.com/users/sljheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sljheng/subscriptions","organizations_url":"https://api.github.com/users/sljheng/orgs","repos_url":"https://api.github.com/users/sljheng/repos","events_url":"https://api.github.com/users/sljheng/events{/privacy}","received_events_url":"https://api.github.com/users/sljheng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-31T08:53:10Z","updated_at":"2017-03-31T08:53:10Z","closed_at":null,"body":"Hi, thanks for making the code available. I am trying to run `duo3d_short.bag`. There are 2416 and 2415 messages for IMU and camera, so I assume that the sampling rates for IMU and camera are almost the same. However, if I print the received `ait_ros_messages::VioSensorMsg`, it shows that `msg.imu.size()` is always greater than 1. For instance, `(sec, nsec, accel_x, accel_y, accel_z, gyro_x, gyro_y, gyro_z)` for the first `ait_ros_messages::VioSensorMsg` is\r\n`0 0 0.0520 -9.7860 -2.6441 -0.0548 -0.0787 0.0234`\r\n`0 0 0.0479 -9.8760 -2.6105 -0.0585 -0.0798 0.0250`\r\n`0 0 0.1197 -9.7620 -2.6728 -0.0580 -0.0776 0.0234`\r\n`0 0 0.0718 -9.7860 -2.6920 -0.0601 -0.0787 0.0207`\r\nIn contrast, the corresponding `(sec, nsec, accel_x, accel_y, accel_z, gyro_x, gyro_y, gyro_z)` from `duo3d_short.bag` is only\r\n`0 0 0.0718 -9.7860 -2.6920 -0.0601 -0.0787 0.0207`\r\nI am wondering where are the messages other than the last line coming from?"}}
{"actor":{"display_login":"sljheng"}}