Also if you are really trying to emulate a real accelerometer
remember that they always record 1g _upwards_ due to gravity. You'll
need to add this to your calculated acceleration. If you want to be
really clever you could also fiddle with frequency response - some
accelerometers record down to 0 Hz, some don't and have a minimum
frequency. They all have a maximum frequency too.
Cheers
Bill
On 26 Mar 2008, at 18:01, Jon Watte wrote:
> You have to keep some state. Remember the velocity the box (or the
> point
> of the box where the meter is mounted) for the previous frame, and
> compare to the velocity this frame. The delta is the acceleration;
> divide by the time step size to normalize to per-second units.
> Sincerely,
> jw
> jojosim1 wrote:
>> Hi
>> i need to implement the behaviour of an accelerometer but i'm not
>> sure
>> how to get this task done.
>> where do i get the accelerations from a box ? is there a way to it ?