[ODE] Simple beginner question: Mass-spring system modeling in ODE

Ryan Gardner ryebrye at gmail.com
Thu May 11 11:53:13 MST 2006


I'm about to start working on a few basic simulations in ODE to get  
my feet wet. One of the first ones I want to model (actually, the  
very first one) is  a simple mass-spring system.

I wanted to model it in such a way that it would be easy to make a  
damped driven oscillator later...

The system I'm trying to model is very basic. I don't care much about  
friction - so it can just be a block attached to a spring.

I've looked around and I see that I can model the damed driven spring  
with CFM and ERP it seems - and to make it behave the way I want I  
could just use a slider joint... but how would I later on add an  
oscillating driving force to this simulation?

I know this is a basic question... I looked through the docs online  
and couldn't find any clear description of it though... any help  
would be appreciated.

Ryan




More information about the ODE mailing list