<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>Comments on: Draw a Square: Using Motors in leJOS EV3</title>
	<atom:link href="http://thetechnicgear.com/2014/05/tutorial-using-motors-draw-square-mindstorms-ev3-lejos/feed/" rel="self" type="application/rss+xml" />
	<link>http://thetechnicgear.com/2014/05/tutorial-using-motors-draw-square-mindstorms-ev3-lejos/</link>
	<description>LEGO Trains, Technic &#38; Mindstorms Video Reviews</description>
	<lastBuildDate>Sun, 04 Nov 2018 00:58:10 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.2.23</generator>
	<item>
		<title>By: Frank Parchim</title>
		<link>http://thetechnicgear.com/2014/05/tutorial-using-motors-draw-square-mindstorms-ev3-lejos/#comment-9379</link>
		<dc:creator><![CDATA[Frank Parchim]]></dc:creator>
		<pubDate>Fri, 06 Feb 2015 16:47:38 +0000</pubDate>
		<guid isPermaLink="false">http://thetechnicgear.com/?p=1982#comment-9379</guid>
		<description><![CDATA[Thanks a lot, Miguel!
This helped me to quicker understand the motor control and gave further ideas ... You made my day!]]></description>
		<content:encoded><![CDATA[<p>Thanks a lot, Miguel!<br />
This helped me to quicker understand the motor control and gave further ideas &#8230; You made my day!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HOWTO Calibrate a differential robot: UMBMark Explained &#8592; LEGO Reviews &#38; Videos</title>
		<link>http://thetechnicgear.com/2014/05/tutorial-using-motors-draw-square-mindstorms-ev3-lejos/#comment-1133</link>
		<dc:creator><![CDATA[HOWTO Calibrate a differential robot: UMBMark Explained &#8592; LEGO Reviews &#38; Videos]]></dc:creator>
		<pubDate>Sun, 01 Jun 2014 14:00:14 +0000</pubDate>
		<guid isPermaLink="false">http://thetechnicgear.com/?p=1982#comment-1133</guid>
		<description><![CDATA[[&#8230;] article is just a follow-up of drawing squares with leJOS where the problem of calibrating correctly your differential robot [&#8230;]]]></description>
		<content:encoded><![CDATA[<p>[&#8230;] article is just a follow-up of drawing squares with leJOS where the problem of calibrating correctly your differential robot [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miguel</title>
		<link>http://thetechnicgear.com/2014/05/tutorial-using-motors-draw-square-mindstorms-ev3-lejos/#comment-1075</link>
		<dc:creator><![CDATA[Miguel]]></dc:creator>
		<pubDate>Sun, 25 May 2014 08:48:03 +0000</pubDate>
		<guid isPermaLink="false">http://thetechnicgear.com/?p=1982#comment-1075</guid>
		<description><![CDATA[Hahaha. I am having the same problem between my laptop and my desktop. I will have a look at this and write a little side note about it.]]></description>
		<content:encoded><![CDATA[<p>Hahaha. I am having the same problem between my laptop and my desktop. I will have a look at this and write a little side note about it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://thetechnicgear.com/2014/05/tutorial-using-motors-draw-square-mindstorms-ev3-lejos/#comment-1072</link>
		<dc:creator><![CDATA[Michael]]></dc:creator>
		<pubDate>Sat, 24 May 2014 21:43:18 +0000</pubDate>
		<guid isPermaLink="false">http://thetechnicgear.com/?p=1982#comment-1072</guid>
		<description><![CDATA[Thank you! Thank you! This is just the sort of easy learning steps that I need. I have tried both of the previous LeJOS books with very little success. Maybe this time I will actually learn some JAVA programming. I look forward to further LeJOS/EV3 tutorials. Something I am struggling with is how to get finished JAVA programs/projects into Eclipse.]]></description>
		<content:encoded><![CDATA[<p>Thank you! Thank you! This is just the sort of easy learning steps that I need. I have tried both of the previous LeJOS books with very little success. Maybe this time I will actually learn some JAVA programming. I look forward to further LeJOS/EV3 tutorials. Something I am struggling with is how to get finished JAVA programs/projects into Eclipse.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miguel</title>
		<link>http://thetechnicgear.com/2014/05/tutorial-using-motors-draw-square-mindstorms-ev3-lejos/#comment-1070</link>
		<dc:creator><![CDATA[Miguel]]></dc:creator>
		<pubDate>Fri, 23 May 2014 21:42:52 +0000</pubDate>
		<guid isPermaLink="false">http://thetechnicgear.com/?p=1982#comment-1070</guid>
		<description><![CDATA[Thanks. I will edit the code to use waitComplete... I supposed that left would have ended more or less at the very same time than right ( or the robot won&#039;t be moving at a straight line, isn&#039;t it? ) but it doesn&#039;t hurt to add it.

Reading the paper right now.]]></description>
		<content:encoded><![CDATA[<p>Thanks. I will edit the code to use waitComplete&#8230; I supposed that left would have ended more or less at the very same time than right ( or the robot won&#8217;t be moving at a straight line, isn&#8217;t it? ) but it doesn&#8217;t hurt to add it.</p>
<p>Reading the paper right now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gloomyandy</title>
		<link>http://thetechnicgear.com/2014/05/tutorial-using-motors-draw-square-mindstorms-ev3-lejos/#comment-1068</link>
		<dc:creator><![CDATA[gloomyandy]]></dc:creator>
		<pubDate>Fri, 23 May 2014 18:20:29 +0000</pubDate>
		<guid isPermaLink="false">http://thetechnicgear.com/?p=1982#comment-1068</guid>
		<description><![CDATA[Hi,
Nice, blog. Accurate movement using odometry can be tricky! A few comments...

In your example code you recommend the following sequence:
left.rotate(degrees,true);
right.rotate(degrees);

This may introduce an error because there is no certainty that the left motor will have finished when the right one does (particularly when using different numbers of degrees). If you follow this move immediately by another then leJOS will not complete the partial move instead it will blend the two moves together using the current acceleration setting), which is probably not what you want.  It is always best to add a waitComplete call to ensure both motors have stopped. 

Secondly if you are going to use a variable number of degrees as the target for the two motors (which you may need to do if one wheel has a larger diameter than the other), then you will probably also want to use a different target speed as well (so that both motors stop at the same time). However if you do this remember to also use a different acceleration factor for the two motors, otherwise one motor will reach the target speed before the other.

Finally if you are serious about calibration of a differential drive robot take a look at the following paper:
http://www.valentiniweb.com/Piermo/robotica/doc/Borenstein/paper58.pdf

Oh and if you want another fun way to evaluate the quality of straight line movement, take a look at:
https://www.youtube.com/watch?v=NJ_6Qm_BNFI

Have fun

Andy]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
Nice, blog. Accurate movement using odometry can be tricky! A few comments&#8230;</p>
<p>In your example code you recommend the following sequence:<br />
left.rotate(degrees,true);<br />
right.rotate(degrees);</p>
<p>This may introduce an error because there is no certainty that the left motor will have finished when the right one does (particularly when using different numbers of degrees). If you follow this move immediately by another then leJOS will not complete the partial move instead it will blend the two moves together using the current acceleration setting), which is probably not what you want.  It is always best to add a waitComplete call to ensure both motors have stopped. </p>
<p>Secondly if you are going to use a variable number of degrees as the target for the two motors (which you may need to do if one wheel has a larger diameter than the other), then you will probably also want to use a different target speed as well (so that both motors stop at the same time). However if you do this remember to also use a different acceleration factor for the two motors, otherwise one motor will reach the target speed before the other.</p>
<p>Finally if you are serious about calibration of a differential drive robot take a look at the following paper:<br />
<a href="http://www.valentiniweb.com/Piermo/robotica/doc/Borenstein/paper58.pdf" rel="nofollow">http://www.valentiniweb.com/Piermo/robotica/doc/Borenstein/paper58.pdf</a></p>
<p>Oh and if you want another fun way to evaluate the quality of straight line movement, take a look at:<br />
<a href="https://www.youtube.com/watch?v=NJ_6Qm_BNFI" rel="nofollow">https://www.youtube.com/watch?v=NJ_6Qm_BNFI</a></p>
<p>Have fun</p>
<p>Andy</p>
]]></content:encoded>
	</item>
</channel>
</rss>
