﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>RoboticsConnection User Forum / RoboticsConnection Software Support / Serializer .NET Library  / Getting distance traveled from PID controller? / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>RoboticsConnection User Forum</description><link>http://www.roboticsconnection.com/userForums/</link><webMaster>info@roboticsconnection.com</webMaster><lastBuildDate>Thu, 20 Nov 2008 22:32:27 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Getting distance traveled from PID controller?</title><link>http://www.roboticsconnection.com/userForums/Topic525-6-1.aspx</link><description>Many thanks Jason!  You guys rock!&lt;br&gt;&lt;br&gt;--patrick&lt;br&gt;&lt;br&gt;</description><pubDate>Thu, 12 Jun 2008 07:28:09 GMT</pubDate><dc:creator>pirobot</dc:creator></item><item><title>RE: Getting distance traveled from PID controller?</title><link>http://www.roboticsconnection.com/userForums/Topic525-6-1.aspx</link><description>Well, I seem to learn something new every day...:cool: I just figured out how to update a specific piece of the html documentation w/o uploading ALL of the files.&lt;P&gt;So, documentation is now up to date also.&lt;/P&gt;&lt;P&gt;Best Regards!</description><pubDate>Wed, 11 Jun 2008 20:25:50 GMT</pubDate><dc:creator>jsummerour</dc:creator></item><item><title>RE: Getting distance traveled from PID controller?</title><link>http://www.roboticsconnection.com/userForums/Topic525-6-1.aspx</link><description>Okay guys,&lt;/P&gt;&lt;P&gt;I just put a new Serializer .NET Lib release (1.2.3.1) out on the site:&lt;/P&gt;&lt;P&gt;     &lt;A href="http://www.roboticsconnection.com/p-16-serializer-net-robot-controller.aspx"&gt;http://www.roboticsconnection.com/p-16-serializer-net-robot-controller.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The only change was the WheelEncoder Resolution property type from a byte to an int. :)&lt;/P&gt;&lt;P&gt;Let me know how it works out...&lt;/P&gt;&lt;P&gt;I'll get the documentation updated this weekend (it's a pain).&lt;/P&gt;&lt;P&gt;Best Regards!</description><pubDate>Wed, 11 Jun 2008 20:15:39 GMT</pubDate><dc:creator>jsummerour</dc:creator></item><item><title>RE: Getting distance traveled from PID controller?</title><link>http://www.roboticsconnection.com/userForums/Topic525-6-1.aspx</link><description>Hey guys,&lt;/P&gt;&lt;P&gt;Sorry for the delay...I've been taking a few needed vacation days.&lt;/P&gt;&lt;P&gt;I'll get that fixed in the lib, and released by this weekend.&lt;/P&gt;&lt;P&gt;Best Regards!</description><pubDate>Tue, 10 Jun 2008 11:53:45 GMT</pubDate><dc:creator>jsummerour</dc:creator></item><item><title>RE: Getting distance traveled from PID controller?</title><link>http://www.roboticsconnection.com/userForums/Topic525-6-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;I have same problem with WheelEncoder. I'm interested by this resolution and it is true when we use PID we don't have problem with encoder resolution!!!&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arnaud</description><pubDate>Mon, 09 Jun 2008 00:24:12 GMT</pubDate><dc:creator>Arnaud</dc:creator></item><item><title>RE: Getting distance traveled from PID controller?</title><link>http://www.roboticsconnection.com/userForums/Topic525-6-1.aspx</link><description>Hi Jason,&lt;br&gt;&lt;br&gt;I may have found a glitch in the WheelEncoder object.  The Resolution property is typed as a byte which is too small to hold the resolution of the encoders I am using (US Digital encoders that mount to a Lynxmotion gearhead motor).  The resolution for these encoders is something like 6250 ticks per revolution which won't fit into a byte.  Even the 624-pulse resolution of the Traxster motors won't fit into the byte value.  By contrast, the PIDMotorController Resolution property is typed as an int and so I don't have the same problem there.&lt;br&gt;&lt;br&gt;Thanks!&lt;br&gt;patrick&lt;br&gt;</description><pubDate>Sun, 08 Jun 2008 18:35:47 GMT</pubDate><dc:creator>pirobot</dc:creator></item><item><title>RE: Getting distance traveled from PID controller?</title><link>http://www.roboticsconnection.com/userForums/Topic525-6-1.aspx</link><description>Thanks Arnaud and Jason!  I don't know how I missed the WheelEncoder object--didn't think to look in the Sensors section of the docs instead of the PID section, though it makes sense that's where they should be.  Now I am all set.&lt;br&gt;&lt;br&gt;--patrick&lt;br&gt;&lt;br&gt;</description><pubDate>Mon, 02 Jun 2008 07:49:54 GMT</pubDate><dc:creator>pirobot</dc:creator></item><item><title>RE: Getting distance traveled from PID controller?</title><link>http://www.roboticsconnection.com/userForums/Topic525-6-1.aspx</link><description>Patrick,&lt;/P&gt;&lt;P&gt;As soon as you issue a PID command, the encoder values are reset.  So, you can simply create two WheelEncoder objects, set their Resolution and WheelDiameter properties, and query their value as soon as you stop the robot to obtain distance.&lt;/P&gt;&lt;P&gt;Best Regards,</description><pubDate>Mon, 02 Jun 2008 06:50:41 GMT</pubDate><dc:creator>jsummerour</dc:creator></item><item><title>RE: Getting distance traveled from PID controller?</title><link>http://www.roboticsconnection.com/userForums/Topic525-6-1.aspx</link><description>Hi&lt;/P&gt;&lt;P&gt;I did a lot of tests with PID.I think if you stop PID with cmd stop or other, you can querry the counter value and convert ticks to inch(the counter is reset only if you send a new pid cmd "i think").&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arnaud</description><pubDate>Mon, 02 Jun 2008 00:09:44 GMT</pubDate><dc:creator>Arnaud</dc:creator></item><item><title>Getting distance traveled from PID controller?</title><link>http://www.roboticsconnection.com/userForums/Topic525-6-1.aspx</link><description>Hi Jason,&lt;br&gt;&lt;br&gt;I've checked the .Net documentation on the PID controller interface and it's not clear to me if I can get the distance traveled between any two points in time.  In other words, suppose I command my robot to move 48 inches but part way through it has to stop because of an obstacle.  I'd like to be able to read off how far it traveled before stopping.  If I were doing it at the firmware level I could clear the encoder counters then read off their values when the robot stopped.&lt;br&gt;&lt;br&gt;Thanks!&lt;br&gt;patrick&lt;br&gt;&lt;br&gt;</description><pubDate>Sat, 31 May 2008 11:08:36 GMT</pubDate><dc:creator>pirobot</dc:creator></item></channel></rss>