Shop OBEX P1 Docs P2 Docs Learn Events
PENGUIN ROBOT Rollerskate Dance - the Code — Parallax Forums

PENGUIN ROBOT Rollerskate Dance - the Code

HumanoidoHumanoido Posts: 5,770
edited 2007-09-27 16:30 in Robotics
Penguin Roller Skate Dance!
Penguin Biped Robot Dances on Roller Skates
penguin_rollersk8_dance.bpx

Now, YOUR Penguin bot can dance on Roller Skates!
Here's the complete code.

This is the latest updated version (1.6) of Penguin
Rollerskate Dance and the first post.

Code now includes streamlining and ordered
comments, with some very interesting ideas for
using the code. (like roller hockey, dancing with
and without skates, skate dancing with another
program, adding a wireless remote, and various
adjustments)

Although the code is heavy in functions, there's
plenty of open memory for expansion.

This is another one that works well to demo
Penguin to your friends! Feel free to tweak the
the skate dance moves in dance order, and
remember to keep transitions for the smoothest
possible skating.

Good luck skaters!!!

humanoido

' DIRECTORY
' ---------
' PENGUIN ROLLER-SKATING DANCE
' CALIBRATION
' SINGLE (MCE) MOTION CONTROL ENGINE
' CONSERVATIVE VERSION
' PROGRAMMING OP
' CLARIFYING TRANSITIONS
' MAKING YOUR OWN ROLLER SKATES FOR PENGUIN
' THE MOVIE
' PARTS LIST
' TOOLS REQUIRED
' ROLLER-SKATE ADJUSTMENT
' ROLLER-SKATE DANCE MOVEMENTS & FUNCTIONS
' COMBINATION MOVEMENTS
' RANDOMNESS AND UNPREDICTABILITY
' LOW BATTERY CONDITION
' ADDING TO THE CODE
' MEMORY & PROG EXPANSION
' ROLLER HOCKEY
' ROLLER SKATING WIRELESS REMOTE
' ROLLER SKATING WITHOUT SKATES
' REFERENCES


Making Your Own Rollerskates for Penguin
Tiny skates can be homemade. The boots are small tablet boxes and
the wheels are made up with a doubled layer of round furniture
skid protectors. The two sticky sides go together making the
wheel even and double wide. The center holes in the wheels are drilled
with a hobby drill. A small washer is concentrically placed on the
wheel and the center is pencil marked for drilling. There will be
some waste in getting concentric drilled wheels so stock up on some
extras. The details are shown in this video:

http://www.youtube.com/watch?v=G_H3teQdxxw

Use screws to attach the wheels and washers between the wheels,
screws, and skate boot. Attach the skate boot to a Penguin foot
using a screw and washers, or use a wire cable holder. The holder
will have a protruding lip that snugs against Penguins' foot nicely.
The skate will have friction bearings, so it will stay on
the desktop and not roll off by itself. However, the wheels must
still move smoothly.

Not to be redundant, but if you're going to enter Penguin biped into
the Robot X-Games for extreme rollerskating, remember he needs
to wear protection.

Post Edited (humanoido) : 9/26/2007 8:46:34 AM GMT

Comments

  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2007-09-26 19:14
    Rollerskating robots, that is something!

    So have you figured out how to make a Penguin do a Moon Walk, like Michael Jackson?
    I know how - I've done it on the Toddler, but it will take a lot for me to tell the secret.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "Everything in the world is purchased by labour; and our passions are the only causes of labor." -- David·Hume (1711-76)········
    ···················· Tropically,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
  • HumanoidoHumanoido Posts: 5,770
    edited 2007-09-27 07:57
    Kramer,

    Yes. I have an algorithm to make Penguin robot
    do the Moonwalk like Michael Jackson. Want to
    trade secrets? smilewinkgrin.gif

    humanoido
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2007-09-27 16:30
    An Algorithym! That's impressive.
    I just switch the wires on the two servos -- no new code involved and certainly no algorithym.

    The Toddler text had a typo in the software code - the two servo I/O pins were switched. So my first attempt at walking a straight line resulted in Moon Walk. It took a while to see the problem.

    The obvious and valid fix is to just change the wires.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "Everything in the world is purchased by labour; and our passions are the only causes of labor." -- David·Hume (1711-76)········
    ···················· Tropically,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
Sign In or Register to comment.