Professional Documents
Culture Documents
htm
(starting screen)
Requirements
1 of 5 4/1/2018, 1:36 AM
[AiboHack - Boneyard] SapBench - PDA workbench for RoboSapien co... http://www.aibohack.com/robosap/sapbench.htm
You should already be familiar with how the robot works and have tried at least a little bit of simple
programming (ie. work through the manual).
Hardware Requirements
a RoboSapien robot
a consumer IR capable Palm PDA
Software Requirements
If you don't know if your Palm PDA is consumer IR friendly, try installing SapBench and see if it works. The
current version relies on the OrLib library (part of OmniRemote). If OmniRemote works on your PDA,
SapBench should work. If OmniRemote gives you an error during startup (eg: with the UX or TH CLIEs),
SapBench will not work. If OmniRemote appears to work, but fails to record new macros, SapBench may
work.
NOTE: future versions may support the CLIE IR API (like PerfectRemote) and perhaps even a PocketPC
version depending on interest (consumer IR on PocketPC is a pain as well). If you are a developer who has
written PDA software before and want to help out, please send me an email.
Installation
Download this ZIP file SapBench_101.zip
Unzip and install the two files to your PDA:
SapBench.prc - is the actual program
OrLib.prc - is OmniRemote library (15 day trial version, version 1.59) -- same as on the official
website.
NOTE: for older black-and-white Palms, please use the NoIcons version: SapBench_noicons.prc
Run the "SapBench" program on your Palm. The first time it runs it will report "WARNING: no script
database - filling with samples". That's ok.
See below for the different things you can do.
A company called Pacific Neo-Tek makes a general purpose Palm PDA remote. In addition they have a
programmer API for people to write their own programs. That's what SapBench uses and it saves me a lot of
time (OmniRemote Library V1.59 part of OmniRemote Professional V2.13).
After the 15 day trial period, SapBench and OmniRemote will stop functioning. SapBench doesn't have a nag
screen to remind you before the 15 days are up, however it will tell you after time is up (ie. after 15 days). If
you are still using this after 15 days, I suggest you register ($25, BTW: I see none of this money). Install the
full OmniRemote (Remote.prc) from their website and enter your registration code. After registering
OmniRemote you can go back to SapBench and it will work again.
2 of 5 4/1/2018, 1:36 AM
[AiboHack - Boneyard] SapBench - PDA workbench for RoboSapien co... http://www.aibohack.com/robosap/sapbench.htm
M - Move commands
L - Left arm/hand commands
R - Right arm/hand commands
K - Skits
O - Other
P - Programming
+ - for Macro mode (do not use - see part 3)
This will fill the right side list with a number of commands. Aim the IR transmitter of your PDA at the head
of the robot and click on one of the commands in the list (eg: "forward step") and it will control the robot.
HAVING PROBLEMS?: if the robot does not respond, check to make sure the regular remote is working. If
SapBench fails to make the robot do anything, your PDA may not be supported. Some PDAs have very weak
IR transmitters, so place the PDA close to the robot's head, and be sure the IR transmitter of the PDA is
facing right at him. (the location of the IR transmitter varies with every PDA, check your manual for how you
are supposed to align two PDAs for 'beaming')
TIP: To access the currently identified (and useful) secret IR codes, select "Secrets" from the "Filter" menu.
TIP: The "Stop" button on the bottom always there for your convenience (it does the same as the Move
command "stop")
3 of 5 4/1/2018, 1:36 AM
[AiboHack - Boneyard] SapBench - PDA workbench for RoboSapien co... http://www.aibohack.com/robosap/sapbench.htm
press the "Downld" button. The robot should make a few noises and perhaps jitter a little. When complete,
the program selected should now be downloaded into the robot's tiny brain.
Test him out as you would normally (eg: to test the sensor programs hit his toes).
To run the main program, press the "Run" button after "Downld". This will start the main program using
"quiet execute with subroutines" (see here for more info)
Test1, .., Test9 - these are placeholders to store your own scripts [NOTE: use these names for now --
adding, deleting or renaming these is not yet supported]
No-Op - fill the 3 sensor handlers with do-nothing routines (different than the default routines that
make noises and stop the robot from walking)
SimpTurn - the simple "turn when you hit a wall" logic often called an "autonomous" walking routine
VeryLong - an insane example of an 84 step program, running the AllDemo mode 84 times. This
should take approximately 3 hours to execute (the same 2+ minute demo repeated 84 times).
AllSkit1, AllSkit2 - simple demo programs that go through the simple skits (but not the longer demo
modes)
? other
4 of 5 4/1/2018, 1:36 AM
[AiboHack - Boneyard] SapBench - PDA workbench for RoboSapien co... http://www.aibohack.com/robosap/sapbench.htm
Before After
Deleting parts of a script is easy. Select any single command you like and press the "-" button to delete.
To delete the entire handler, select the section you want to delete (eg: "[RSENSOR]", "[LSENSOR]",
"[SSENSOR]", "[MAIN]") and press the "-" button. This makes it easy to start over.
All changes are immediately saved to the PDA as they are made. When you are done with your changes,
press the "Downld" button and try it out on the actual robot.
NOTE: if you come up with some useful scripts that you'd like to contribute for future releases, please send
me an email.
5 of 5 4/1/2018, 1:36 AM