Adds stability infrastructure and a test case to sponge force reading.
Changes Made:
I noticed that, since python tends to run at a faster framerate (several times faster) than Unity, the python GetForce() can in some form "out-pace" the Unity sim, causing 0.0 force values to be read in between real force values. I added some simple buffering code on the python sponge underneath .GetForce() to account for this.
Added a test case to test the above, ensuring that sponge readings across several frames are nonzero.
Replaced the executable with additional Unity code that stabilizes and simplifies the sponge force reading. There was a lot of dead code before.
Description:
Adds stability infrastructure and a test case to sponge force reading.
Changes Made:
GetForce()
can in some form "out-pace" the Unity sim, causing 0.0 force values to be read in between real force values. I added some simple buffering code on the python sponge underneath.GetForce()
to account for this.Test Plan
Adds a test case for testing force reading.
Also manually tested in
@editor
script: