Setup Eclipse to run WSU Khepera Simulator controllers HOWTO

Open Eclipse workspace and create a new Java project

Download WSU Khepera Simulator

The simulator can be found at http://carl.cs.wright.edu/page11/page11.html

Extract the archive to a temporar directory, then copy the contents of WSU_KSuite_1.1.2 directory to your project's main directory so that you overwrite the src directory.

Change project build path

Change default project build path bin to the controllers directory.

Copy and rename Themplate.java to the default package of your project

Themplate.java can be found in the sources directory.

Give it a name.

Use autocomplete to find out the possible methods

 Run KSMain.java

Locate KSMain.java in the edu.wsu.KhepraSimulator package

When the main window appeared press run button.

Select your controller.

You will see your robot working. :)

Alternative method

Import the ksim.jar as library, run ksim.jar from outside IDE and load compiled controllers.

Powered by PepisCMS