ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

viso2_ros demo.launch

asked 2013-04-26 06:53:56 -0500

astaranowicz gravatar image

Hi all,

I'm trying out viso2_ros (http://www.ros.org/wiki/viso2_ros?distro=fuerte) by running the demo.launch file that was included. However, it requires a disparity_params.yaml for the stereo_image_proc node. I don't see an example of what is inside the disparity_params.yaml. I tried just putting in a camera calibration parameters. But that does not seem right.

Output from the terminal:

aaron@AntaresL:~/Desktop/DRC/ROS_Examples/viso2-fuerte/viso2_ros/launch$ roslaunch viso2_ros demo.launch ... logging to /home/aaron/.ros/log/6948e56a-ae8e-11e2-b858-180373ea7946/roslaunch-AntaresL-6453.log Checking log directory for disk usage. This may take awhile. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.

Invalid roslaunch XML syntax: not well-formed (invalid token): line 12, column 57

What is needed in the disparity_params.yaml to make this program work? Could someone show an example?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-05-02 22:51:35 -0500

Miquel Massot gravatar image

Hi astaranowicz,

our wrapper uses the same params than the libviso2 library, which you can find here. However, if you prefer to start with our default params, they were inside a comment in an issue, they are:

prefilter_size: 9
prefilter_cap: 31
correlation_window_size: 17
min_disparity: 20
disparity_range: 96
uniqueness_ratio: 10
texture_threshold: 10 
speckle_size: 200
speckle_range: 4

These parameter depend on the stereo camera and the environment (texture, light) you have there. Check the parameters in the ROS wiki for more information. If you have any other question, please feel free to ask, but with the parameters it's best to experiment.

Have fun!

edit flag offensive delete link more

Comments

Thank you for the help. I also noticed that the wrapper doesn't pass any other parameters besides the camera parameters (such as focal length and principal point). How do you pass the other parameters for the matcher and the bucketing?

astaranowicz gravatar image astaranowicz  ( 2013-05-15 09:58:54 -0500 )edit

All parameters listed on http://www.ros.org/wiki/viso2_ros can be normally set through rosparam, e.g. as <param> tag in launch files. This is the code fragment where the paramaters are read: http://ros.org/doc/groovy/api/viso2_ros/html/odometry__params_8h_source.html

Stephan gravatar image Stephan  ( 2013-05-15 10:46:11 -0500 )edit

Thanks for that. I'll try it out.

astaranowicz gravatar image astaranowicz  ( 2013-05-20 10:02:05 -0500 )edit

Question Tools

Stats

Asked: 2013-04-26 06:53:56 -0500

Seen: 1,169 times

Last updated: May 02 '13