Login  Register

Re: stereo example

Posted by noone on Oct 21, 2024; 11:25am
URL: http://official-rtab-map-forum.206.s1.nabble.com/stereo-example-tp10512p10591.html

about the update here is the full header i added as well the .cpp

 i added few options

like
        public
        const StereoCameraModel& getStereoModel() const;
        void setResolution(int width, int height) { _width = width; _height = height; }
        void setFPS(double fps) { _fps = fps; }
        void setFOURCC(int fourcc) { _fourcc = fourcc; }
        private
        double _fps;
        int _fourcc;


here is the header
https://pastebin.com/gKMAP4Vq

about the CameraStereoVideo.cpp  added the elp part , and const return stereomodel  so i can print the fx fy cx cy etc   this part i added early right after namespace

here is the code

https://pastebin.com/CPgpMvFU



i forgot to answer on the update question ,  i was excited  

copy the codes because they may expire after 2 weeks