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

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2022-10-11T15:51:49+00:00</updated>

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

		<entry>
		<author><name><![CDATA[drleviathan]]></name></author>
		<updated>2022-10-11T15:51:49+00:00</updated>

		<published>2022-10-11T15:51:49+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44137#p44137</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44137#p44137"/>
		<title type="html"><![CDATA[Re: Correct way to simulate joint friction and joint damping]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44137#p44137"><![CDATA[
You're asking in the<strong class="text-strong"> General Bullet Physics</strong> forum which is mostly about Bullet's core C++ library.  You are more likely to get answers to your question if you ask in the <a href="https://pybullet.org/Bullet/phpBB3/viewforum.php?f=24" class="postlink">PyBullet Support and Feedback</a> forum.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=11033">drleviathan</a> — Tue Oct 11, 2022 3:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[lyf44]]></name></author>
		<updated>2022-10-11T06:17:12+00:00</updated>

		<published>2022-10-11T06:17:12+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44136#p44136</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44136#p44136"/>
		<title type="html"><![CDATA[Correct way to simulate joint friction and joint damping]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44136#p44136"><![CDATA[
Hi, I have walked though the document and several related post. Just want to confirm here the correct way of simulating joint friction and damping in Pybullet since I want to perform torque control on my mobile robot.<br><br>So for joint friction, the value specified in URDF is NOT used and it has to be simulated through a velocity motor:<div class="codebox"><p>Code: </p><pre><code>p.setJointMotorControl2(self.robot_handle, joint_idx, controlMode=p.VELOCITY_CONTROL, targetVelocity=0, force=joint_friction)</code></pre></div>For joint damping, the value specified in URDF is applied automatically to the dynamics of the link. However, do I need to manually set the linear and angular damping field to zero?<div class="codebox"><p>Code: </p><pre><code>self._p.changeDynamics(self.robot_handle, joint_idx, linearDamping=0, angularDamping=0, jointDamping=joint_damping)</code></pre></div>Having accurate physics is highly desired in my case. Thanks a lot for help in advance.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=14444">lyf44</a> — Tue Oct 11, 2022 6:17 am</p><hr />
]]></content>
	</entry>
	</feed>
