Hi,

In the file,

gazebo/server/bodies/CylinderGeom.cc

change the line

this->SetGeom( body, dCreateCylinder( 0, length, radius ), &mass,  
true );

to

this->SetGeom( body, dCreateCylinder( 0, radius, length ), &mass,  
true );

If you look at dCreateCylinder, the arguments should be that order.  
Recompile and hopefully everything should look correct.

Nathan



On Feb 7, 2007, at 3:26 AM, Jonathan ILIAS wrote:

> Hi,
>
> I use gazebo 0.7.
>
> I've made some models with cylinder geom and I got them flying (about
> twenty centimeters above the floor). After having checked many times
> my models I guess that the common geom of these models was the
> CylinderGeom.
>
> And in fact, when I replace cylinders by boxes all works fine.
>
> Does anybody experienced this ? Maybe it is the way I use cylinders
> which causes problems but I can't explain why this does not cause
> problems with BoxGeom.
>
> -- 
> Jonathan ILIAS
>
> ---------------------------------------------------------------------- 
> ---
> Using Tomcat but need to do more? Need to support web services,  
> security?
> Get stuff done quickly with pre-integrated technology to make your  
> job easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache  
> Geronimo
> http://sel.as-us.falkag.net/sel? 
> cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Playerstage-gazebo mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to