[ODE] Assertion Problem when using Dcylinder2 for Wheels

Bram Stolk bram at sara.nl
Thu Dec 1 05:11:46 MST 2005


kurimail wrote:
> Hey Bram! Here it is the assertion message i am getting:
> 
> 
> assertion "Index >= 0 && Index < (Flags & 0x0ffff)" failed in
> ode/src/collision_util.h
> 
> I am getting it at random places and i think it is only when using
> dcylinder2 as wheel geoms with dcylinder mass.

I take it is your own app?
Does the cyl test from cvs work for you?

Also, if you break up the assertion,
we can find out if the index is too small or too large.

Thus:

  assert(Index >= 0);
  assert(Index < (Flags & 0x0ffff));

If it's the latter, I would print out Flags, to see what they are.

  bra


> 
> Cheers, KuRi.
> 
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode


-- 
Bram Stolk, VR Engineer SARA, Amsterdam.   tel +31 20 592 3000

"Windows is a 32-bit extension to a 16-bit graphical shell for an 8-bit
 operating system originally coded for a 4-bit microprocessor by a 2-bit
 company that can't stand 1 bit of competition."


More information about the ODE mailing list