Erco's Figure Eight Challenge

1246721

Comments

  • TtailspinTtailspin Posts: 1,322
    edited March 2012 Vote Up0Vote Down
    Way to go GatorBots!

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


    -Tommy
  • photomankcphotomankc Posts: 929
    edited March 2012 Vote Up0Vote Down
    DANG! Thats awesome! Very nicely done.
  • ercoerco Posts: 18,655
    edited March 2012 Vote Up0Vote Down
    Yes, the Gatorbots truly rule! Great job!

    Whit, bring them on the Parallax bus to the Expo. Life, liberty and mac & cheese for all!
    "When you make a thing, a thing that is new, it is so complicated making it that it is bound to be ugly. But those that make it after you, they don’t have to worry about making it. And they can make it pretty, and so everybody can like it when others make it after you."

    - Pablo Picasso
  • Martin_HMartin_H Posts: 4,024
    edited March 2012 Vote Up0Vote Down
    Nicely done Gatorbots!
  • ercoerco Posts: 18,655
    edited March 2012 Vote Up0Vote Down
    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?
    "When you make a thing, a thing that is new, it is so complicated making it that it is bound to be ugly. But those that make it after you, they don’t have to worry about making it. And they can make it pretty, and so everybody can like it when others make it after you."

    - Pablo Picasso
  • PublisonPublison Posts: 9,871
    edited March 2012 Vote Up0Vote Down
    Nice going team! No plywood OR relays! :)

    Jim
    Infernal Machine
  • Duane DegnDuane Degn Posts: 10,002
    edited March 2012 Vote Up0Vote Down
    GatorBot do Rule!

    That was great. I felt like clapping too.
  • Jessica UelmenJessica Uelmen Posts: 490
    edited March 2012 Vote Up0Vote Down
    RAD! They really knocked it out of the park - way to go GatorBots!
    Allons-y!
    --
    @jessicauelmen
  • WhitWhit Posts: 3,736
    edited March 2012 Vote Up0Vote Down
    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:
    Whit+

    "We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths." - Walt Disney
  • WhitWhit Posts: 3,736
    edited March 2012 Vote Up0Vote Down
    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!
    Whit+

    "We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths." - Walt Disney
  • ercoerco Posts: 18,655
    edited March 2012 Vote Up0Vote Down
    Shoot. If they liked this, just wait until I announce the details of my daring new "Figure 1" challenge. :)
    "When you make a thing, a thing that is new, it is so complicated making it that it is bound to be ugly. But those that make it after you, they don’t have to worry about making it. And they can make it pretty, and so everybody can like it when others make it after you."

    - Pablo Picasso
  • WhitWhit Posts: 3,736
    edited March 2012 Vote Up0Vote Down
    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?
    Whit+

    "We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths." - Walt Disney
  • Tony B.Tony B. Posts: 356
    edited March 2012 Vote Up0Vote Down
    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: 3,736
    edited March 2012 Vote Up0Vote Down
    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....
    Whit+

    "We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths." - Walt Disney
  • Duane DegnDuane Degn Posts: 10,002
    edited October 2015 Vote Up0Vote Down
    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: 18,655
    edited March 2012 Vote Up0Vote Down
    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? :)
    "When you make a thing, a thing that is new, it is so complicated making it that it is bound to be ugly. But those that make it after you, they don’t have to worry about making it. And they can make it pretty, and so everybody can like it when others make it after you."

    - Pablo Picasso
  • Martin_HMartin_H Posts: 4,024
    edited March 2012 Vote Up0Vote Down
    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,002
    edited March 2012 Vote Up0Vote Down
    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: 18,655
    edited April 2012 Vote Up0Vote Down
    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.
    "When you make a thing, a thing that is new, it is so complicated making it that it is bound to be ugly. But those that make it after you, they don’t have to worry about making it. And they can make it pretty, and so everybody can like it when others make it after you."

    - Pablo Picasso
  • Martin_HMartin_H Posts: 4,024
    edited April 2012 Vote Up0Vote Down
    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: 18,655
    edited April 2012 Vote Up0Vote Down
    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. :)
    "When you make a thing, a thing that is new, it is so complicated making it that it is bound to be ugly. But those that make it after you, they don’t have to worry about making it. And they can make it pretty, and so everybody can like it when others make it after you."

    - Pablo Picasso
  • Martin_HMartin_H Posts: 4,024
    edited April 2012 Vote Up0Vote Down
    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: 3,736
    edited April 2012 Vote Up0Vote Down
    Better late than never. Attached is the GatorBot's Code...
    Whit+

    "We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths." - Walt Disney
  • Martin_HMartin_H Posts: 4,024
    edited April 2012 Vote Up0Vote Down
    The figure eight carpet challenge!

    Enjoy.
  • ercoerco Posts: 18,655
    edited April 2012 Vote Up0Vote Down
    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!
    "When you make a thing, a thing that is new, it is so complicated making it that it is bound to be ugly. But those that make it after you, they don’t have to worry about making it. And they can make it pretty, and so everybody can like it when others make it after you."

    - Pablo Picasso
  • John BoardJohn Board Posts: 371
    edited April 2012 Vote Up0Vote Down
    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: 18,655
    edited April 2012 Vote Up0Vote Down
    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!
    "When you make a thing, a thing that is new, it is so complicated making it that it is bound to be ugly. But those that make it after you, they don’t have to worry about making it. And they can make it pretty, and so everybody can like it when others make it after you."

    - Pablo Picasso
  • Martin_HMartin_H Posts: 4,024
    edited April 2012 Vote Up0Vote Down
    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: 18,655
    edited May 2012 Vote Up0Vote Down
    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
    "When you make a thing, a thing that is new, it is so complicated making it that it is bound to be ugly. But those that make it after you, they don’t have to worry about making it. And they can make it pretty, and so everybody can like it when others make it after you."

    - Pablo Picasso
  • ercoerco Posts: 18,655
    edited October 2012 Vote Up0Vote Down
    My minimalist, no encoder, BS1 powered stepper motor robot enters the fray.
    "When you make a thing, a thing that is new, it is so complicated making it that it is bound to be ugly. But those that make it after you, they don’t have to worry about making it. And they can make it pretty, and so everybody can like it when others make it after you."

    - Pablo Picasso
Sign In or Register to comment.