Browse Search Popular Register Upload Rules User list Login:
Search:
Tire Pressure

Image:
screenshot of the scene

Author: s_noonan

Group: Technical

Filesize: 68.75 kB

Date added: 2014-02-13

Rating: 5

Downloads: 543

Views: 376

Comments: 6

Ratings: 1

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

Tire Pressure
Last edited at 2016/07/02 20:39:03 by s_noonan
Please log in to rate this scene
edit
Similar scenes
Title: Best Warthog ever with test track.
Rating: 5
Filesize: 147.82 kB
Downloads: 1191
Comments: 1
Ratings: 1
Date added: 2010/12/24 19:28:00
Made with: Phun
Rating: rated 5
download
Title: Soft tires with adjustable air pressure and rims
Rating: 6.1818
Filesize: 65.4 kB
Downloads: 1124
Comments: 2
Ratings: 5
Date added: 2009/07/28 17:56:51
Made with: Phun
Rating: rated 6.2
download
Title: Tire Pressure II
Rating: 6.5455
Filesize: 80.78 kB
Downloads: 1413
Comments: 4
Ratings: 5
Date added: 2014/03/15 11:48:48
Made with: Algodoo v2.1.0
Rating: rated 6.5
download
Title: soft tire v1
Rating: 6.25
Filesize: 132.06 kB
Downloads: 507
Comments: 1
Ratings: 4
Date added: 2009/01/20 07:10:50
Made with: Phun
Rating: rated 6.3
download
Title: Upgraded tire VS airless
Rating: 6.625
Filesize: 0.52 MB
Downloads: 536
Comments: 3
Ratings: 8
Date added: 2008/10/19 12:40:37
Made with: Phun
Rating: rated 6.6
download
Title: Good Soft Tire Phunlet
Rating: 6.125
Filesize: 146.91 kB
Downloads: 457
Comments: 2
Ratings: 8
Date added: 2008/12/05 23:57:23
Made with: Phun
Rating: rated 6.1
download
Why you use "sim.running ?" in "update" instead just using "postStep"?
Thanks for asking. I had thought that the "update" event happened every frame while "postStep" happens at sim.frequency. I tested this and I can see that they both run at the same rate.

P.S.
My test was flawed. The "update" event does happen every frame (usually at 60fps) and "postStep" does happen at sim.frequency.
Last edited at 2014/02/15 12:33:32 by s_noonan
Hmmmm..... That was my assumption too. Do you know of an accurate method to test the rate difference between update and postStep?


BTW - Very imaginative scene. Well done! :tup:
Last edited at 2014/02/13 16:50:59 by Xray
Concerning update and postStep, I ran a simple test. I wrote exactly the same counter script in each, and I had them start exactly at the same time when I started Algodoo (they both had "sim.running ?" script). Here is what I found:

When the sim.frequency is set to 60Hz, both counters ran at the same rate. i.e., when I stopped both counters at the same time after running for about 15 seconds, the resulting counts were very close (+/- 2 counts) to each other. When I adjusted the sim.frequency and ran the test again, I found that it made a HUGE difference in the count rate of the "postStep" script and little or no difference in the count rate of the "update" script. So, apparently, there IS a difference in the rates that those two properties handle script, and only at 60Hz, they are very close or spot on with each other.
Last edited at 2014/02/13 17:35:54 by Xray
I didn't think to test at different frequencies. Thanks for checking that out.
post step runs at whatever sim frequency you set
update runs at screen fps

ex: sim frequency = 1000 hz. 1000 updates per second
update = fps. 60 fps(hz) 60 updates per second