ethz-asl / rovio

Other
1.12k stars 506 forks source link

How to run rovio with RealSense ZR300? #176

Closed zabuton0807 closed 6 years ago

zabuton0807 commented 6 years ago

Hi all, I am trying to run rovio with RealSense ZR300. It seems that tf frame is published correctly when moving slowly. However, when I move it violently, tf frame diverges. I use following configuration files.

camera.yaml: https://github.com/ethz-asl/mav_dji_ros_interface/blob/master/dji_interface/cfg/raven/rovio_cam0.yaml

filter.info:https://github.com/ethz-asl/mav_dji_ros_interface/blob/master/dji_interface/cfg/raven/rovio_filter.info

Is there any other necessary operation? Could someone teach me? Thank you.

kungfrank commented 6 years ago

Hi, I am using ZR300 and same configuration files too. But my terminal just stop at [FilterBase::addUpdateMeas] Warning: included measurements at time 1528122046.37 before safeTime 1528122046.37 and there are no any window show out. Have you face this before?

helenol commented 6 years ago

You should probably calibrate your own camera using kalibr, especially for the intrinsics, and turn online extrinsic estimation to true: doVECalibration false; in the info file and see if that improves stuff. In general we found that for the realsense we had to go a few orders of magnitude up with the IMU noise, so that is something to try. Make sure you are also using the ASL drivers, https://github.com/ethz-asl/realsense , which fix tons of timesync issues and so on (and still support the ZR300). In general we found that the ZR300 never worked particularly well with crazy motions, since the IMU is just very low quality, so there's definitely a limit to how good it can get.

zabuton0807 commented 6 years ago

@helenol Thank you for your comment. I can run rovio with ZR300 now. However, I faced another problem. Would you please check it if you do not mind?

https://github.com/ethz-asl/rovio/issues/179

Thank you.