Dead Reckoning?
rwgast_logicdesign
Posts: 1,464
Since I should have a fairly usable bot with motor control ready very soon, especially now that I scored an old nice RC chasis to strip parts from, ive been thinking about what I want my bot to do. I realized I have almost no sensors!!! But I will hopefully be using the mouse technique to make wheel encoders for motor feedback, after im all set up and everything is working.
I know dead reckoning is basically just the bot tracking where it has come from and rembering its path. But im curious to maybe hear a little more about how this is achieved Im guessing just encoders based on this http://www.ikalogic.com/wfr-a-dead-reckoning-robot/ . Is there a way to tell exactly how many inches youve gone straight and how many degrees you turned all without anything but wheel encoder?? Is this kind of navigation accurate if you dont have any real specs like your motors RPM raiting etc, id assume you may need that for some equations, idk. Im just curious to hear a little more about dead reckoning without out getting into code or math, ill save that for when I understand what all can be done using dead reckoning. Plus I like saying Dead Reckoning it sounds like the sequel to max pain or something .
I was reading about the mars rover curosity, since im interested in autonomously navigating the dessert with my bot. What I read about how it plots courses using DR and stero vision was just amazing, it made me realize that maybe my bot will never cruse the Deseret becuase the DR stuff combined with stero vision is just wayyy over my head. But thankfully on earth we have compasses and gps so maybe my dream will come true.
I know dead reckoning is basically just the bot tracking where it has come from and rembering its path. But im curious to maybe hear a little more about how this is achieved Im guessing just encoders based on this http://www.ikalogic.com/wfr-a-dead-reckoning-robot/ . Is there a way to tell exactly how many inches youve gone straight and how many degrees you turned all without anything but wheel encoder?? Is this kind of navigation accurate if you dont have any real specs like your motors RPM raiting etc, id assume you may need that for some equations, idk. Im just curious to hear a little more about dead reckoning without out getting into code or math, ill save that for when I understand what all can be done using dead reckoning. Plus I like saying Dead Reckoning it sounds like the sequel to max pain or something .
I was reading about the mars rover curosity, since im interested in autonomously navigating the dessert with my bot. What I read about how it plots courses using DR and stero vision was just amazing, it made me realize that maybe my bot will never cruse the Deseret becuase the DR stuff combined with stero vision is just wayyy over my head. But thankfully on earth we have compasses and gps so maybe my dream will come true.
Comments
I've done a few closed loop encoder projects using information I learned from Phil Pi's wheel encoder document (after reading it several times). The document and accompanying code are dense but great, and I suggest making them required reading for anyone building a robot. Don't worry if it takes a bit of work for it to sink in.
Here's a link to the Boe bot encoder kit which has source code examples:
http://www.parallax.com/Store/Robots/RoboticAccessories/tabid/145/ProductID/80/List/0/Default.aspx?SortField=ProductName,ProductName
Here's a direct link to the PDF:
http://www.parallax.com/Portals/0/Downloads/docs/prod/datast/ApplyEncoder.pdf
Here's the sort of project you can do using encoders and dead reckoning:
Here's Whit's Scribbler Maze navigation.
Here is everything that you have ever wanted to know about dead reckoning complete with theory and examples: http://www.geology.smu.edu/dpa-www/robo/jbot/index.html
Regards,
TCIII
Thanks for the link Tom C.
I am in the process of building a robot and the dead reckoning info found in your link is exactly what I was looking for.
Information on my Robot build can be found at the Savage Circuits Fourms in this thread ZappBot 4.0 - Rover
http://www.youtube.com/watch?v=PX0IhUqnwrk
my journey http://forums.parallax.com/showthread.php?118861-Homebuilt-Robotic-Platform-AKA-Retrobot
My version of a path memorizing robot is kind of a cheat though since it doesn't really memorize the robot's path, it memorizes the commands to the CR servos. Since I'm using a SD card to save the path infomation, I can afford to record each pair of servo pulse commands 50 times a second. I was surprised how well this method worked. This method of recording a path has an added advantage of being able to record curved paths.
My main reason for purchasing a Scribbler 2 was in hopes of understanding Phil's encoder code for it. I don't claim to understand the S2 code completely but I've learned a lot from reading the S2.Spin object.
[/QUOTE]
You should know that it's really DED Reckoning. It means [DED]uctive Reckoning. Just sayin'. Everybody gets it wrong, including some navigation textbooks...
http://www.straightdope.com/columns/read/2053/is-dead-reckoning-short-for-deduced-reckoning
Wow! I'm one of those everybodies.
I'm afraid it's a lost cause though. After reading through Wikipedia's Dead_Reckoning page it looks like "dead reckoning" has established itself in literature as well as science.
There are ways (processes) to reduce error and establish repeatability with dead reckoning. The link I posted above delves deeply into dead reckoning theory and how to make it exceptionaly repeatable.
Just a thought.
Regards,
TCIII
-Phil
I beg to differ, but I will never win the argument for the bastardization of the term. That is par for the course in our language.
From Wikipedia"
In navigation, dead reckoning (also ded (for deduced) reckoning or DR) is the process of calculating one's current position by using a previously determined position, or fix, and advancing that position based upon known or estimated speeds over elapsed time, and course.
The "fix" may have been determined by celestial means, which is, at best, accurate to within about 1-5 miles. Or it could be just a guess or a triangulation by taking bearings on visible objects. Then you calculate a future position based upon known factors such as wind, current, etc. So that in itself adds another error factor to your [ded]uction. As you can see, it could be anything but dead ahead.
Of course, now we hava all kinds of navigational aids to make DR practically unnecessary and will predict where you will be constantly - until the batteries go dead...