After redoing everything failed to fix my problem, I realized that I hadn't configured ODE to be a release, and by default it is in DEBUG mode. It turns out that when ODE is in DEBUG mode, any time that there is a possible problem, it stops so that you can fix it. Not what I would consider desired behavior. But now it looks like things are working.

The other thing I had to do in order to get wxgazebo working was to remove the libtiff.dylib, and libpng.dylib that I had made for opencv because they conflicted with ones being used by the framework version of wxPython. After doing that I then had to recompile and install gazebo, and everything was happy.

Thanks,

David


On Apr 10, 2007, at 9:56 PM, Juan D.Velasquez wrote:

Solved!

Apparently a problem with an outdated library in fink. I decided to
start from scratch. Removed fink and reinstalled it. Installed all
dependencies from source instead as opposed to from binaries (as I
had done before). Rebuilt all libraries from scratch: opencv (1.0),
player (2.0.3), stage (2.0.3), gdal (1.4.1), ode (0.8) and then
gazebo and it now works!

I wish I could have detected the main culprit to tell those of you
who wrote and had the same ODE Internal Error, but in any case I
would suggest rebuilding from scratch as I did.

Thanks to all who wrote with suggestions.

--Juan


On Apr 9, 2007, at 7:01 PM, Juan D. Velasquez wrote:

Hi Nathan (and everybody),

Thanks again for your help with this. Forgive my tardy reply, but I
was out until now.

So, I tried your suggestions but I am still getting these errors
under OS X 10.4.9.
BTW, I also get the wxpython annoying window glitches, so that was
cool to fix. Now, as for gazebo:

I have recompiled ode (0.8) and then recompiled gazebo (0.7) and it
didn't work. With the exception of the terrain.world example, I get
the following error with ALL files:

---------------------------------

starting server
waiting for server
** Gazebo 0.8.0 **
* Part of the Player/Stage Project [http://
playerstage.sourceforge.net].
* Copyright 2000-2005 Brian Gerkey, Richard Vaughan, Andrew Howard,
* Nate Koenig and contributors.
* Released under the GNU General Public License.
using display [:0.0]
rendering: [Xlib unmapped] direct [yes] RGBA [8 8 8 0] depth [24]

ODE Message 2: mass must be > 0 in dMassCheck() File mass.cpp Line 44
server died
stopping server

---------------------------------

Notice how the ODE error changed from INTERNAL ERROR to a message,
but still the same message and the server still dies. Have to
mention that I can run all ODE tests (in the ode/test directory).

Also, I tried your suggestion and running road.world with the
CarChassis model commented out actually works (sans model, but the
road does render).

starting server
waiting for server
** Gazebo 0.8.0 **
* Part of the Player/Stage Project [http://
playerstage.sourceforge.net].
* Copyright 2000-2005 Brian Gerkey, Richard Vaughan, Andrew Howard,
* Nate Koenig and contributors.
* Released under the GNU General Public License.
using display [:0.0]
loading texture file [/usr/local/share/gazebo/worlds/grid.ppm]
rendering: [Xlib unmapped] direct [yes] RGBA [8 8 8 0] depth [24]
connecting to server
opening simulator interface
server id [0]
waiting for data
Time 179.940 179.960 0.000 [1.000] 38.270 [ 21%]


Like I said, I recompiled ode, and then gazebo and same thing
happens. Any ideas what might be going on?

Thanks very much for all your help!

--Juan


On Mar 31, 2007, at 2:41 PM, Nathan Michael wrote:

Sure. See attached. The patch main directory was for 0.6.0 but it
will work for 0.7.0 too. Drop the patch in the source directory
and a simple:
patch -p1 < osx.patch
should do the trick. This patch really only addresses certain
aspects of trying to get gazebo to compile on OS X, not any bugs
with the gazebo source. Since you already have gazebo running, I'm
not sure how much this will fix your problem, but you can try it.

I made a few additional patches to the python code, you can ignore
these if you wish. At least on my system, wxpython has the
annoying tendancy to not allow me to move the wxgazebo windows
around unless you change the panel init call. I haven't had this
problem with linux, so it may just be an OS X nuance.

Also, I've gotten the error you mentioned with ODE. As I recall, I
dealt with this by recompiling the ode source and then recompiling
gazebo (making sure it referenced the newly compiled ode).

Since everything gives an ode error except the terrain.world file,
can you try a few things?. Try running one of the example world
files that would have broken things previously, but comment out
the model. For example run road.world, if it doesn't work, comment
out the car chassis model, run it again. If it is not working,
then start fresh. Get the ode source, recompile/reinstall. Then,
get the gazebo source, apply the patch, compile/install. Then try
running the example world files, always making sure that
renderMethod is always set to XLIB. Repeat the above test with
road.world and let me know if it still doesn't work.

Hopefully this helps.

Nathan

<osx.patch>

-------------------------------------------------------------------- -
----
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to
share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?
page=join.php&p=sourceforge&CID=DEVDEV______________________________ _
________________
Playerstage-gazebo mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo



---------------------------------------------------------------------- ---
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php? page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Playerstage-gazebo mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Playerstage-gazebo mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to