<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://pybullet.org/Bullet/phpBB3/app.php/feed/topic/13179" />

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2021-03-25T15:32:41+00:00</updated>

	<author><name><![CDATA[Real-Time Physics Simulation Forum]]></name></author>
	<id>https://pybullet.org/Bullet/phpBB3/app.php/feed/topic/13179</id>

		<entry>
		<author><name><![CDATA[robin_rob96]]></name></author>
		<updated>2021-03-25T15:32:41+00:00</updated>

		<published>2021-03-25T15:32:41+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43367#p43367</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43367#p43367"/>
		<title type="html"><![CDATA[Re: Framerate / setTimeStep - related Question]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43367#p43367"><![CDATA[
Push :S<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=13884">robin_rob96</a> — Thu Mar 25, 2021 3:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[robin_rob96]]></name></author>
		<updated>2021-03-21T19:39:43+00:00</updated>

		<published>2021-03-21T19:39:43+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43360#p43360</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43360#p43360"/>
		<title type="html"><![CDATA[Framerate / setTimeStep - related Question]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43360#p43360"><![CDATA[
Hello, <br><br>I'm using pybullet for a robotics simulation and as it seems I didn't understood the frame concept from pybullet. <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad"> <br>So far, im using p.GPU<br><br>With <div class="codebox"><p>Code: </p><pre><code>setRealTimeSimulation(0)setTimeStep(1/240)</code></pre></div>Pybullet is calculating 240 times (stepping 240 times in my loop) per second of simulation. Depending on the hardware, this  simulated second could be more or less in real time.<br>With <div class="codebox"><p>Code: </p><pre><code>setRealTimeSimulation(1)setTimeStep(1/240)</code></pre></div>the timStep is ignored, the real time is now synced with sim time and I get as much calculations per second as my hardware can handle.<br><br>Thats what I thought it would work like.<br><br>When I disable the rendering mode with p.DIRECT, It seems like I get ~ 4 times more calculation steps for the same task with<div class="codebox"><p>Code: </p><pre><code>setRealTimeSimulation(0)setTimeStep(1/240)</code></pre></div>How is this possible? I thought the simulation would be done quicker, because I don't render a GUI but the result should be the same? What am I missing? Thx alot!<br><br>P.S. Background:<br>I want to generate gripping data like TCP forces etc. Therefore, I need to know the stepRate, so I can, lets say, output forces every 10th step<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=13884">robin_rob96</a> — Sun Mar 21, 2021 7:39 pm</p><hr />
]]></content>
	</entry>
	</feed>
