Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Hockey Playing Humanoid

  1. Hockey Playing Humanoid

    Hello TRC World!

    My project is a hockey playing humanoid.


    It uses a MANOI AT01 kit, controlled by an Arduino (with an ATmega328) with a Wave Shield, and a SSC-32.

    Humanoids have always been associated with walking or running. This project focuses on a different action for humanoids, skating. The end result of this project yields an interesting vision of the possibilities of skating robots.


    Introduction

    The idea came around when I was trying to make my humanoid (MANOT AT01) walk. Instead of taking a "big bite", I decided to take a smaller bite and make it slide its feet. However, I quickly realized that when it slides its feet, it looks exactly like a newbie Canadian hockey player!

    A Canadian newbie hockey player begins to skate by almost walking. Although the skater doesn't go far, he does move forward due to the friction between the blade of the skate and the ice.

    When I did notice this, I quickly grabbed some lego to create MANOI's own version of skates, which are similar to rollerskates. I mounted the lego onto the feet using velcro.

    The hockey stick I just found laying around. I had to cut a bit of it off, as it was too tall. I use tape and tie wraps to keep it mounted to MANOI.




    Development

    Development on this project was mainly trial and error. To get all of the motions correct so they all balance together was critical.

    Instead of using the controller board that is usually used to control the MANOI, I did a major transplant and substituted it for the Arduino and SSC-32. This allows me to have much more flexibility in terms of sensing and creating motions. The H2H software was too problematic.


    Usually what would happen is I would draw out a motion, on paper, that I would want to create, and I would put it into MANOI. Sometimes I got it first try, other times I didn't. However, the cool part is that a lot of the motions stemmed from the ideas of other motions.

    For instance, in the video of MANOI Skating with music (seen below), the motion where MANOI is running is actually a faster version of the sway motion! That was really surprising.

    The development for the Wii nunchuck part of the code was quite easy as I had already established all of the variables and settings of when the nunchuck is tilted left or right, forwards or backwards. Instead of using real numbers for it though, I just defined a "home position" of the nunchuck, and subtracted or added numbers to the accelerometer axis, x y and z.

    The music part of the wave shield was quite fun and straight forward. I looked around for the songs, and put them on a SD card which plugs into the wave shield. From there, it was just a simple method call inside of the Arduino.

    Once the above developments were done, I wanted to create a version of MANOI that could sense if a ball/puck/object was there. I did this by using LDRs and LEDs.

    Rest assured, I would have used IR Sensors if I had any This was the best alternative I had, though!




    On the left side of the sticks the LEDs are in a yellow casing, and on the right side they are in a clear casing. There is some effect on the reading, however their values change precisely the same when an object is in front of the stick.

    The black construction paper enclosure around the LDRs was required to direct the reading. Otherwise, the light from the LEDs saturated the reading and no difference was seen when an object was present or not.

    I observed the change between the readings of when there was an object present, and when there was not an object present.

    From this, I created a simple neuron, where if the input values succeed a predefined threshold, it will perform an action. In this case, the action would be to shoot the object.

    I had to tweak the threshold a little to make it work with smaller objects, such as a roll of electrical tape.


    In the video below, you will observe that it does work with a roll of electrical tape, a ball, and a spool of lead solder (the LEAD solder isn't mine, it's my DAD's because he can't use non-lead solder like the rest of us -_-. The spool is white, which proves that the theory does work, meaning that the light that is reflected from the LEDs back into the same LDR board does not obscure the readings.



    Results

    Here are the videos that you can look at!

    This is the first video, where I was just getting the motions down.

    [ame="http://www.youtube.com/watch?v=vbCk1KTlfY4"]YouTube - Hockey MANOI -WIP Robot-[/ame]

    The program is basically a sequence of movements:

    - Forward 6 times
    - Shoot 3 times
    - Backward 6 times
    - Shoot 3 times

    As you can see, the forward and backward movements both result in MANOI moving backwards. As I later found out, through trial and error, it was due to the Arduino and power cords limiting the movement of MANOI! Once they were mounted properly, it worked much better.


    This is the second video, where MANOI is controlled by the Wii nunchuck!

    [ame="http://www.youtube.com/watch?v=KcuIzUb3yHc"]YouTube - MANOI Wii Hockey[/ame]





    You press Z to shoot, and you hold C and tilt to move it. MANOI can move forwards, backwards, left, right, and home.


    This is there third video, where MANOI is playing a little game of hockey by himself while listening to some music. The song that you first hear is the Hockey Night in Canada theme song!

    [ame="http://www.youtube.com/watch?v=Ig0U-yBOEI0"]YouTube - MANOI Skate + Music[/ame]


    This is the last video, where MANOI can autonomously decide if he should shoot or not.

    [ame="http://www.youtube.com/watch?v=flHW8Zqwqm4"]YouTube - MANOI Hockey Robot AI[/ame]

    (The quality in that video is quite yucky, please check out the video on vimeo if you'd like to see it in better quality)





    Conclusion

    In conclusion, this project was SO much fun! The only time I didn't enjoy it was when I was trying to hold MANOI, who was whacking me with its stick, with one hand and trying to type in some code with my other hand.

    My favourite part was watching people play with the Wii version of the code. They really enjoyed it!

    I also liked making the AI part too, that was pretty fun.



    Next Steps

    The next steps would include coding a modified version of the Bayes filter algorithm to predict if an object is in front of the stick or not.

    More sensors would be fun, like three proximity sensors mounted on the front, left and right. This way MANOI could avoid opponents trying to take the ball off of it.

    I would also add two more servos in the leg that would allow rotation. This would then allow me to create a more realistic skating humanoid, where there would actually be a stride.

    Perhaps I could also add a camera to the head so that it could track where the ball/puck/object is.



    That's my project, I hope you like it! ^_^
    You can see more of everything I mentioned at robotgrrl.com

  2. #2
    Join Date
    Jan 2008
    Location
    Montreal, Canada
    Posts
    477
    Images
    63
    Rep Power
    56

    Re: Hockey Playing Humanoid

    Wow! It's a really nice project!

    Very nice videos and ahhh... the zip ties!

    I liked how you did the sensor to "see" the "puck". It's really cool.

    Keep us updated on all the modifications you bring to this little guy!

    Sam

  3. #3
    Join Date
    Sep 2006
    Location
    Carol Stream, Illinois
    Posts
    1,695
    Images
    118
    Rep Power
    108

    Re: Hockey Playing Humanoid

    really neat project robotgrrl! Thanks for the entry

    Keep us updated with the progress!

    �In the long history of humankind (and animal kind, too) those who learned to collaborate and improvise most effectively have prevailed�
    - Charles Darwin

  4. #4
    Join Date
    Apr 2008
    Location
    Nelson, New Zealand
    Posts
    1,356
    Images
    58
    Rep Power
    73

    Re: Hockey Playing Humanoid

    Oh so cool, so cool, Nice work robotgrrl, something a bit different.
    People yearn after this robotic dream, but you can't strip your life of all meaning, emotion and feeling and expect to function.


  5. #5
    Join Date
    Apr 2008
    Location
    Sacramento, CA, USA Area
    Posts
    5,341
    Rep Power
    176

    Re: Hockey Playing Humanoid

    Only a Canadian Girl could come up with the skating hockey playing autonomous humanoid. Bwahahaha! That's AWESOME!
    I Void Warranties�

  6. #6
    Join Date
    Nov 2008
    Location
    Gainesville, Florida
    Posts
    64
    Rep Power
    42

    Re: Hockey Playing Humanoid

    I love IT Robotgrrl! Is this the beginning of the Hockey Robot League? Will robots confront humans and defeat them by 2050? that would be scary, reminds me of the movie Rollerball.
    I think if you add a simple ratchet mechanism to the wheels it would improve it's skating ability quite a bit. It helps that your wheels are already notched, so a simple gravity assisted "tongue" set at an angle over the wheel would prevent it from going backwards. Just a thought

    Very cool and fresh project, congrats!
    Last edited by sunithaya; 12-30-2008 at 02:36 PM.
    You never change things by fighting the existing reality. To change
    something, build a new model that makes the existing model obsolete.

    --R. Buckminster Fuller

  7. #7
    Join Date
    Apr 2008
    Location
    Sacramento, CA, USA Area
    Posts
    5,341
    Rep Power
    176

    Re: Hockey Playing Humanoid

    I wonder if there's enough DOF to teach it to actually skate? Pushing off at the angle, balancing until the skate rolls out, then alternating?
    I Void Warranties�

  8. #8
    Join Date
    Dec 2007
    Location
    Portland, OR
    Posts
    3,198
    Images
    952
    Rep Power
    141

    Re: Hockey Playing Humanoid

    Quote Originally Posted by Adrenalynn View Post
    I wonder if there's enough DOF to teach it to actually skate? Pushing off at the angle, balancing until the skate rolls out, then alternating?
    Would be immensely easier with hip rotation, which I don't believe the Manoi has. Still possible with the current leg design, just a lot more difficult and wouldn't be as smooth nor articulated.

    Great project Robotgrrrl!

  9. #9
    Join Date
    Apr 2008
    Location
    Sacramento, CA, USA Area
    Posts
    5,341
    Rep Power
    176

    Re: Hockey Playing Humanoid

    I wonder. I just put on my rollerblades a little bit ago and played with my skating a bit. I've never really tried to analyze the different techniques. A very smooth and regular "gait" is to lock your hips inline (no rotation), and push sideways and somewhat back with the raised skate. You can even do it with the knee locked, although it looks smoother with the knee relaxed and the tip pointed down at the back of the stroke.

    This is for inline and iceskating. Roller skating is a little different - I'm a really good inline and ice skater, but I suck rocks at roller skating...
    Last edited by Adrenalynn; 12-30-2008 at 04:39 PM. Reason: [edit] Whew. I was channelling a former poster there for a moment. Grammar and spelling fixed.
    I Void Warranties�

  10. #10
    Join Date
    May 2008
    Location
    WNC
    Posts
    413
    Images
    68
    Rep Power
    56

    Re: Hockey Playing Humanoid

    Wow, this project is cool on so many levels. You have just about everything covered ... humanoid, wheels, cool LEDs, tape, wire ties. If you can find a spot for a laser I would say it has it all.
    Great idea, and you have pulled it off well. Please keep us updated!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Best First Humanoid?
    By heavy metal in forum Robotics General Discussion
    Replies: 10
    Last Post: 11-04-2008, 12:05 PM
  2. Help for beginner- Humanoid
    By mclayj in forum Robotics General Discussion
    Replies: 7
    Last Post: 09-22-2008, 09:21 AM
  3. humanoid beginner
    By Raul in forum Humanoids, Walkers & Crawlers
    Replies: 15
    Last Post: 06-17-2008, 06:52 PM
  4. humanoid pico-itx robot
    By asbrandsson in forum Project Showcase
    Replies: 35
    Last Post: 02-01-2008, 06:26 AM
  5. Humanoid or Johnny 5 for research
    By musashi in forum Robotics General Discussion
    Replies: 14
    Last Post: 01-12-2008, 08:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •