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

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2021-01-06T15:17:14+00:00</updated>

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

		<entry>
		<author><name><![CDATA[drleviathan]]></name></author>
		<updated>2021-01-06T15:17:14+00:00</updated>

		<published>2021-01-06T15:17:14+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43245#p43245</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43245#p43245"/>
		<title type="html"><![CDATA[Re: point to point spring constraint possible?]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43245#p43245"><![CDATA[
Try the <a href="https://pybullet.org/Bullet/BulletFull/classbtPoint2PointConstraint.html" class="postlink">btPoint2PointConstraint</a>.<br><br>Edit: I'm sorry I didn't ready that carefully enough.  You want it to swivel on both ends but to be springy along one linear direction.  The btGeneric6DofConstraint would allow you to make only one swivel point.  The btPoint2PointConstraint would allow you to swivel both ends but would be stiff along the axis.  Hrm...<br><br>Yeah, none of the existing constraints would do it for you in one easy solution.<br><br>So, you'd have to write your own custom constraint or... it might be possible to achieve it using four bodies and three constraints:<br><br><strong class="text-strong">SwivelA</strong> &lt;---- Point2PointConstraint ----&gt; <strong class="text-strong">PivotA</strong> &lt;---- 6DofSpringConstraint ----&gt; <strong class="text-strong">PivotB</strong> &lt;---- Point2PointContraint ----&gt; <strong class="text-strong">SwivelB</strong><br><br>Where:<br>  <strong class="text-strong">(1)</strong> the 6DofSpringContraint is enabled at only one dimension<br>  <strong class="text-strong">(2)</strong> the <strong class="text-strong">Swivels</strong> and <strong class="text-strong">Pivots</strong> overlap but don't collide with each other (using collision groups).  The <strong class="text-strong">Pivots</strong> would be "hidden" inside the <strong class="text-strong">Swivels</strong>.<br><br>Challenges with this method are: <strong class="text-strong">(a)</strong> For stability purposes the relative mass differences between <strong class="text-strong">Pivot</strong> and <strong class="text-strong">Swivel</strong> must NOT be high.  Best to split the mass that should be at each <strong class="text-strong">Swivel</strong> with its respective <strong class="text-strong">Pivot</strong> (give each 1/2 the mass).  <strong class="text-strong">(b)</strong> Long chains of constraints will make the constraints "soft" (solver does not achieve high accuracy), however for just three constraints you should be fine. <strong class="text-strong">(c)</strong> Performance issues: if you want to have lots of these structures bouncing around then the simulation could burn lots of CPU power, but if you only need one or a handfull then you should be fine.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=11033">drleviathan</a> — Wed Jan 06, 2021 3:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ehsanizadi]]></name></author>
		<updated>2021-01-06T13:52:54+00:00</updated>

		<published>2021-01-06T13:52:54+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43244#p43244</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43244#p43244"/>
		<title type="html"><![CDATA[Re: point to point spring constraint possible?]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43244#p43244"><![CDATA[
Hi, does btGeneric6DofSpringConstraint support point to point spring constraint when two dynamic objects are moving with respect to each other?<br><br>I see that for btGeneric6DofSpringConstraint, spring and damping coefficients can be defined only in 3 directions, which means, if the location of two connected objects are changed with respect to each other, the values of spring stiffnesses should be adapted at each time step.<br><br><br><br>Regards,<br>E30<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=10588">Ehsanizadi</a> — Wed Jan 06, 2021 1:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Erwin Coumans]]></name></author>
		<updated>2009-05-25T04:47:30+00:00</updated>

		<published>2009-05-25T04:47:30+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=13686#p13686</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=13686#p13686"/>
		<title type="html"><![CDATA[Re: point to point spring constraint possible?]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=13686#p13686"><![CDATA[
<a href="http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=18&amp;t=3625" class="postlink">Bullet 2.75 beta1</a> has support for springs through the btGeneric6DofSpringConstraint.<br><br>Hope this helps,<br>Erwin<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2">Erwin Coumans</a> — Mon May 25, 2009 4:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[linksan]]></name></author>
		<updated>2009-05-22T19:45:52+00:00</updated>

		<published>2009-05-22T19:45:52+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=13677#p13677</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=13677#p13677"/>
		<title type="html"><![CDATA[Re: point to point spring constraint possible?]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=13677#p13677"><![CDATA[
Yes that sound exactly like what I need <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> <br>glad to hear that it's coming soon.<br><br>Thanks<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2460">linksan</a> — Fri May 22, 2009 7:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rponomarev]]></name></author>
		<updated>2009-05-21T18:25:34+00:00</updated>

		<published>2009-05-21T18:25:34+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=13662#p13662</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=13662#p13662"/>
		<title type="html"><![CDATA[Re: point to point spring constraint possible?]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=13662#p13662"><![CDATA[
Hello,<br><br>Do you mean a constraint where all rotational DOF are free, 2 translation DOF are locked and one translation has a spring motor?<br><br>In the next release (2.75) we'll have the btGeneric6DOFSpring constraint where you can set a spring to any DOF, so this should solve your problem. <br><br>Thanks,<br>Roman<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2308">rponomarev</a> — Thu May 21, 2009 6:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dirk Gregorius]]></name></author>
		<updated>2009-05-21T10:08:53+00:00</updated>

		<published>2009-05-21T10:08:53+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=13658#p13658</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=13658#p13658"/>
		<title type="html"><![CDATA[Re: point to point spring constraint possible?]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=13658#p13658"><![CDATA[
You can have a distance constraint through the center of gravity of each body. That would not effect rotations. <br><br>C = p2 - p1<br>dC/dt = v2 - v1<br>J = ( 0 -E 0 E ) where 0 is the 3x3 zero matrix and E is the 3x3 identity matrix<br><br>If you now use CFM and ERP you have a stiff spring. I am not sure whether Bullet supports CFM.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=14">Dirk Gregorius</a> — Thu May 21, 2009 10:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[linksan]]></name></author>
		<updated>2009-05-21T00:07:12+00:00</updated>

		<published>2009-05-21T00:07:12+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=13656#p13656</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=13656#p13656"/>
		<title type="html"><![CDATA[point to point spring constraint possible?]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=13656#p13656"><![CDATA[
Hi, <br><br>I was wondering whether it is possible to create a spring constraint from one point to another allowing full rotation?<br>slider constraints don't seem to allow that<br><br>it would be something like a six dof constraint with motors<br><br>Thank you.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2460">linksan</a> — Thu May 21, 2009 12:07 am</p><hr />
]]></content>
	</entry>
	</feed>
