Post permalink

These three diagrams demonstrate a functioning Sumo player written entirely in Miscrosoft Visual Programming Language.

VplSumoOne
The first diagram demonstrates a simple player that just uses the bump sensors and cliff sensors on the simulated iRobot Create to detect the opponent (using the bump sensors) and the edge of the ring (using the cliff sensors)

VplSumoTwoThe second diagram demonstrates a more complete player that uses the camera on the robot to try and find the opponent (rather than wandering around the arena until bumping into something). Because of a known issue in the way that the services start,
this diagram will not run directly from VPL, but needs to be compiled as a service (Menu Item
Build -> Compile As Service) and then that compiled service needs to be run (Menu Item
Run -> Run Compiled Services)

VplSumoThreeThis diagram removes all sumo playing logic from the diagram and allows you to drive the robot from a game controller or and on screen joystick widget.