Humanoids 16-264
Robosapien
Mark Schumacher & Tristan Trtuna
Our Robosapian project has our Robosapien playing golie on a robot soccer field. Our Robosapien has three primitives to block an oncomming shot. It decides which permative to use based on wheather the ball is comming down the middle, from the left, or from the right. A USB camera is used to determine the location of the ball, as well as the timeing of when to start the permatives.
Since we were unable to get OpenCV working, we let the Robosapien know what permative to use, and when to begin the excutation of the permative.
A image of our setup.
The simpliest permative is when the ball is comming right down the center. In order to block the ball, the Robosapien simply walks forward.
Middle Block Video
The code for this without using video feedback is quite simple since its the easiest permative.
Note use in our code location 1 is the left, location 2 is the middle, and location 3 is the right. All locations are from the point of view of the picture shown above, (as if you are shooting the ball). We used this orientation since it is the same one used in the Robosapien code.
Middle Block Code
if(location==2) // center
{
myRobosapien.sendCode(Robosapien.Walk_Forward);
Thread.sleep(300); // wait 3 seconds
myRobosapien.sendCode(Robosapien.Stop_Code);
}
The location int is initially initialized to 0, this code assumes that the OpenCV will change the location accordingly and tell the program when to begin the permative.
When the ball is coming from the left the Robosapien leans left to block the ball, then uses the pick up command to knock it out of the way, then procedes to walk forward in case the ball is still infront.
When blocking to the right the permative is the same, except it's to the left instead of the right. On the left block video the Robosapien never walks forward because the bluetooth failed to send the command. Since the Robosapien blocked the ball, we didn't feel the need to run the test again.
Left Block Video
Right Block Video
Left Block Code
if(location==1) //left
{
for(int i=0; i<300; i++)
{
myRobosapien.sendCode(Robosapien.Tilt_Body_Left);
Thread.sleep(1);
}
myRobosapien.sendCode(Robosapien.Left_Hand_Pickup);
Thread.sleep(100); //wait one second
myRobosapien.sendCode(Robosapien.Walk_Forward);
Thread.sleep(100); //wait one second
myRobosapien.sendCode(Robosapien.Stop_Code);
}
Right Block Code
if(location==3) //right
{
for(int i=0; i<300; i++)
{
myRobosapien.sendCode(Robosapien.Tilt_Body_Right);
Thread.sleep(1);
}
myRobosapien.sendCode(Robosapien.Right_Hand_Pickup);
Thread.sleep(100); //wait one second
myRobosapien.sendCode(Robosapien.Walk_Forward);
Thread.sleep(100); //wait one second
myRobosapien.sendCode(Robosapien.Stop_Code);
}
(C) Mark Schumacher
B.S. Mechanical Engineering Class 2008
Carnnegie Mellon University
Email: mschumac_at_andrew.cmu.edu
free mousetrap car distance plans
2009 muppets calendar
relocate application vista
1994 peace nobel prize winner
chichi wo mog mp3
7 string warlock
1122 program
duchess with a mission
capital nubian dairy goats
b30m kos
auto ins for seniors
article insider legitimate home business opportunity
2006 update on osteomyelitis
bern helmet upgrades
halfway house sacramento ca
bartender certificate in florida
2006 north american environmental field conference
rsal.cz
foro yuri
texasmls.com
hotel zona fiera di rimini
georgetown university hospital medical icu
closed brethren
buy ocarina zelda videogame
cartoon elf
kid tooth brushing charts
hobby lobby needlepoint
french bread sauces
casting crowns lyrics listen
five cheese ravioli pasta salad recipe
1940 s house style
buying morton quick salt
malamute golden retriever mix puppy
12 inch round cake pan
brazilian sisters denise paula
benefit of listening to music
clip pliers
mythbusters 2007
aacc afghan american chamber of commerce
a sweet expression
discourse kreg examination
fractal lesson plans
backdrops for prairie home companion
cassie burton smithville
superpiece.com
downloader freeware
acts of the apostles 19 14
leia trance
bc societies act
ice cream kiosk
graphing tangent
12 step groups
burroughs wellcome and cie
nfmc-music.org
penske 8100 for sale
invitation wine and truffles
cingular sim card locked motorola
easynudebabes.com
advanced paving
lawrence small smithsonian
blowjobs 4 cash
anaemia impact hospital discharge
educacion en la sociedad capitalista
hotweblayouts.com
cast of evrybody loves raymond
parish priest rev vo
gilbertchevy.com
arizona ministers
doctor adventures sunny lane
1-17 plans in phoenix az
custom blended teas
beach reunions florida
1912 saddle
all in wonder radon drivers
brinkmann pro series 4400 igniter parts
blue hindu god four arms
grand marais minn
11 lbs bowling ball
buchanan motto
mongolian battle tactics
ringtonespree.com
elm fujitsu software
boehm stirling tecnik
bedding for monitor lizard
balls to the walls
bad human parasites
columnar shrubs
akai mpc 60
buyer used dandy roll india
agoura sash and door
is wee man dead
1990 honda civic catalytic converter
arguments for kyoto protocal
canyon robes
tranquility bay beach house
carriefisher.com
24-35 hrs salary requirement
free mps messianic jewish music
converting utube videos
2000 lakers
erections maintaining
les deux alpes weather
fruityloops gym sega
defiance bread
cherish doe
acres homes realty saginaw michigan
darth mual light sabr
compliant healthcare technologies
goldengirlnanny.com
dart manipulation taught in new york
anatomy of te lip
1964 saskatchewn head coach
comcast guide csi new york
abdomen tattoos
1996 infiniti qx4 power antenna
bake apple jam
maris brood art
effects of the ku klux klan
10th edition spoiler
craiglist empi
suprastore.com
david stevenson kkk
pwncade.com
buy caviar melbourne
2003 porcelan dolls angelina visconti
outrageous course critiques
evergreen animal hosp
weis associates inc
clevernet.net
pakistani air lines
beans in your ears
boat rentals in wildwood new jersey
1154 boston providence highway norwood ma
3.3 crank sensor
alhambra hirdaramani
big lebowski bobble heads
elijah anointed the king over syria
golfbusinesswire.com
bk breakfast
wingate 6.2.2 free download
brad and taylor and honduras
1997 pontiac sunfire 2.2l freeze plugs
toolmancentral.com
analyical chemist looking for work
bangor monastery ni
malaysia golfers
federalist papers amazon
carp bait preservatives
botox cosmetic el segundo
2002 4500 ford dually
adjustment disorder in childhood cancer patients
1977 toyota celica for sale
hayle air cadets
british robots pictures
conferences on transitional work
gerald horner
horse obstruction of urethra
inflamation in sac surrounding heart
canada cannondale