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

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2019-07-02T02:46:48+00:00</updated>

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

		<entry>
		<author><name><![CDATA[paperstiger]]></name></author>
		<updated>2019-07-02T02:46:48+00:00</updated>

		<published>2019-07-02T02:46:48+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42247#p42247</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42247#p42247"/>
		<title type="html"><![CDATA[Re: What accuracy to expect for trajectory tracking using position control]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42247#p42247"><![CDATA[
<blockquote class="uncited"><div>in the second case, the robot collides with the ground which will impact the links and joints of the robot.</div></blockquote>Wait, really? I should have used the software with GUI turned on.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=13331">paperstiger</a> — Tue Jul 02, 2019 2:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[steven]]></name></author>
		<updated>2019-07-01T12:47:11+00:00</updated>

		<published>2019-07-01T12:47:11+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42245#p42245</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42245#p42245"/>
		<title type="html"><![CDATA[Re: What accuracy to expect for trajectory tracking using position control]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42245#p42245"><![CDATA[
in the second case, the robot collides with the ground which will impact the links and joints of the robot.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=13075">steven</a> — Mon Jul 01, 2019 12:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[paperstiger]]></name></author>
		<updated>2019-06-30T16:38:05+00:00</updated>

		<published>2019-06-30T16:38:05+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42244#p42244</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42244#p42244"/>
		<title type="html"><![CDATA[Re: What accuracy to expect for trajectory tracking using position control]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42244#p42244"><![CDATA[
<blockquote class="uncited"><div>thanks for your sharing.<br>why did you said "maximum of 0.01 for some joint"? i add the following to print the max delta, the value is about 0.006. how much tracking accuracy do you need?  the accuracy is very high if don't care about the velocity.<br><br>print("max value=", np.max(robotlog[mask,17:23] - qeval))<br>max value= 0.006000822848596599</div></blockquote>Actually I do care about velocity and want to improve this accuracy as much as I could. <br><br>Did you try the second test case, using python minimum_debug_case.py 1? I bet in that case, stranger things will happen.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=13331">paperstiger</a> — Sun Jun 30, 2019 4:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[steven]]></name></author>
		<updated>2019-06-30T05:45:54+00:00</updated>

		<published>2019-06-30T05:45:54+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42243#p42243</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42243#p42243"/>
		<title type="html"><![CDATA[Re: What accuracy to expect for trajectory tracking using position control]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42243#p42243"><![CDATA[
thanks for your sharing.<br>why did you said "maximum of 0.01 for some joint"? i add the following to print the max delta, the value is about 0.006. how much tracking accuracy do you need?  the accuracy is very high if don't care about the velocity.<br><br>print("max value=", np.max(robotlog[mask,17:23] - qeval))<br>max value= 0.006000822848596599<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=13075">steven</a> — Sun Jun 30, 2019 5:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[paperstiger]]></name></author>
		<updated>2019-06-28T15:41:28+00:00</updated>

		<published>2019-06-28T15:41:28+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42239#p42239</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42239#p42239"/>
		<title type="html"><![CDATA[Re: What accuracy to expect for trajectory tracking using position control]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42239#p42239"><![CDATA[
<blockquote class="uncited"><div>Could you provide a complete simple test? i can work with you to find the root cause.</div></blockquote>Here you go. I am sharing a minimum test case and you can download it from here.<br><br><a href="https://drive.google.com/file/d/1W6iPNOjiWromoKuy588Fdl0X4R25lYlB/view?usp=sharing" class="postlink">https://drive.google.com/file/d/1W6iPNO ... sp=sharing</a><br><br>Thank you for your time.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=13331">paperstiger</a> — Fri Jun 28, 2019 3:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[steven]]></name></author>
		<updated>2019-06-28T01:39:41+00:00</updated>

		<published>2019-06-28T01:39:41+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42235#p42235</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42235#p42235"/>
		<title type="html"><![CDATA[Re: What accuracy to expect for trajectory tracking using position control]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42235#p42235"><![CDATA[
Could you provide a complete simple test? i can work with you to find the root cause.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=13075">steven</a> — Fri Jun 28, 2019 1:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[paperstiger]]></name></author>
		<updated>2019-06-27T21:05:00+00:00</updated>

		<published>2019-06-27T21:05:00+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42234#p42234</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42234#p42234"/>
		<title type="html"><![CDATA[What accuracy to expect for trajectory tracking using position control]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42234#p42234"><![CDATA[
Hi all, I am using pybullet to simulate ur5 robot. I have a trajectory (time stamped joint configuration and velocity) that I want to track. What my code does is basically<br><div class="codebox"><p>Code: </p><pre><code>for i in range(self.eeId - 1):p.setJointMotorControl2(self.robotId, i + 1, p.POSITION_CONTROL,                                            target_p[i], target_v[i], positionGain=1, velocityGain=0.5)</code></pre></div>where target_p and target_v are calculated from evaluating a function which does interpolation.<br><br>This code sort of works but has unsatisfactory trajectory tracking error (maximum of 0.01 for some joint). I calculate this error by comparing the logged joint angles and target_p. It is like (the subplot below)<br><br><img src="https://i.ibb.co/JzXNMsg/Figure-1.png" class="postimage" alt="Image"><br><br>I found that:<br>1. increase positionGain does not improve tracking accuracy once it reaches a value like 1.<br><br>My question is:<br>1. How on earth is position control implemented?<br>2. Is there anyway to improve this tracking accuracy since this is quite essential to my application?<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=13331">paperstiger</a> — Thu Jun 27, 2019 9:05 pm</p><hr />
]]></content>
	</entry>
	</feed>
