Re: I can't start Gazebo due to assertions

Paul Osmialowski <[email protected]>
Newsgroups gmane.science.robotics.playerstage
Message-ID <[email protected]>
Hello,

I still can't start Gazebo on Gentoo, I tried three different boost 
versions installed in slots, set manually in ccmake (1.35.0, 1.39.0, 
1.41.0-r3) and still the same.
I also tried to compile it on Fedora. It compiles almost fine, except that 
recent SVN snapshot depends on yaml.h (from libyaml) while cmake does not 
check for that (sould check for yaml.h as this library does not provide 
.pc file nor configuration script), so I had to figure that out for myself 
(Also yaml related code cannot be compiled due to suspicious const cast, 
easy to fix by strdup'ing const pointer returned by c_str() before calling 
yaml function).
I have prepared my own cfg file for 
player: driver
(
   name "gazebo"
   provides ["simulation:0"]
   plugin "libgazeboplugin"
   server_id "default"
)

driver
(
   name "gazebo"
   provides ["position2d:0"]
   gz_id "pioneer2dx_model1::position_iface_0"
)
driver
(
   name "gazebo"
   provides ["camera:0"]
   gz_id "pioneer2dx_model1::sonyvid30_model::camera_iface_0"
#  alwayson 1
#  save 0
)
driver
(
   name "gazebo"
   provides ["ptz:0"]
   gz_id "pioneer2dx_model1::sonyvid30_model::ptz_iface_1"
)

Unfortunately, posotion2d interface works only with SVN snapshot, camera 
interface works only with Gazebo 0.10.0 (tested with videoplayer) and ptz 
interface works nowhere. Also there's a little problem with camera 
interface: Player infrastructure uses BGR color ordering (as in 
Video4Linux) while Gazebo uses RGB ordering, so colors aren't displayed 
right.
Is there any way to have both position2d and camera interface working at 
the same time?!

Paul

On Sun, 18 Apr 2010, Paul Osmialowski wrote:

> Hello,
>
> I can't start Gazebo due to assetrions. It happens to both 0.10.0 version and
> SVN snapshot (both versions introduce themselves as 0.10.0):
> $ gazebo pioneer2dx.world
> Gazebo multi-robot simulator, version 0.10.0
>
> Part of the Player/Stage Project [http://playerstage.sourceforge.net].
> Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
> Released under the GNU General Public License.
>
> gazebo: /usr/include/boost/thread/pthread/recursive_mutex.hpp:72: void
> boost::recursive_mutex::unlock(): Assertion `!pthread_mutex_unlock(&m)' failed.
>
>
> I am using Gentoo Linux on which Boost 1.35.0-r5 and Boost 1.41.0-r3 are
> installed (slot install), while eselect tells that default Boost version is
> 1.41.0-r3, cmake picked version 1.35.0-r5 for Gazebo.
>
> Other libraries:
> ode-0.11.1 single precision
> ogre-1.6.5 (unmasked) single precision
> fltk-1.1.9-r1 and fltk-2.0_pre6786-r1 (slot install) (cmake picked 1.1.9-r1,
> however cmake later ingored --cxxflags from fltk-config so I had to set
> CXXFLAGS variable explicitely before running cmake)
> bullet-2.75 (double precision set explicitely by doing:
> CFLAGS="-DBT_USE_DOUBLE_PRECISION" CXXFLAGS="-DBT_USE_DOUBLE_PRECISION" emerge
> bullet)
> mesa-7.7.1
> freeglut-2.4.0-r1
> nvidia-cg-toolkit-2.1.0012
> nvidia-drivers-195.36.15 (for quite ancient GeForce 6200)
> Player-3.1.SVN (installed in home directory, cmake did not take LIBS/LDFLAGS
> from pkg-config so I had to set them explicitely, and yes, PKG_CONFIG_PATH was
> set correctly)
> freeimage-3.13.1 (compiled by hand from sources, missing freeimage.pc file
> created by hand)
>
> Paul
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Playerstage-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/playerstage-developers
>

------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.