<?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/13526" />

	<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/topic/13526</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[Re: Soft body contact force]]></title>

		
		<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[prathamesh]]></name></author>
		<updated>2023-01-29T14:39:16+00:00</updated>

		<published>2023-01-29T14:39:16+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44220#p44220</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44220#p44220"/>
		<title type="html"><![CDATA[Soft body contact force]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44220#p44220"><![CDATA[
We are trying to simulate grasping of soft objects using pybullet. For that purpose, we are trying to get the contact force between a soft body and rigid body, with which we are having some problems. We tried both methods recommended here ( <a href="https://github.com/bulletphysics/bullet3/issues/2488" class="postlink">https://github.com/bulletphysics/bullet3/issues/2488</a>).<br>We tried getting the contact force between a rigid table and a soft object resting on it. We are using FEM/mass-spring.<br>(1) Using getContactPoints, we are always getting the same force (1N) at each contact point and same number of contact points(10), regardless of the mass of the object.<br>(2) We created a link on top of the table which is connected to the table by a fixed joint. We got the reaction forces at the fixed joint. The reaction forces are always zero regardless whether the object is resting on the table or not.<br>The output is shown below<blockquote class="uncited"><div>Using contact points: 0<br>Reaction force at fixed joint: (0.0, 0.0, 0.0, 0.0, 0.0, 0.0)<br>-----------------------------------------------------<br>Using contact points: 0<br>Reaction force at fixed joint: (0.0, 0.0, 0.0, 0.0, 0.0, 0.0)<br>-----------------------------------------------------</div></blockquote>Both the methods are working with rigid objects. The problem seems to be soft body related.<blockquote class="uncited"><div>Using contact points: 97.35091108275402<br>Reaction force at fixed joint: (0.034910487204954856, 0.034793450729809834, 97.35091108275402, 160.5983761621271, 2.9517741130387547, -0.0586519151633019)<br>-----------------------------------------------------<br>Using contact points: 97.56281875457508<br>Reaction force at fixed joint: (0.032460291941310594, 0.03230360009906202, 97.56281875457508, 160.95020118085586, 2.9559727177872865, -0.054533921059458465)<br>-----------------------------------------------------</div></blockquote>The link to the code is : <a href="https://drive.google.com/drive/folders/174xPy1ssjkxDCAiIvO8vnnD29Q0iZTwF?usp=sharing" class="postlink">https://drive.google.com/drive/folders/ ... sp=sharing</a><br>Any advice regarding this would be appreciated.<br>Thank you.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=14516">prathamesh</a> — Sun Jan 29, 2023 2:39 pm</p><hr />
]]></content>
	</entry>
	</feed>
