Login  Register

Re: stereo example

Posted by matlabbe on Oct 12, 2024; 9:09pm
URL: http://official-rtab-map-forum.206.s1.nabble.com/stereo-example-tp10512p10533.html

The frame rate can be set with the third argument to CameraStereoVideo constructor.

We don't explicitly set the FPS on the cv::VideoCapture object, the frame rate is used in SensorCapture class. If rate=0, it means we will call "capture_.read(img)" as fast as possible (i.e. maximum rate that the camera can provide images).

Note also that you require rectified images, but in the camera init, you don't pass calibration file (calibration directory and calibration name). rtabmap may throw some warnings or errors about that.