<?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/forum/24" />

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2025-03-17T10:18:29+00:00</updated>

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

		<entry>
		<author><name><![CDATA[otis]]></name></author>
		<updated>2025-03-17T10:18:29+00:00</updated>

		<published>2025-03-17T10:18:29+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44518#p44518</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44518#p44518"/>
		<title type="html"><![CDATA[PyBullet Support and Feedback • Re: Soft body contact force]]></title>

					<category term="PyBullet Support and Feedback" scheme="https://pybullet.org/Bullet/phpBB3/viewforum.php?f=24" label="PyBullet Support and Feedback"/>
		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44518#p44518"><![CDATA[
For your case, I suggest adding a rigid sensor plate between the soft body and table,<a href="https://buildnow-gg.io" class="postlink"><span style="color:#FFFFFF"><span style="font-size:1%;line-height:116%">build now gg</span></span></a> linked by a joint, and measure there.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=14532">otis</a> — Mon Mar 17, 2025 10:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[otis]]></name></author>
		<updated>2025-03-17T10:16:47+00:00</updated>

		<published>2025-03-17T10:16:47+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44517#p44517</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44517#p44517"/>
		<title type="html"><![CDATA[PyBullet Support and Feedback • Re: Replicate ai generated animation back in pybullet.]]></title>

					<category term="PyBullet Support and Feedback" scheme="https://pybullet.org/Bullet/phpBB3/viewforum.php?f=24" label="PyBullet Support and Feedback"/>
		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44517#p44517"><![CDATA[
To replicate AI-generated animations in PyBullet smoothly, ditch time.sleep() and sync playback to p.stepSimulation() with a fixed timestep like 1/240 Hz,<a href="https://buckshotroulette.com/home" class="postlink"><span style="color:#FFFFFF"><span style="font-size:1%;line-height:116%">Buckshot Roulette</span></span></a> interpolating joint positions between keyframes for fluidity.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=14532">otis</a> — Mon Mar 17, 2025 10:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[otis]]></name></author>
		<updated>2025-03-06T06:16:47+00:00</updated>

		<published>2025-03-06T06:16:47+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44515#p44515</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44515#p44515"/>
		<title type="html"><![CDATA[PyBullet Support and Feedback • Re: Create Half Cylinder in PyBullet]]></title>

					<category term="PyBullet Support and Feedback" scheme="https://pybullet.org/Bullet/phpBB3/viewforum.php?f=24" label="PyBullet Support and Feedback"/>
		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44515#p44515"><![CDATA[
PyBullet’s `createCollisionShape` doesn’t directly support half cylinders, but you can create one by modeling it as a mesh in a tool like Blender,<a href="https://block-blast.io" class="postlink"><span style="color:#FFFFFF"><span style="font-size:1%;line-height:116%">Block Blast</span></span></a> exporting it as an `.obj` file, and loading it with `GEOM_MESH` in PyBullet.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=14532">otis</a> — Thu Mar 06, 2025 6:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[otis]]></name></author>
		<updated>2025-03-04T09:12:03+00:00</updated>

		<published>2025-03-04T09:12:03+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44512#p44512</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44512#p44512"/>
		<title type="html"><![CDATA[PyBullet Support and Feedback • Re: Spring pendulum creation]]></title>

					<category term="PyBullet Support and Feedback" scheme="https://pybullet.org/Bullet/phpBB3/viewforum.php?f=24" label="PyBullet Support and Feedback"/>
		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44512#p44512"><![CDATA[
<blockquote class="uncited"><div>Hello everyone. I'm rather new to pybullet and I was looking to create a simulation of a spring pendulum for a physics <a href="https://slopega.me" class="postlink"><span style="color:#FFFFFF"><span style="font-size:1%;line-height:116%">slope game</span></span></a> project at school. What would be the best way to do this? Is there a spring preset in pybullet?</div></blockquote>No, PyBullet does not have a specific spring preset designed explicitly for a spring pendulum. However, it provides the `btGeneric6DofSpring2Constraint`, which can simulate spring behavior between two rigid bodies.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=14532">otis</a> — Tue Mar 04, 2025 9:12 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[RKaji]]></name></author>
		<updated>2023-12-20T09:36:13+00:00</updated>

		<published>2023-12-20T09:36:13+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44481#p44481</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44481#p44481"/>
		<title type="html"><![CDATA[PyBullet Support and Feedback • Re: How to remove bodyA when its in contact with bodyB?]]></title>

					<category term="PyBullet Support and Feedback" scheme="https://pybullet.org/Bullet/phpBB3/viewforum.php?f=24" label="PyBullet Support and Feedback"/>
		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44481#p44481"><![CDATA[
I'm genuinely impressed with the comprehensive effort put into organizing the MSU-1 game list on Zeldix. It's a true game-changer for enthusiasts like me who appreciate the convenience of having everything in alphabetical order. The meticulous detailing in the sidenotes showcases a commitment to user-friendly navigation. Kudos to the team for making our gaming experience seamless and enjoyable! If you're as passionate about organization as I am, you might find this link helpful for any writing needs: (<a href="https://essaypro.com/write-my-speech" class="postlink">https://essaypro.com/write-my-speech</a>). Cheers to the Zeldix community for fostering a well-ordered and inclusive gaming hub!<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=14060">RKaji</a> — Wed Dec 20, 2023 9:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nobuyuki]]></name></author>
		<updated>2023-07-04T12:04:30+00:00</updated>

		<published>2023-07-04T12:04:30+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44433#p44433</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44433#p44433"/>
		<title type="html"><![CDATA[PyBullet Support and Feedback • Re: Changing background color or texture?]]></title>

					<category term="PyBullet Support and Feedback" scheme="https://pybullet.org/Bullet/phpBB3/viewforum.php?f=24" label="PyBullet Support and Feedback"/>
		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44433#p44433"><![CDATA[
You can change the background color of the GUI in PyBullet using the p.configureDebugVisualizer() function.<br><br>You can specify the background color using the rgbBackground parameter. This function accepts multiple parameters other than rbgBackground parameter. <br><br>Here’s an example:<div class="codebox"><p>Code: </p><pre><code>p.configureDebugVisualizer(rgbBackground=[0, 0, 0])</code></pre></div>In this example, the rgbBackground parameter is used to set the background color to black. You can pass an RGB vector [red, green, blue] to set a color of your choice. Each color value should be between 0 and 1.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=14519">nobuyuki</a> — Tue Jul 04, 2023 12:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Yogha001]]></name></author>
		<updated>2023-06-06T11:54:48+00:00</updated>

		<published>2023-06-06T11:54:48+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44425#p44425</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44425#p44425"/>
		<title type="html"><![CDATA[PyBullet Support and Feedback • PyBullet: Connect client to multiple physics servers via Shared Memory]]></title>

					<category term="PyBullet Support and Feedback" scheme="https://pybullet.org/Bullet/phpBB3/viewforum.php?f=24" label="PyBullet Support and Feedback"/>
		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44425#p44425"><![CDATA[
Hi there!<br><br>I'm trying to find a way to turn on/off gravity forces only for specific objects using pyBullet.<br><br>In the Quickstart Guide (page 87) it is said, that there might be a way by running a second physics server: <br><blockquote class="uncited"><div>Question:<br>How to turn off gravity only for some parts of a robot (for example the arm)?<br><br>Answer:<br>At the moment this is not exposed, so you would need to either turn of gravity acceleration for all objects, and manually apply gravity for the objects that need it. Or you can actively compute gravity compensation forces, like happens on a real robot. Since Bullet has a full constraint system, it would be trivial to compute those anti-gravity forces: You could run a second simulation (PyBullet lets you connect to multiple physics servers) and position the robot under gravity, set joint position control to keep the position as desired, and gather those 'anti-gravity' forces. Then apply those in the main simulation.</div></blockquote>As a first step i want to connect a client with two servers by using the SHARED_MEMORY mode.<br>However, I only managed it to connect my client with one server like this:<br><br>Server:<div class="codebox"><p>Code: </p><pre><code>p.connect(p.GUI_SERVER)</code></pre></div>Client:<div class="codebox"><p>Code: </p><pre><code>p.connect(p.SHARED_MEMORY)</code></pre></div>Now, I want to run a second server and connect to it via Shared Memory. In the documentation on page 5 it says, that I need to specify a key for each server:<br><blockquote class="uncited"><div>in SHARED_MEMORY mode, optional shared memory key. When starting ExampleBrowser or SharedMemoryPhysics_* you can use optional command-line --shared_memory_key to set the key. This allows to run multiple servers on the same machine.</div></blockquote>So how exactly do I have to implement this? Is there any example script which does exactly that?<br><br>I would be very grateful, if someone could point me in the right direction!<br><br>Thank you,<br>Christoph<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=14517">Yogha001</a> — Tue Jun 06, 2023 11:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[chankyo]]></name></author>
		<updated>2023-04-03T05:10:20+00:00</updated>

		<published>2023-04-03T05:10:20+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44346#p44346</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44346#p44346"/>
		<title type="html"><![CDATA[PyBullet Support and Feedback • Failure in loading XML that the error raises is related to URDF error?]]></title>

					<category term="PyBullet Support and Feedback" scheme="https://pybullet.org/Bullet/phpBB3/viewforum.php?f=24" label="PyBullet Support and Feedback"/>
		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44346#p44346"><![CDATA[
Hi. I'm trying to load my xml file which has no problem loading it in Mujoco.<br>However as tried in pybullet, it raised this error<br><br>b3Printf: b3Warning[examples/SharedMemory/PhysicsServerCommandProcessor.cpp,3584]:<br><br>b3Printf: URDF file with multiple root links found.<br><br>Even though not using URDF, why is this error raised, and how can it be fixed <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_confused.gif" width="15" height="15" alt=":?" title="Confused"> ?<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=14695">chankyo</a> — Mon Apr 03, 2023 5:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[zhang_qiang]]></name></author>
		<updated>2023-03-26T10:19:22+00:00</updated>

		<published>2023-03-26T10:19:22+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44298#p44298</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44298#p44298"/>
		<title type="html"><![CDATA[PyBullet Support and Feedback • How to create a elastic cylinder?]]></title>

					<category term="PyBullet Support and Feedback" scheme="https://pybullet.org/Bullet/phpBB3/viewforum.php?f=24" label="PyBullet Support and Feedback"/>
		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44298#p44298"><![CDATA[
Now, I can create a cylinder: <br><div class="codebox"><p>Code: </p><pre><code>import pybullet as pphysicsClient = p.connect(p.GUI)p.setGravity(0,0,-10)plane_shape = p.createCollisionShape(p.GEOM_PLANE)plane_body = p.createMultiBody(baseCollisionShapeIndex=plane_shape)cylinder = p.createCollisionShape(p.GEOM_CYLINDER, radius=0.1, height=2)body = p.createMultiBody(baseMass=1, baseCollisionShapeIndex=cylinder,                          basePosition=[0, 0, 1], baseOrientation=[0, 0, 0, 1])force_magnitude = 100 end_pos = [0.9, 0, 1] p.applyExternalForce(body, -1, forceObj=[force_magnitude, 0, 0], posObj=end_pos, flags=p.WORLD_FRAME)import timefor i in range(10000):    p.stepSimulation()    time.sleep(1. / 240.)p.disconnect()</code></pre></div>And, I expect the cylinder would turn tu be a arc when the force is add on the top of cylinder. Now, the cylinder is rigid. How can I make it to be elastic?<br><br>Any suggestion is appreciated~~~<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=14579">zhang_qiang</a> — Sun Mar 26, 2023 10:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[maurock]]></name></author>
		<updated>2023-03-14T17:27:08+00:00</updated>

		<published>2023-03-14T17:27:08+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44281#p44281</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44281#p44281"/>
		<title type="html"><![CDATA[PyBullet Support and Feedback • Re: objects not visible after a while]]></title>

					<category term="PyBullet Support and Feedback" scheme="https://pybullet.org/Bullet/phpBB3/viewforum.php?f=24" label="PyBullet Support and Feedback"/>
		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44281#p44281"><![CDATA[
I am having the same issue. Have you found a solution? I believe this has to do with memory leak / overflow of some sort.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=14362">maurock</a> — Tue Mar 14, 2023 5:27 pm</p><hr />
]]></content>
	</entry>
	</feed>
