Shop OBEX P1 Docs P2 Docs Learn Events
Erco's Figure Eight Challenge - Page 4 — Parallax Forums

Erco's Figure Eight Challenge

1246724

Comments

  • TtailspinTtailspin Posts: 1,326
    edited 2012-03-15 20:08
    Way to go GatorBots!

    Thats the best figure 8 display so far..:thumb::thumb:


    -Tommy
  • photomankcphotomankc Posts: 943
    edited 2012-03-15 23:05
    DANG! Thats awesome! Very nicely done.
  • ercoerco Posts: 20,256
    edited 2012-03-16 02:53
    Yes, the Gatorbots truly rule! Great job!

    Whit, bring them on the Parallax bus to the Expo. Life, liberty and mac & cheese for all!
  • Martin_HMartin_H Posts: 4,051
    edited 2012-03-16 06:20
    Nicely done Gatorbots!
  • ercoerco Posts: 20,256
    edited 2012-03-16 08:35
    Them dang kids make EVERYTHING newfangled look easy! You wouldn't find a VCR flashing "12:00" in their house!

    Did I just date myself?

    Twice?
  • PublisonPublison Posts: 12,366
    edited 2012-03-16 08:45
    Nice going team! No plywood OR relays! :)

    Jim
  • Duane DegnDuane Degn Posts: 10,588
    edited 2012-03-16 09:16
    GatorBot do Rule!

    That was great. I felt like clapping too.
  • Jessica UelmenJessica Uelmen Posts: 490
    edited 2012-03-16 10:05
    RAD! They really knocked it out of the park - way to go GatorBots!
  • WhitWhit Posts: 4,191
    edited 2012-03-16 10:35
    Thanks everyone! They loved doing this and they really love their S2s.

    By the way Jess, one of their first projects was a message delivery route to one of the GatorBots' Mom who teaches down the hall from our computer lab. It is about a 75 foot run with turns and twists. The S2 was programmed to go right to her desk! All with the GUI and trial and error. Everybody loved it.

    And the GatorBots feel like celebs being on YouTube! Thanks for the fun erco! :cool:
  • WhitWhit Posts: 4,191
    edited 2012-03-16 14:44
    Hey one more cool thing - once our code was written - we uploaded it on another S2 just to see what would happen. Identical results. To me this is truly amazing on a robot of this price!
  • ercoerco Posts: 20,256
    edited 2012-03-16 23:44
    Shoot. If they liked this, just wait until I announce the details of my daring new "Figure 1" challenge. :)
  • WhitWhit Posts: 4,191
    edited 2012-03-17 16:58
    The GatorBots, ScribblerKart and I await...

    By the way erco, I see that you have more that doubled my number of posts now. Wonder how many of those were eBay bargains?
  • Tony B.Tony B. Posts: 356
    edited 2012-03-17 18:09
    Great Job Gatorbots!

    Whit, I don't even search Ebay anymore. I just come to the Parallax Forums to see what Erco post. Everything else on Ebay is just stuff. :)

    Tony
  • WhitWhit Posts: 4,191
    edited 2012-03-17 20:20
    Tony B. wrote: »
    Whit, I don't even search Ebay anymore. I just come to the Parallax Forums to see what Erco post.

    True! erco is like an eBay robotics search engine....
  • Duane DegnDuane Degn Posts: 10,588
    edited 2015-10-11 19:56
    Sorry for the double post, but how could I not post this video here too?



    I didn't really try to keep the robot close to the pie tins. I might give this another try later on.

    BTW, no encoders on this one. I do plan to add some magnetic encoders to this robot sometime soon.
  • ercoerco Posts: 20,256
    edited 2012-03-29 14:18
    Duane: THAT is cool! Bravo! Great concept & execution all the way. Great results, especially sans encoders. Just recording two PULSOUT values? Fitty times per sec. WOW! Bring that to Expo fer sher, Pal!

    Hey, you have quite a long drive to Expo from Idaho. Can you use that setup to record yourself driving to Expo, then reverse it so the car drives itself home while you catch some well-deserved shuteye in the back seat? :)
  • Martin_HMartin_H Posts: 4,051
    edited 2012-03-29 15:04
    Duane, that is neat. I vote it best of thread. With that kind of repeatability you could use that as a teaching pendant for a robot arm!
  • Duane DegnDuane Degn Posts: 10,588
    edited 2012-03-30 08:40
    erco wrote: »
    Duane: THAT is cool! Bravo! Great concept & execution all the way. Great results, especially sans encoders. Just recording two PULSOUT values? Fitty times per sec. WOW! Bring that to Expo fer sher, Pal!

    Thanks, erco. It was your recording your robot's travel that got me thinking about doing this. I wanted a way to record curved travel paths and just recording the commands given to the servos seemed like the easiest way of doing this.

    The robot records 11 bytes fifty times a second. The recording shown in the video was 27.2KB. This is the data recorded as the robot started to move.
    1500,1500
    1500,1500
    1513,1487
    1513,1487
    1513,1487
    1516,1484
    1519,1481
    1519,1481
    1525,1475
    1525,1475
    1528,1472
    1528,1472
    1528,1472
    1528,1472
    1528,1472
    1528,1472
    1528,1472
    1528,1472
    1528,1472
    1528,1472
    1528,1472
    

    I wanted to be able to read the numbers generated in a text editor or Excel so the numbers are saved as ASCII characters. If I just recorded the raw data without commas or line breaks I think each data set could be four bytes instead of eleven. I was not really worried about file size though since I was using an 8 Gig SD card.
    erco wrote: »
    Hey, you have quite a long drive to Expo from Idaho. Can you use that setup to record yourself driving to Expo, then reverse it so the car drives itself home while you catch some well-deserved shuteye in the back seat? :)

    Ah, but I'd have to drive back in the same lane I drove down in. I don't think the other drivers would be very happy with my heading north in a south bound lane.

    I'll have to record both directions so next year I sleep both ways.
    Martin_H wrote: »
    Duane, that is neat. I vote it best of thread. With that kind of repeatability you could use that as a teaching pendant for a robot arm!

    I'm glad you liked it Martin.

    The problem with using this method with a robot arm is it records all your mistakes too (as seen in the video). I think erco's method of moving the arm to the desired position and then recording that position would probably be a better way of training a robot arm.

    This method would probably be a good choice if the arm had to make some fluid motions like writing with a pen.
  • ercoerco Posts: 20,256
    edited 2012-04-11 01:50
    My hottest run on the figure 8 course yet.

    Video is processing now, taking forever. Hope it comes out OK...

    Edit: Youtube is down. I uploaded again at http://www.youtube.com/watch?v=gXqoYIcYYKA and I get the same "still processing video" error.
  • Martin_HMartin_H Posts: 4,051
    edited 2012-04-11 07:12
    I was able to watch it. Ken should love the Boe-bot mod.

    BTW This has been one of the most successful threads we've had in the Robotics group. We'll have to figure out how to repeat this success.
  • ercoerco Posts: 20,256
    edited 2012-04-11 17:07
    Martin_H wrote: »
    We'll have to figure out how to repeat this success.

    IMHO, people got on board 'cuz it looks easy.

    1) Almost no rules
    2) No processor constraints
    3) No track to buy/build
    4) Everyone has a smooth kitchen floor or equivalent
    5) Almost any robot is capable of making a figure 8 pattern, no mods necessary.

    As Amanda pointed out, it ain't so easy returning to and stopping on your starting spot exactly. Sounds easy, though. :)
  • Martin_HMartin_H Posts: 4,051
    edited 2012-04-11 17:34
    Given that line of reasoning the need for a course and robot capable of handling it is probably why my challenges of peril and doom didn't catch on. So something like that four bottle challenge would likely be more popular.
  • WhitWhit Posts: 4,191
    edited 2012-04-12 14:38
    Better late than never. Attached is the GatorBot's Code...
  • Martin_HMartin_H Posts: 4,051
    edited 2012-04-25 17:37
    The figure eight carpet challenge!

    Enjoy.
  • ercoerco Posts: 20,256
    edited 2012-04-25 19:24
    idbruce wrote: »
    Alright Martin_H and erco

    I think you guys are having just a bit too much fun.

    I have not really spent any time just having fun with microcontrollers, but I like a challenge and this figure eight challenge seems interesting. Are there any rules that apply to hardware?

    Bruce

    Still waiting for you to weigh in, idbruce! All wire-bending and no fun make idbruce...

    a lot of money, hopefully! :)

    BTW, nicely & quickly done, Martin_H!
  • John BoardJohn Board Posts: 371
    edited 2012-04-26 00:49
    I'm not quite sure why everyone is trying to make figures of "8" but one things for sure, I liked the flame thrower erco ;)

    I once embarked on a challenge to get my "Octobot" to make an ellipse - for those mathsies guys out there, you'll reckognise it as being one of the hardest shapes to "draw" with a robot as it's path is having to be recalculated every time it moves. In the end I never got this working, mainly because of lack of time, but of late I've gone back to the idea. I've got a friend to write a few formulas to calculate the movement. The robot I was originally working on has been pulled apart for spares, but I'm thinking of putting it together again, using it's stepper motors, and a new brain - the BeagleBone. As I ported the formulas to python I can put them straight on the BeagleBone and have them work straight off the bat! Well, enough for now.

    -John
  • ercoerco Posts: 20,256
    edited 2012-04-26 01:33
    John: I'll take your ellipse challenge! Like it a lot. An ellipse is a stretched/squashed circle. Seems like this might approximately work for a differential drive robot:

    1) Run outside wheel at constant speed.
    2) Gradually ramp inside wheel from ~50% speed to ~80%, back down to 50% then back up to 80%.

    It would take some tweaking, but it could be fun to trace that path and see how repeatable it is. Dinner plates as foci. Not sure if I'll get to it before we leave for vacation, but I'll add it to my "to do" list. Great idea!
  • Martin_HMartin_H Posts: 4,051
    edited 2012-04-26 08:44
    Technically a circle is an ellipse. So just stack two plates on top of each other and run one wheel twice as fast as the other.
  • ercoerco Posts: 20,256
    edited 2012-05-16 15:50
    Hey, the Figure 8 is catching on! I like to think that we inspired this Figure 8 course at Maker Faire this weekend, although it's for pedal cars instead of robots. :(

    http://blog.makezine.com/maker/fun-bike-unicorn-club
  • ercoerco Posts: 20,256
    edited 2012-10-14 19:49
    My minimalist, no encoder, BS1 powered stepper motor robot enters the fray.
Sign In or Register to comment.