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

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2019-02-22T19:45:30+00:00</updated>

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

		<entry>
		<author><name><![CDATA[Erwin Coumans]]></name></author>
		<updated>2019-02-22T19:45:30+00:00</updated>

		<published>2019-02-22T19:45:30+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=41879#p41879</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=41879#p41879"/>
		<title type="html"><![CDATA[Re: Simulating closed loop structure in PyBullet]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=41879#p41879"><![CDATA[
SDF and URDF files need to be tree structure/ open loop.<br><br>PyBullet provides user constraints to close loops.<br>See our Minitaur example how to add such constraint.<br><a href="https://github.com/bulletphysics/bullet3/blob/master/examples/pybullet/gym/pybullet_envs/minitaur/envs/minitaur.py#L391" class="postlink">https://github.com/bulletphysics/bullet ... ur.py#L391</a><br>See createConstraint in the examples and PyBullet Quickstart Guide.<br><a href="https://docs.google.com/document/d/10sXEhzFRSnvFcl3XxNGhnD4N2SedqwdAvK3dsihxVUA/edit#heading=h.2ye70wns7io3" class="postlink">https://docs.google.com/document/d/10sX ... e70wns7io3</a><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2">Erwin Coumans</a> — Fri Feb 22, 2019 7:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[prakhar]]></name></author>
		<updated>2019-02-21T21:49:39+00:00</updated>

		<published>2019-02-21T21:49:39+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=41878#p41878</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=41878#p41878"/>
		<title type="html"><![CDATA[Simulating closed loop structure in PyBullet]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=41878#p41878"><![CDATA[
Hello<br><br>I am trying to load an SDF file into the pybullet environment. However, it comes up with the<br>"error: Cannot load SDF file."<br>My code is as follows:<br><br><strong class="text-strong">import pybullet as p<br>import time<br>import pybullet_data<br>physicsClient = p.connect(p.GUI)<br>p.setAdditionalSearchPath(pybullet_data.getDataPath())<br>p.setGravity(0,0,-10)<br>planeId = p.loadSDF("plane_stadium.sdf")<br>boxId = p.loadSDF("free_loop.sdf")<br><br>for i in range (3000):<br>p.stepSimulation()<br>time.sleep(1./240.)<br>p.disconnect()</strong><br><br>I have made sure that the files are in the correct directory.<br>The <strong class="text-strong">free_loop.sdf file has a closed loop structure </strong>( wherein the links are connected in a loop)<br>I wonder, if it is not possible to load an SDF file into pybullet which has a closed structure (unlike the tree structure of URDF format)?<br>Is there any easy workaround to this? Any example would be appreciated.<br>Thank you!<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=13213">prakhar</a> — Thu Feb 21, 2019 9:49 pm</p><hr />
]]></content>
	</entry>
	</feed>
