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

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2020-10-21T14:06:12+00:00</updated>

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

		<entry>
		<author><name><![CDATA[rockapat]]></name></author>
		<updated>2020-10-21T14:06:12+00:00</updated>

		<published>2020-10-21T14:06:12+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43161#p43161</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43161#p43161"/>
		<title type="html"><![CDATA[Re: Linear motor as suspension spring]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43161#p43161"><![CDATA[
Nah, I spoke too soon. Back to "motorized springs"..   <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_eek.gif" width="15" height="15" alt=":shock:" title="Shocked"> <br><br>Can anyone confirm this (spring cant support the large chassi mass and the chassi will sink to the ground and stay there) with the following settings in the "Hinge2 Vehicle" in the examplebrowser (Hinge2Vehicle.cpp):<br><div class="codebox"><p>Code: </p><pre><code>const btScalar chassisMass = 1000.0f; //Was 2.0fconst btScalar wheelMass = 10.0f; //Was 1.0f...pHinge2-&gt;setDamping(2, 1000.0); //Was 2.0pHinge2-&gt;setStiffness(2, 10000.0); //Was 40.0</code></pre></div>Oddly the spring works if I have the wheelMass to 1000.0f aswell as the chassisMass.<br><br>Is this normal behaviour for springs in bullet or do I have a bug in my code?<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=13796">rockapat</a> — Wed Oct 21, 2020 2:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rockapat]]></name></author>
		<updated>2020-10-20T13:44:11+00:00</updated>

		<published>2020-10-20T13:44:11+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43160#p43160</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43160#p43160"/>
		<title type="html"><![CDATA[Re: Linear motor as suspension spring]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43160#p43160"><![CDATA[
Hm the btGeneric6DofSpring2Constraint springy thing seems to work better than hinge2 with heavy bodys. I will experiment more with it instead.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=13796">rockapat</a> — Tue Oct 20, 2020 1:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rockapat]]></name></author>
		<updated>2020-10-20T08:37:24+00:00</updated>

		<published>2020-10-20T08:37:24+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43159#p43159</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43159#p43159"/>
		<title type="html"><![CDATA[Linear motor as suspension spring]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43159#p43159"><![CDATA[
Hi!<br><br>I'm trying to do vehicle suspensions with a hinge2 but ran into a problem. <br><br>I've specified real values for mass of the chassis but the hinge2 spring used for the wheels cant support it, no matter how large value I specify for stiffness of the spring.<br><br>The chassi just sinks down to the lower limit of the spring.<br><br>The problem is easy to replicate in the hinge2vehicle example, just set the chassisMass to something large like 500.0 (instead of 2.0). <br><br>The hinge2 isn't supposed to work with that large masses?<br><br>Instead of the builtin hinge2 spring I've tried to use a generic6dof constraint and setting up the linear motor to act as a spring (since I think the motor has no problem supporting a large mass). Is that a reasonable way to do spring suspension for an articulated vehicle or have I missed something about the hinge2 constraint to get its spring working with heavy mass bodys?<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=13796">rockapat</a> — Tue Oct 20, 2020 8:37 am</p><hr />
]]></content>
	</entry>
	</feed>
