Ask Your Question

Getting viso2_ros to work - visual odometry-

asked 2014-06-25 04:29:13 -0500

mister_kay gravatar image

updated 2014-06-25 04:31:40 -0500


there exists a c++ open-source visual odometry library called "LIBVISO2" ( which I would like to use in ROS. For the library there exists a ROS-package called "viso2_ros" which is a ROS-wrapper for the library.

I am totally new to LINUX and ROS. In Windows I use VS2010 and the Flycap drivers for the two Point Grey Flea3 "gigE cameras" making the stereo-visual odometry work (using LIBVISO2).

Now I finished the 20 ROS beginner tutorials but still am confused how to get started. Can you give me some tips regarding how to take the first steps?

Basically I need a tip how to

  • establish a camera node (with the Flea Linux drivers??) which will output images (I use a trigger)
  • rectify the images (I have all the parameters for initundistorstrectifymap from opencv)
  • use openCV in general
  • make my fist steps with viso2_ros

Thank You. All tips are well appreciated!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-06-28 07:13:47 -0500

Miquel Massot gravatar image

updated 2014-06-30 10:09:04 -0500

Hi mister_kay,

first of all, wellcome to the ROS comunity. In order to start with you application, I'd first take a look at what drivers are already available in ROS. If I'm not mistaken, ptgrey Flea3 admits IIDC protocol, so maybe you can use the camera1394 driver, or tweak it a little bit so that you can use it with your usb3 camera, even if it's not firewire. Take a look here.

Check that you can get your images published as ROS topics. Once that's been done, then the rectificacion can be done with the node image_proc. Once you get these two nodes on, calibrate the camera with the camera calibrator and you'll be ready to rock with opencv. If you prefer, you can also rectify the images from opencv directly. It's your call.

Then, finally, for viso2 and viso2_ros follow the example launchfile. Another way to test viso2 is to download our bagfile (there a link in the wiki, if not, download it from here) and launch the demo launchfile.

edit flag offensive delete link more


Thank you very much Miquel! With your help I installed the Point Grey driver and can now display the imgs from my cameras (for some reason with a low frequ. in my virtual machine). Also the "roslaunch camera.launch" command created many topics. One question: Where can I find the example launchfile?

mister_kay gravatar image mister_kay  ( 2014-07-01 05:45:36 -0500 )edit
Miquel Massot gravatar image Miquel Massot  ( 2014-07-02 06:16:57 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-06-25 04:29:13 -0500

Seen: 2,409 times

Last updated: Jun 30 '14