librealsense icon indicating copy to clipboard operation
librealsense copied to clipboard

The default frame rate of tracking module in realsense-viewer can not be changed

Open chunyang-zhang opened this issue 7 years ago • 9 comments

  • Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

  • All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)


Required Info
Camera Model Realsense T265
Firmware Version Unknown version
Operating System & Version Ubuntu 16.04
Kernel Version (Linux Only) 4.4.0-142
Platform x64
SDK Version librealsense 2.18.1
Language C++
Segment Robot/others

Issue Description

@dorodnic, hello, I will apply the camera on our moving robot, but the robot moving speed is so fast, so I want to change the frame rate of tracking module to improve the performance of Visual Odometry , does it work? How to change the default frame rate of the tracking module ? Thanks a lot!

chunyang-zhang avatar Mar 06 '19 09:03 chunyang-zhang

The default rate is ~260Hz, do you need to increase or decrease it?

dorodnic avatar Mar 06 '19 10:03 dorodnic

@dorodnic , thank you, I want to increase frame rate, what should I do?

chunyang-zhang avatar Mar 06 '19 11:03 chunyang-zhang

Hi @chunyang-zhang 260 Hz is as fast the device can go right now.

dorodnic avatar Mar 06 '19 11:03 dorodnic

@dorodnic OK, I got it! thank you very much!

chunyang-zhang avatar Mar 06 '19 11:03 chunyang-zhang

Hope it will be sufficient for your use case. Perhaps some kind of prediction algorithm can be added on top? This is what we did for seamless VR HMD tracking.

dorodnic avatar Mar 06 '19 12:03 dorodnic

OK , you did a great job! By the way, is the source code of prediction algorithm available now?

chunyang-zhang avatar Mar 06 '19 12:03 chunyang-zhang

I think for prediction the team was using one of the existing VR SDKs (either from Vive or Oculus, not sure) We are planning to release OpenVR wrapper for the T265 in one of the future releases

dorodnic avatar Mar 06 '19 13:03 dorodnic

OK, many thanks, I'm looking forward to your OpenVR wrapper

chunyang-zhang avatar Mar 08 '19 02:03 chunyang-zhang

@chunyang-zhang, see #3431 for example prediction code.

radfordi avatar Mar 08 '19 22:03 radfordi