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

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2013-01-10T21:43:50+00:00</updated>

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

		<entry>
		<author><name><![CDATA[Dirk Gregorius]]></name></author>
		<updated>2013-01-10T21:43:50+00:00</updated>

		<published>2013-01-10T21:43:50+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=29637#p29637</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=29637#p29637"/>
		<title type="html"><![CDATA[Re: Line constraint]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=29637#p29637"><![CDATA[
The limits are essentially two (upper and lower) more new constraints along the free axis. You are essentially measuring the *signed* separation of the anchors along this axis. The first two line constraints block the movement entirely while the linear limit allows for some movement. <br><br>Hope that makes sense,<br>-Dirk<br><br>PS<br>The local levers (r1' and r2') are fixed, but r1 = R1 * r1' and r2 = R2 * r2' indeed vary in time since the body can change its orientation.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=14">Dirk Gregorius</a> — Thu Jan 10, 2013 9:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[c0der]]></name></author>
		<updated>2013-01-10T13:26:44+00:00</updated>

		<published>2013-01-10T13:26:44+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=29635#p29635</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=29635#p29635"/>
		<title type="html"><![CDATA[Re: Line constraint]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=29635#p29635"><![CDATA[
Thanks Dirk. I have the original line constraint working without limits, however I have a question about the behaviour.<br><br>Say that body 2 is at the anchor point and body 1 is the fixed body that the line moves with.<br><br>Is the anchor point supposed to move with body 2 and that r2 stays fixed while r1 changes?<br><br>Given that the definition for one of the constraints is:<br><br>C1 = t.u = 0 where u = x1 + r1 - x2 - r2 and t is the illegal axis of movement<br><br>Performing the time derivate leaves r1 and r2 fixed while x1, x2 and t are changing with time? Thanks for your help.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=9431">c0der</a> — Thu Jan 10, 2013 1:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dirk Gregorius]]></name></author>
		<updated>2013-01-07T23:33:32+00:00</updated>

		<published>2013-01-07T23:33:32+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=29624#p29624</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=29624#p29624"/>
		<title type="html"><![CDATA[Re: Line constraint]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=29624#p29624"><![CDATA[
// Start with position constraint (u is the axis along you measure the separation)<br>C = ( x2 + r2 - x1 - r1 ) * u1 &gt; min_distance<br><br>// Time derivative <br>dC/dt = ( v2 + w2 x r2 - v1 - w1 x r1 ) * u1 + ( x2 + r2 - x1 - r1 ) * ( w1 x u1 ) <br><br>// Define s = ( x2 + r2 - x1 - r1 ). This is the vector from anchor 1 to anchor 2<br><br>// This yields<br>dC/dt = [ v2 + w2 x r2 - v1 - w1 x (r1 + s) ] * u1<br><br>// Identify Jacobian by inspection<br>J = ( -u1 | -(r1 + s) x u1 | u1 | r2 x u1 ) <br><br>This is for a lower limit. For an upper limit simple change the constraint to: C = ( x2 + r2 - x1 - r1 ) * u1 &lt; max_distance<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=14">Dirk Gregorius</a> — Mon Jan 07, 2013 11:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[c0der]]></name></author>
		<updated>2013-01-05T23:50:42+00:00</updated>

		<published>2013-01-05T23:50:42+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=29615#p29615</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=29615#p29615"/>
		<title type="html"><![CDATA[Line constraint]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=29615#p29615"><![CDATA[
Hi all,<br><br>What is the best way to impose a limit on a line constraint? Currently, I have a distance constraint running alongside it but don't know if that's the best way. Should I add another Jacobian and combine it with the line joint?<br><br>Thanks for your help<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=9431">c0der</a> — Sat Jan 05, 2013 11:50 pm</p><hr />
]]></content>
	</entry>
	</feed>
