Shop OBEX P1 Docs P2 Docs Learn Events
NEW Penguin Code - Line Dance 1v6 — Parallax Forums

NEW Penguin Code - Line Dance 1v6

HumanoidoHumanoido Posts: 5,770
edited 2007-09-10 12:50 in Robotics
penguin_line_dance_1v6.bpx

This is the all new version line dance program.
The motion control driver is now a single engine.
The code is tested on 3 Penguin robots. Please
delete any old versions.

humanoido

' Title      Penguin Line Dance
' Code Name  penguin_line_dance.bpx
' Purpose    A classic line dance, walk turn beep repeat
' Author     humanoido
' Version    1.6
' Begin      04 August    2007
' Update     10 September 2007
' Hardware   Stock Penguin

' OVERVIEW
' This is the classic line dance for Penguin Robot - walk, turn,
' beep, repeat, in desktop format to keep Penguin on top of a desk.
' Penguin will walk forward with two cycles (equal to five
' individual steps) do three cycles of turn left to approximate
' a 90 degree turn (on a typical desktop surface), do a double beep,
' and repeat.

' CALIBRATION
' The servos must be calibrated with either of the following programs
' before this program will run:
' penguin_automatic_servo_calibrator.bpx
' Penguin-ServoCalibration.bpx

' EFFECTS
' For various line dances, the speed can be adjusted in the
' individual subroutines. Walking and turning can be mixed in order
' along with the beep. The left turn is kept so Penguin will
' approximate a circle on the desktop. If new motions and dance
' steps are added, remember to include the proper homing subroutine.

' PERFORMANCE
' Turning ability widely varies with types of desk surfaces.
' Experiment with a small piece of tape on one or two feet in
' various locations and try different countertop surfaces.
' Penguin will hold a small load. A dime can be attached to the
' feet for tiny amounts of changing traction.

Post Edited (humanoido) : 9/11/2007 2:57:22 AM GMT
Sign In or Register to comment.