robotpy / robotpy-websim

OBSOLETE: Experimental robot simulation html interface
6 stars 1 forks source link

UI update period should be less than the physics update period #12

Closed virtuald closed 9 years ago

virtuald commented 9 years ago

The physics update period is currently set to 25ms. The UI should probably only update it's output at no less than 100ms to save on CPU. Additionally, the following optimizations should be made:

It's possible that your refactor has fixed some of these already.

amorygalili commented 9 years ago

Done.

virtuald commented 9 years ago

Fixed where? Definitely not done.

amorygalili commented 9 years ago

Should be done now. The jQuery elements I think are all cached and the values are only updated when the ui is interacted with.