PDA

View Full Version : LFS outsim help required!


roooh
20th July 2011, 04:34
Dear All

I am working on outsim data for motion control. I need to know some facts.
1. Accelerations are simple accelerations or specific forces?
2. Accelerations are in body co-ordinates or in inertial co-ordinates?
3. How can I calculate linear speed from linear acceleration or calculate linear acceleration from linear speed? I integrate acceleration but didn't get the same linear speed i got from outsim.

MadCatX
20th July 2011, 10:09
Hi,

1 + 2) To my knowledge acceleration vector tells you the total acceleration of the car in m/s^2
3) Your problem might be the sample rate. Outer loop of LFS' physics engine runs at 100Hz so you'd have to get updated Outsim data every 1/100th of a second to be able to get the velocity from acceleration by integration. The higher the delay between updates is, the less accurate results you get. Why do you need to do that anyway?