Hi All, I have been trying to use the examples/libgazebo/stereo/stereo.cc to generate depth maps using the stereocamera.world file. I start up gazebo and then, using another terminal, start stereo with ./stereo and let it run for a bit (such that it will generate anywhere from 10-a few hundred framexxxx.pgm's). I have been running gazebo both through a SSH X terminal and directly on the machine with gazebo (using SVN from the last couple of days) and it produces either blank .pgm's (all 255) or somewhat 'random' black-and-white shapes that do not appear to be any of the viewpoints available through gazebo (let alone any sort of depth map for a square or plane/horizon).
Is this feature currently implemented? Do I need to be set to View|Stereo(1) in gazebo before capturing (not that it has made any difference)? I have attempted to add debug code by printing the disparity data after it's written to the file, and all that appears is 1.0's (usually, unless I have the random black and white shapes in which case it is 0.0's or 1.0's). The machine that runs gazebo is a relatively new Dell with an NVidia 7900GS using proprietary drivers and a fairly new processor. It can easily run gazebo at over 30 fps when displaying and moving through an empty scene. If you need any more information, please don't hesitate to ask. Thank you, Dan ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Playerstage-gazebo mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
