Shop OBEX P1 Docs P2 Docs Learn Events
PENGUIN ROBOT Motion Snapshot - the Code — Parallax Forums

PENGUIN ROBOT Motion Snapshot - the Code

HumanoidoHumanoido Posts: 5,770
edited 2007-12-02 07:58 in Robotics
Title: Penguin Motion Snapshot
Code Name: penguin_motion_snapshot.bpx
Purpose: Make a snapshot of any motion control sequence


Penguin Motion Snapshot will make still snapshots of any motion
control sequence step by input of raw servo position values.
Input the numbers and Penguin moves into position and freezes
like a freeze frame.

This code is great for determining the appearance of Penguin
robot in various poses. Finally, you will know which numbers
fit which pose. And if you want to go step by step for photos,
this will do it.

humanoido
humanoido said...
The program has plenty of error checking
so as not to exceed upper and lower limits of stride and tilt.
Error checking is in effect for all input numbers. An option is
available, for advanced users, to reduce the stride and tilt
upper lower ranges, as seen in the screen menu.

SafeCheck and SafeCheck2 subroutines handle error checking
and restrict tilt and stride to the limit presets.
The range presets are located in the declarations section.

You can repeat pose after pose, just by touching the reset
button and trying out new inputs.

This code will give your Penguin Robot an opportunity to bring
up its performance, and fine tune it, even when the servos are
a little worn.
' DIRECTORY
' ---------
' Calibration
' Overview
' Position Values
' Centering
' Upper/Lower Limits
' Modifications
' Saving/Writing
' Program Function/Operation
' Preset Limits
' Input of Tilt & Stride
' Error Checking
' Checking Servo Performance
' Program Applications
Sign In or Register to comment.