From: ahoward <ah...@po...> - 2004-08-09 05:25:31
|
Hi folks: Following on from the suggestions of a number of people, I have updated Gazebo HEAD such that it now clean-compiles with ODE 0.5. A couple of points to note: - I have almost certainly broken ODE 0.39 compatability. Sorry :-( - The terrain model compiles, but does not work correctly (the terrain comes out really weird). I'm hoping Nate will be able to see the problem and fix this. I have generally cleaned up the build scripts as well, so they should be somewhat more robust in the future. A. On Sat, 7 Aug 2004, Mr Allwyn Fernandes wrote: > Hi Nate, > > Some time back you mentioned that Gazebo doesn't do ODE 0.5... > > I just tried using ODE from cvs, and had (the expected) compilation errors... > Tracing those errors led me to two changes to the ODE API, which allow the > compilation to go ahead, and Gazebo then appears to work... > > I was wondering if there were specific known problems/bugs associated with the > newer ODE versions, or it was simply the API changes which were pending? > > My setup: Gazebo cvs, ODE cvs with included OPCODE and configured for DOUBLE > precision. > (For single precision ODE, probably use FLT_MAX and > dGeomTriMeshDataBuildSingle) > > Cheers, > > Allwyn. > > > Index: server/ContactParams.cc > =================================================================== > RCS file: /cvsroot/playerstage/code/gazebo/server/ContactParams.cc,v > retrieving revision 1.3 > diff -u -r1.3 ContactParams.cc > --- server/ContactParams.cc 1 Sep 2003 18:06:00 -0000 1.3 > +++ server/ContactParams.cc 6 Aug 2004 20:01:49 -0000 > @@ -27,6 +27,8 @@ > #include <ode/ode.h> > #include "ContactParams.hh" > > +#define dInfinity DBL_MAX > + > > ////////////////////////////////////////////////////////////////////////////// > // Default constructor > ContactParams::ContactParams() > Index: server/bodies/TerrainPatch.cc > =================================================================== > RCS file: /cvsroot/playerstage/code/gazebo/server/bodies/TerrainPatch.cc,v > retrieving revision 1.6 > diff -u -r1.6 TerrainPatch.cc > --- server/bodies/TerrainPatch.cc 25 Jun 2004 00:02:23 -0000 1.6 > +++ server/bodies/TerrainPatch.cc 6 Aug 2004 20:01:49 -0000 > @@ -264,7 +264,7 @@ > } > > // Build the ODE triangle mesh for collision detection > - dGeomTriMeshDataBuild(this->odeData, > + dGeomTriMeshDataBuildDouble(this->odeData, > this->terrainGeom->GetVertices()+9, > 12*sizeof(GLfloat), this->terrainGeom->GetNumVertices(), > this->odeIndices,this->numODEIndices, 3*sizeof(int)); > > > > > On Wednesday 16 June 2004 07:55, Nate Koenig wrote: > > Hi Yiannis, > > > > Gazebo currently doesn't support ODE version 0.5 yet. It's best to stick > > with version 0.39 for now. > > > > > > If that doesn't solve your problem then I have a feeling you need to set > > your LIBRARY_PATH and LD_LIBRARY_PATH environment varaibles to include the > > places you installed the ODE libraries. > > > > If that doesn't work, could you post the output from your configure script > > as well as the config.log file? > > > > Thanks, > > > > -nate > > -- > Allwyn Fernandes > Monash University > School of Applied Sciences and Engineering > Gippsland, Australia > > Mobile: +61 414 470 392 > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Playerstage-gazebo mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo > Andrew Howard email: ah...@po... Department of Computer Science http: www-robotics.usc.edu/~ahoward University of Southern California phone: 1 (213) 740 6416 Los Angeles, CA, U.S.A. 90089-0781 fax: 1 (213) 821 5696 << Insert pithy saying here >>> |
From: Nate K. <nat...@gm...> - 2004-08-09 19:19:51
|
Hello, The terrains have been fixed. As far as I could tell, the image file used to create the terrain had been corrupted. -nate On Sun, 08 Aug 2004 22:25:18 -0700 (PDT), ahoward <ah...@po...> wrote: > > Hi folks: > > Following on from the suggestions of a number of people, I have updated > Gazebo HEAD such that it now clean-compiles with ODE 0.5. A couple of > points to note: > > - I have almost certainly broken ODE 0.39 compatability. Sorry :-( > > - The terrain model compiles, but does not work correctly (the terrain > comes out really weird). I'm hoping Nate will be able to see the problem > and fix this. > > I have generally cleaned up the build scripts as well, so they should be > somewhat more robust in the future. > > A. > > On Sat, 7 Aug 2004, Mr Allwyn Fernandes wrote: > > > Hi Nate, > > > > Some time back you mentioned that Gazebo doesn't do ODE 0.5... > > > > I just tried using ODE from cvs, and had (the expected) compilation errors... > > Tracing those errors led me to two changes to the ODE API, which allow the > > compilation to go ahead, and Gazebo then appears to work... > > > > I was wondering if there were specific known problems/bugs associated with the > > newer ODE versions, or it was simply the API changes which were pending? > > > > My setup: Gazebo cvs, ODE cvs with included OPCODE and configured for DOUBLE > > precision. > > (For single precision ODE, probably use FLT_MAX and > > dGeomTriMeshDataBuildSingle) > > > > Cheers, > > > > Allwyn. > > > > > > Index: server/ContactParams.cc > > =================================================================== > > RCS file: /cvsroot/playerstage/code/gazebo/server/ContactParams.cc,v > > retrieving revision 1.3 > > diff -u -r1.3 ContactParams.cc > > --- server/ContactParams.cc 1 Sep 2003 18:06:00 -0000 1.3 > > +++ server/ContactParams.cc 6 Aug 2004 20:01:49 -0000 > > @@ -27,6 +27,8 @@ > > #include <ode/ode.h> > > #include "ContactParams.hh" > > > > +#define dInfinity DBL_MAX > > + > > > > ////////////////////////////////////////////////////////////////////////////// > > // Default constructor > > ContactParams::ContactParams() > > Index: server/bodies/TerrainPatch.cc > > =================================================================== > > RCS file: /cvsroot/playerstage/code/gazebo/server/bodies/TerrainPatch.cc,v > > retrieving revision 1.6 > > diff -u -r1.6 TerrainPatch.cc > > --- server/bodies/TerrainPatch.cc 25 Jun 2004 00:02:23 -0000 1.6 > > +++ server/bodies/TerrainPatch.cc 6 Aug 2004 20:01:49 -0000 > > @@ -264,7 +264,7 @@ > > } > > > > // Build the ODE triangle mesh for collision detection > > - dGeomTriMeshDataBuild(this->odeData, > > + dGeomTriMeshDataBuildDouble(this->odeData, > > this->terrainGeom->GetVertices()+9, > > 12*sizeof(GLfloat), this->terrainGeom->GetNumVertices(), > > this->odeIndices,this->numODEIndices, 3*sizeof(int)); > > > > > > > > > > On Wednesday 16 June 2004 07:55, Nate Koenig wrote: > > > Hi Yiannis, > > > > > > Gazebo currently doesn't support ODE version 0.5 yet. It's best to stick > > > with version 0.39 for now. > > > > > > > > > If that doesn't solve your problem then I have a feeling you need to set > > > your LIBRARY_PATH and LD_LIBRARY_PATH environment varaibles to include the > > > places you installed the ODE libraries. > > > > > > If that doesn't work, could you post the output from your configure script > > > as well as the config.log file? > > > > > > Thanks, > > > > > > -nate > > > > -- > > Allwyn Fernandes > > Monash University > > School of Applied Sciences and Engineering > > Gippsland, Australia > > > > Mobile: +61 414 470 392 > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > > one more big change to announce. We are now OSTG- Open Source Technology > > Group. Come see the changes on the new OSTG site. www.ostg.com > > _______________________________________________ > > Playerstage-gazebo mailing list > > Pla...@li... > > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo > > > > Andrew Howard email: ah...@po... > Department of Computer Science http: www-robotics.usc.edu/~ahoward > University of Southern California phone: 1 (213) 740 6416 > Los Angeles, CA, U.S.A. 90089-0781 fax: 1 (213) 821 5696 > << Insert pithy saying here >>> > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Playerstage-gazebo mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo > |