SD Card Navigation
Hi All...
I seem to recall a thread concerning navigating a Boe Bot from data stored on an SD card. Be darned if I can find it tho'. Anyone have a link or can tell me I'm just imagining it? :-)
I want to experiment using an SD card with Bob's new, little brother Bert. (Picked up a Boe Bot chassis from the 'Bay and joined it with a spare Activity Board)
Thanks for any assistance!
Amanda - Happy Thursday!
I seem to recall a thread concerning navigating a Boe Bot from data stored on an SD card. Be darned if I can find it tho'. Anyone have a link or can tell me I'm just imagining it? :-)
I want to experiment using an SD card with Bob's new, little brother Bert. (Picked up a Boe Bot chassis from the 'Bay and joined it with a spare Activity Board)
Thanks for any assistance!
Amanda - Happy Thursday!
Comments
I used a Propeller Board of Education but it should also work with a Propeller Activity Board (or any other Propeller board).
I used some RC gear as the remote but the technique should work with other remotes. I recorded the pulse lengths sent to the two CR servos at 50Hz.
I was (once again) copying something erco had done. He recorded the path taken by his robot to be played back later. I think erco's method used transition points to indicate when and where the robot changed direction and didn't require as much memory as my method.
Since I see that you're controlling the robot with the Activity Board, I suggest the Propeller C tutorial Andy created just for this purpose: SD Card Games.
If you aren't using encoders, you'll have to modify the code to use the servodiffdrive library for navigation rather than the abdrive one.
Here's a couple links to erco's robot.
Here's the thread about the robot.
http://forums.parallax.com/showthread.php/118861-Homebuilt-Robotic-Platform-AKA-Retrobot
Here's the video.
https://www.youtube.com/watch?v=PX0IhUqnwrk
I notice the AB Navigation program is vastly different from the BOE-Bot version.
The BOE-Bot version starts on Page 126 processes single letter codes using SELECT...CASE.
The AB version processes verbose commands with IF...ELSE IF
http://learn.parallax.com/activitybot/text-file-maneuver-list
https://www.parallax.com/sites/default/files/downloads/28125-Robotics-With-The-Boe-Bot-v3.0.pdf
I personally would prefer the BOE-Bot version written in C because of it's nicer modular format.
I didn't see where she indicated which language she was using, and in my book, "Spin" is not one of those 4-letter words....
Thanks for the replies. Work and doctor appointments have kept my schedule pretty full, but I'm going to get to work on this soon.
@ Mr. Mac :-) Primarily, I'm using C for my BOE/Activity 'bots, but for most things Propeller, I like Spin. I grew up programming in Basic and Spin has more of a "Basic feel" to me. Of course, many of the things y'all accomplish with Spin seem akin to magic!!!
Amanda