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

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2022-06-15T17:52:19+00:00</updated>

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

		<entry>
		<author><name><![CDATA[andytgl]]></name></author>
		<updated>2022-06-15T17:52:19+00:00</updated>

		<published>2022-06-15T17:52:19+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44035#p44035</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44035#p44035"/>
		<title type="html"><![CDATA[Re: p.getCameraImage stuck after a few calls]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44035#p44035"><![CDATA[
I did solve my issue by switching to 'eglRenderer', e.g., by adding the following lines (from <a href="https://github.com/bulletphysics/bullet3/blob/master/examples/pybullet/examples/eglRenderTest.py" class="postlink">https://github.com/bulletphysics/bullet ... derTest.py</a>) upon initialization: <div class="codebox"><p>Code: </p><pre><code>        # Initialize pybullet        connection_mode=p.DIRECT        self.ch =  bc.BulletClient(connection_mode)        # Load eglRendered        self.ch.setAdditionalSearchPath(pybullet_data.getDataPath())        self.plugin = self.ch.loadPlugin(egl.get_filename(), "_eglRendererPlugin")        print("plugin=", self.plugin) </code></pre></div><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=14030">andytgl</a> — Wed Jun 15, 2022 5:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[andytgl]]></name></author>
		<updated>2022-06-15T15:33:01+00:00</updated>

		<published>2022-06-15T15:33:01+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44034#p44034</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44034#p44034"/>
		<title type="html"><![CDATA[Re: p.getCameraImage stuck after a few calls]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44034#p44034"><![CDATA[
I do experience a similar issue - querying p.getCameraImage for a large number of times causes the function to hang. I am using pybullet.ER_TINY_RENDERER. Has anyone else experienced the same issue and found a solution?<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=14030">andytgl</a> — Wed Jun 15, 2022 3:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Erwin Coumans]]></name></author>
		<updated>2022-03-15T02:47:46+00:00</updated>

		<published>2022-03-15T02:47:46+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43935#p43935</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43935#p43935"/>
		<title type="html"><![CDATA[Re: p.getCameraImage stuck after a few calls]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43935#p43935"><![CDATA[
I've never seen this issue before, and many researchers used pybullet with camera rendering. Did you check memory use?<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2">Erwin Coumans</a> — Tue Mar 15, 2022 2:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nic_olas_s]]></name></author>
		<updated>2022-03-06T12:05:01+00:00</updated>

		<published>2022-03-06T12:05:01+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43915#p43915</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43915#p43915"/>
		<title type="html"><![CDATA[p.getCameraImage stuck after a few calls]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43915#p43915"><![CDATA[
Hi PyBullet Community,<br><br>in a small PyBullet setup we simulate an inhand mounted camera.<br>We use p.getCameraImage as follows to get rgb and depth data, which in general works.<br>However, after a few calls to that function our program seems stuck.<br>We debugged our code a bit and apparently it is stuck exactly at the getCameraImage call.<br><br>Has anybody here experienced something similar?<br><br>I also tried the ER_BULLET_HARDWARE_OPENGL renderer with the same behaviour.<br><div class="codebox"><p>Code: </p><pre><code>        _, _, rgb_img, depth_img, seg_img = p.getCameraImage(            width, height, view_matrix, projection_matrix, physicsClientId=self.sim, renderer=p.ER_TINY_RENDERER        )</code></pre></div><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=14279">nic_olas_s</a> — Sun Mar 06, 2022 12:05 pm</p><hr />
]]></content>
	</entry>
	</feed>
