Hello!
I noticed that in the SVN version there are 2 ways of specifying the
hinge joint anchor: one using a body and the anchor is going to be the
body's point of reference and the other one specifying the anchor point
directly using a Vector3.
The first method is working OK but if I try to use the second one and
pass a point for the anchor like here:
<joint:hinge name="base_waist_hinge">
<body1>base_body</body1>
<body2>waist_body</body2>
<anchor>0.015 0.64 0</anchor>
<axis>0 1 0</axis>
<erp>0.4</erp>
<cfm>0.8</cfm>
</joint:hinge>
I'm getting a Segmentation fault. I tried to backtrace it and this is
what i got:
(gdb) r worlds/rv3sb.world
Starting program: /work/mike/src/gazebo/gazebo worlds/rv3sb.world
[Thread debugging using libthread_db enabled]
[New Thread -1246050576 (LWP 31630)]
** Gazebo 0.8 **
* Part of the Player/Stage Project [http://playerstage.sourceforge.net].
* Copyright 2000-2005 Copyright (C) 2003 Nate Koenig, Andrew Howard, and
contributors.
* Released under the GNU General Public License.
OGRE: Load Plugin[/usr/local/lib/OGRE/RenderSystem_GL.so]
OGRE: Load Plugin[/usr/local/lib/OGRE/Plugin_ParticleFX.so]
OGRE: Load Plugin[/usr/local/lib/OGRE/Plugin_BSPSceneManager.so]
OGRE: Load Plugin[/usr/local/lib/OGRE/Plugin_OctreeSceneManager.so]
libgazebo/Server.cc:97 creating /tmp/gazebo-root-0
libgazebo/Iface.cc:146 creating /tmp/gazebo-root-0/sim.default 070 52
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1246050576 (LWP 31630)]
0x080755f7 in Entity::IsStatic ()
(gdb) bt
#0 0x080755f7 in Entity::IsStatic ()
#1 0x0804f9cc in Body::GetPose ()
#2 0x0806616b in Model::SetPose ()
#3 0x080708a8 in World::LoadModel ()
#4 0x080704a3 in World::LoadModel ()
#5 0x08071309 in World::Load ()
#6 0x0806e37e in Init ()
#7 0x0806e49b in main ()
Replacing the anchor vector with a body name it's going to avoid the crash.
Does anybody know why this is happening?
Mihai
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo