[ODE] getting bodies acceleration

XFred XFred at chx-labs.org
Sat Oct 18 03:09:07 MST 2003


Hum ...,
Well, I've got to apologize for my poor memories of Newton Physics.

Thank you, I'm sorry to have disturbed everyone for such simple things..
-- 
f.d

On Fri, 17 Oct 2003 17:47:03 -0700
Robert Rose <rose at cafwap.net> wrote:

> 
> I'm new to ODE, but doesn't F=ma? :-)  Wouldn't this work:
> 
> dBodyGetForce () / mass
> 
> ?
> 
> "Return the current accumulated force ... vector. The returned pointers 
> point to an array of 3 dReals. The returned values are pointers to 
> internal data structures, so the vectors are only valid until any 
> changes are made to the rigid body system."
> 
> -robert
> 
> On Friday, October 17, 2003, at 04:45  PM, XFred wrote:
> 
> > Well that's what I do too, I was just wondering if I could access ODE 
> > internals by a simple way.
> >
> > Thank you anyway.
> > -- 
> > f.d
> >
> > On Fri, 17 Oct 2003 14:34:12 -0400
> > "Martin C. Martin" <martin at metahuman.org> wrote:
> >
> >> Subtract the velocity at the last timestep from the velocity now, and
> >> divide by the timestep.  I do it all the time, and it works just fine.
> >>
> >> - Martin
> >>
> >> XFred wrote:
> >>
> >>> Hi,
> >>> I there a quick way to get bodies acceleration without getting in 
> >>> ODE internal structures ?
> >>>
> >>> thank you.
> >>>
> >>
> > _______________________________________________
> > ODE mailing list
> > ODE at q12.org
> > http://q12.org/mailman/listinfo/ode
> 


More information about the ODE mailing list