Skip to content
nterman edited this page Sep 26, 2012 · 4 revisions

Write a behavior that makes the robot walk close to the ball, then stop.

For help, look at existing behaviors. Useful things to use are 'player.brain.nav.goTo(dest)' and RelRobotLocation.

You can make a set of new states in an existing player (pBrunswick, or pNone) or use this file to make a new pWalkToBall player (which may be simpler).

Good luck! [Here] (https://raw.github.com/wiki/northern-bites/nbites/WalkToBallStates.py) is one (very simple) solution. See if you can do better!

Clone this wiki locally