[ODE] dCylinder with new collision detection system

Olivier Michel Olivier.Michel at cyberbotics.com
Wed Jan 15 06:10:01 2003


Hello Konstantin,

Thanks for your fast reply. Do you mean that the zip attachment you sent 
should work with the new version of the collision detection ? If not 
what should changed so that it works ? What are those problems with Cyl 
Cyl collision ? May I help getting them fixed ?

Thanks,

-Olivier

slipch wrote:

>Hello Olivier,
>
>Wednesday, January 15, 2003, 12:46:34 PM, you wrote:
>
>OM> Hello,
>
>OM> I am trying to get the dCylinder contribution by Konstantin Slipchenko 
>OM> work with the new collision detection system if ODE 0.035.
>
>OM> 1) I fixed a few include problems to get the new include files included 
>->> seems Ok.
>OM> 2) I changed the CLASSDATA(g) macro by dGeomGetClassData(g) -> seems Ok.
>OM> 3) I had a trouble with dCylinderClass which is defined as an enum in 
>OM> collision_kernel.h and which has to be assigned from the 
>OM> dCreayteGeomClass function (according to the current doc). So I removed 
>OM> it from the enum list and implemented it as an int...
>
>OM> I could finally compile and link properly with my app.
>OM> However, it doesn't work yet very well. Did I missed something up there ?
>
>OM> Anyone else tryed to do that with more success ?
>
>OM> By the way, why this Cylinder geometry is not yet included in ODE ? Lack 
>OM> of time to do it or missing Cylinder - CCylinder collision detection ?
>
>The contrib currently works only with old collision.
>You may try code in the attachment.
>I make cylinder class as user definite geometry class and integer
>identifier now is dCylinderClassUser instead of dCylinderClass as if was
>before to avoid conflict with  dCylinderClass definite in the enum.
>It works all right in my case. Tell me if you will have any problems.
>
>Russ said that he will add dCylinder to the core if I will fix some
>problems in Cyl-Cyl collision. It seems I know how to do it. But
>currently I have no time to wright the code. Anyway I will do it in
>near future.
>
>
>
>  
>

-- 
-Olivier Michel
http://www.cyberbotics.com