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

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2022-01-02T21:34:07+00:00</updated>

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

		<entry>
		<author><name><![CDATA[jamesbraza]]></name></author>
		<updated>2022-01-02T21:34:07+00:00</updated>

		<published>2022-01-02T21:34:07+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43779#p43779</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43779#p43779"/>
		<title type="html"><![CDATA[Units on near and far parameter values]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43779#p43779"><![CDATA[
The pybullet example file getCameraImageTest.py lists a near plane distance and a far plane distance:<br><br><a href="https://github.com/bulletphysics/bullet3/blob/master/examples/pybullet/examples/getCameraImageTest.py" class="postlink">https://github.com/bulletphysics/bullet ... ageTest.py</a><br><div class="codebox"><p>Code: </p><pre><code>near = 0.02far = 1</code></pre></div>Another pybullet example file pointCloudFromCameraImage.py lists:<br><br><a href="https://github.com/bulletphysics/bullet3/blob/master/examples/pybullet/examples/pointCloudFromCameraImage.py" class="postlink">https://github.com/bulletphysics/bullet ... raImage.py</a><br><div class="codebox"><p>Code: </p><pre><code>near = 0.01far = 1000.0</code></pre></div>What are the units on these distances?  Are they meters?<br><br>From the Hello PyBullet World it lists gravity as -10 z, which I am assuming is an approximation for -9.81 m/s^2.<br><br><a href="https://docs.google.com/document/d/10sXEhzFRSnvFcl3XxNGhnD4N2SedqwdAvK3dsihxVUA/edit#heading=h.btdfuxtf2f72" class="postlink">https://docs.google.com/document/d/10sX ... dfuxtf2f72</a><br><div class="codebox"><p>Code: </p><pre><code>p.setGravity(0,0,-10)</code></pre></div>So, are units in meters by default?  How would one discern units in all of the pybullet example files?<br><br>Thank you in advance for any help. I am came here from <a href="https://github.com/bulletphysics/bullet3/issues/2665" class="postlink">https://github.com/bulletphysics/bullet3/issues/2665</a><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=14198">jamesbraza</a> — Sun Jan 02, 2022 9:34 pm</p><hr />
]]></content>
	</entry>
	</feed>
