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

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2021-06-24T20:25:48+00:00</updated>

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

		<entry>
		<author><name><![CDATA[miker2]]></name></author>
		<updated>2021-06-24T20:25:48+00:00</updated>

		<published>2021-06-24T20:25:48+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43459#p43459</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43459#p43459"/>
		<title type="html"><![CDATA[Re: How to get body acceleration?]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43459#p43459"><![CDATA[
Thanks for the reply, but not quite what I'm looking for. I'm controlling the robot (using joint controllers) and I want to be able to get the acceleration of the base due to the dynamics. I can take a backwards difference of the velocities from one timestep to another, but I was hoping that there was a method to access the accelerations directly.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=13588">miker2</a> — Thu Jun 24, 2021 8:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tayalmanan]]></name></author>
		<updated>2020-04-23T18:12:55+00:00</updated>

		<published>2020-04-23T18:12:55+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42799#p42799</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42799#p42799"/>
		<title type="html"><![CDATA[Re: How to get body acceleration?]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42799#p42799"><![CDATA[
Hi,<br>you can use while loop to accelerate the bot in a way you want.<br>For example,<div class="codebox"><p>Code: </p><pre><code>while True:    cubePos, cubeOrn = p.getBasePositionAndOrientation(bot)    cubeEuler = p.getEulerFromQuaternion(cubeOrn)      dv = k*cubeEuler[0]   p.stepSimulation()</code></pre></div>Hope this helps!!! <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=13606">tayalmanan</a> — Thu Apr 23, 2020 6:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[miker2]]></name></author>
		<updated>2020-04-09T22:58:07+00:00</updated>

		<published>2020-04-09T22:58:07+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42766#p42766</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42766#p42766"/>
		<title type="html"><![CDATA[How to get body acceleration?]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42766#p42766"><![CDATA[
I've looked over the PyBullet user guide and can't seem to find a solution to this question. Is there an accessor for the linear acceleration of a body?<br><br>Specifically I'd like the linear acceleration of the base link.<br>I see the `getBasePositionAndOrientatiion` &amp; `getBaseVelocity(model)` methods, but I see no method for accessing the acceleration of the base (or any other link).<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=13588">miker2</a> — Thu Apr 09, 2020 10:58 pm</p><hr />
]]></content>
	</entry>
	</feed>
